MySQL Forums
Forum List  »  Optimizer & Parser

Re: Insert multiple values within a transaction with LAST_INSERT_ID
Posted by: Rick James
Date: April 18, 2011 07:34PM

http://en.wikipedia.org/wiki/BBCode
code works.

BEGIN;
INSERT...
INSERT...
...
COMMIT;
might run faster -- that would do only one fsync for the "transaction".

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Insert multiple values within a transaction with LAST_INSERT_ID
1731
April 18, 2011 07:34PM


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.