MySQL Forums
Forum List  »  Performance

Re: Write Operations very slow in InnoDB engine when compared to MyIsam
Posted by: Rick James
Date: November 28, 2014 06:59PM

> During insertion of 10000 rows

Insert 100 rows at a time: "batch insert":
INSERT ... VALUES (1,2,3), (3,4,5), ...;

That should speed up InnoDB by 10x.

SHOW VARIABLES LIKE 'InnoDB%';
Note especially the on with 'txn' in it.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Write Operations very slow in InnoDB engine when compared to MyIsam
702
November 28, 2014 06:59PM


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.