Re: Innodb configuration optimal for my workload?
>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
Subject
Views
Written By
Posted
3282
October 03, 2011 09:14AM
997
October 04, 2011 08:19AM
1108
October 04, 2011 08:22AM
1098
October 04, 2011 12:10PM
908
October 07, 2011 04:38AM
Re: Innodb configuration optimal for my workload?
1039
October 11, 2011 08:11AM
1003
October 14, 2011 12:45PM
2056
October 14, 2011 12:39PM
1311
October 14, 2011 12:38PM
1486
October 15, 2011 11:42AM
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.