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
8608
March 04, 2013 12:59AM
3218
March 04, 2013 09:28PM
2871
March 05, 2013 12:02PM
2834
March 06, 2013 09:17AM
2896
March 07, 2013 03:21AM
2793
March 07, 2013 11:25PM
2756
March 09, 2013 09:28AM
2931
March 10, 2013 12:04PM
2782
March 11, 2013 10:39PM
Re: No Limits - Memory Engine
2662
March 20, 2013 07:19PM
2685
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.