MySQL Forums
Forum List  »  Memory Storage Engine

Re: Mysql Memory table getting many locks
Posted by: Rick James
Date: January 21, 2012 07:48PM

> My question: Should I worry about this Lock Wait Ratio?
I never heard of that ratio.

> And is there something I can change in my configuration to improve things so that the lock wait ratio isn't so high using MEMORY tables?

InnoDB can handle thousands of INSERTs per second -- under selected circumstances.

Tune memory:
http://mysql.rjweb.org/doc.php/memory
Set:
innodb_flush_log_at_trx_commit = 2

How big is the table? (SHOW TABLE STATUS)
What indexes do you have? (SHOW CREATE TABLE)

Options: ReplyQuote


Subject
Views
Written By
Posted
9540
January 17, 2012 10:56AM
Re: Mysql Memory table getting many locks
3588
January 21, 2012 07:48PM


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.