MySQL Forums
Forum List  »  InnoDB

Re: What is the actual difference between innodb_autoinc_lock_mode 0,1,2
Posted by: Rick James
Date: February 11, 2013 11:04PM

> Using Option '2' -> It locks the entire table for each threads and loads the threads randomly picking each loads parellelly . To complete all 7 it took ~ 65Secs [Standard for all]. ofcourse it mixes and jumps the sequence of AIs for the next load data.

With SBR, I'm worried that the ids given to each row could be different when the LOADs are performed on the Slave.

Also, How long did the Slave take to do the LOADs? I suspect it was closer to 140 sec than to 65.

Some settings to consider tuning:
innodb_buffer_pool_size
innodb_log_file_size
binlog_cache_size
Use XtraDB instead of InnoDB -- performance is more consistent. (No, you did not mention this issue.)

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: What is the actual difference between innodb_autoinc_lock_mode 0,1,2
982
February 11, 2013 11:04PM


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.