MySQL Forums
Forum List  »  InnoDB

Re: mysql online ddl still lock
Posted by: hua kai
Date: September 01, 2016 11:40PM

ALTER TABLE `aa_usersns` FORCE, ALGORITHM=INPLACE, LOCK=NONE
I use this command to test

Report error:
ALTER TABLE `aa_usersns` FORCE, ALGORITHM=INPLACE, LOCK=NONE error codeļ¼š 1846
ALGORITHM=INPLACE is not supported. Reason: Cannot change column type INPLACE. Try ALGORITHM=COPY.

As I mentioned before, I guess it's because of table's size and index size. this table has 2716809 records.

Options: ReplyQuote


Subject
Views
Written By
Posted
2414
February 19, 2016 02:35AM
1523
February 19, 2016 03:09AM
1428
February 19, 2016 06:53AM
1428
February 20, 2016 01:38AM
1148
August 24, 2016 03:48AM
1027
August 25, 2016 07:40PM
1177
August 30, 2016 09:33PM
1139
September 01, 2016 04:55PM
Re: mysql online ddl still lock
1083
September 01, 2016 11:40PM
1086
September 03, 2016 05:05PM
1075
September 05, 2016 01:20AM
1096
September 05, 2016 03:54PM
963
September 08, 2016 04:04AM
1039
September 10, 2016 12:19AM
1331
February 23, 2016 11:29PM
1690
February 29, 2016 11:32PM
1532
March 05, 2016 12:19AM
1449
March 07, 2016 03:34AM
1422
March 31, 2016 02:32AM
1380
April 02, 2016 12:39AM
1395
May 13, 2016 02:44AM
1313
May 24, 2016 09:53AM


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.