之前使用 pt-online-schema-change添加索引没有问题,如下语句
[root@ixxxxxx ~]# pt-online-schema-change --no-version-check --execute --alter-foreign-keys-method=auto --alter "add key idx_namer(col)" h=xx,P=3306,u=ybl_all,p='xx',D=db,t=table_name[ro
之前使用 pt-online-schema-change添加索引没有问题,如下语句
[root@ixxxxxx ~]# pt-online-schema-change --no-version-check --execute --alter-foreign-keys-method=auto --alter "add key idx_namer(col)" h=xx,P=3306,u=ybl_all,p='xx',D=db,t=table_name[ro