Re: No Limits - Memory Engine
Posted by:
Rick James
Date: March 20, 2013 07:19PM
> 18.3K inserts per min
Oops, I misread that as per second. That's only 300/second -- ok but not great.
Ways to speed up INSERTs:
* Batch (multiple rows on one INSERT)
* LOAD DATA
* RAID striping
* innodb_flush_log_at_trx_commit = 2 (versus = 1)
* Insert in PRIMARY KEY order
* Minimize secondary keys, especially 'random' ones
Any of those suggestions has a chance of speeding up INSERTs by 10-fold. The details vary.
Subject
Views
Written By
Posted
7575
March 04, 2013 12:59AM
2972
March 04, 2013 09:28PM
2619
March 05, 2013 12:02PM
2561
March 06, 2013 09:17AM
2665
March 07, 2013 03:21AM
2544
March 07, 2013 11:25PM
2515
March 09, 2013 09:28AM
2698
March 10, 2013 12:04PM
2524
March 11, 2013 10:39PM
Re: No Limits - Memory Engine
2426
March 20, 2013 07:19PM
2488
March 18, 2013 07:38AM
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.