MySQL Forums
Forum List  »  InnoDB

Re: create table as select block my insert
Posted by: Rick James
Date: October 07, 2014 04:08PM

> my replication used for data analysis...

OK, got it.

> ...lock...(on the slave)

It seems like MVCC would have a way to avoid the lock, at least for some isolation level.

(Sorry, I don't see a workaround.)

OK, there is an ugly way -- copy X into the CREATEd table a thousand rows at a time. You could probably make a Stored Procedure to hide the ugliness from the analysts.

Options: ReplyQuote


Subject
Views
Written By
Posted
2468
October 05, 2014 03:25PM
Re: create table as select block my insert
1242
October 07, 2014 04:08PM


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.