MySQL Forums
Forum List  »  General

Finding loop in indexes
Posted by: Seema Bhatia
Date: December 11, 2012 05:45PM

A simple query
Update Table1 set col1 = 12 where col2='13' which is taking long long time like 4 or more minutes even though table has less than 100 rows.
Memory consumption - 99%
CPU - 20%
However, table has so many joins with other tables, indexes, foreign keys, etc. All tables are so interrelated like x is connected to y and then y connected to z and then z comes back to x.

So how could I check that it is forming a loop while doing update or some lock problems.

Options: ReplyQuote

Written By
Finding loop in indexes
December 11, 2012 05:45PM
December 12, 2012 09:47PM
December 12, 2012 11:21PM
January 02, 2013 01:15PM

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.