MySQL Forums
Forum List  »  InnoDB

Re: Innodb configuration optimal for my workload?
Posted by: Fernando Perez
Date: October 11, 2011 08:11AM

>you could be getting deadlocks if there's a lot of recs for the "tracomex" account id - or if the table is relatively small and the secondary index isn't used. We noticed that innodb appears to write-lock all the recs in the table if a table scan is used to process an update's where clause, which it may be if the table is small, and this can cause occasional deadlocks.

Greg, the table its small 900 Rows aprox. I added a secondary index to the table but that's not the problem. The problem was defdective hardware, i change the box for a bigger one.

Wnidows 2003 Server Enterprise x63
Dual Xeon E5606 2.13Ghz
12GB RAM
Primary HD 150GB Velociraptor 10K
Secondary HD SATA2 1TB

The other box had something because the server was very very slow, my guess is that when i try to update a record of the table the thread takes too much time, now im not having deadlocks and everything seems good.

Thanks to your advice i found querys not using indexes as well.

Thank you very much to both of you

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Innodb configuration optimal for my workload?
1039
October 11, 2011 08:11AM


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.