Re: Large insert.
Posted by: Rick James
Date: August 07, 2011 11:39PM

Plan A:
innodb_flush_log_at_trx_commit = 2

Plan B:
BEGIN;
do all the INSERTs
COMMIT;

Plan C:
create a file with all the data, then use LOAD DATA.

This belongs in the InnoDB forum or the Performance forum, it has nothing to do with C++.

Options: ReplyQuote


Subject
Views
Written By
Posted
917
May 17, 2011 05:51PM
Re: Large insert.
633
August 07, 2011 11:39PM


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.