MySQL Forums
Forum List  »  Optimizer & Parser

Re: Table reordering of multi-table DELETE
Posted by: Rick James
Date: May 27, 2009 09:52AM

That does not change my comment. Let me rephrase it... You will be removing the aaa records in random order. With each removal, it will remove the parent, thereby leaving children orphaned.

Hmmmm... Maybe the Cascading Delete is backwards? Please provide
* SHOW CREATE TABLE tbl\G
* SHOW TABLE STATUS LIKE 'tbl'\G
* EXPLAIN SELECT ...\G
and surround them with [ code ] and [ / code ]

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Table reordering of multi-table DELETE
2291
May 27, 2009 09:52AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.