hanchuanchuan / goInception

一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
https://hanchuanchuan.github.io/goInception/
GNU General Public License v3.0
1.62k stars 553 forks source link

创建索引使用 create index 语法不能走 OST #608

Open zyclove2008 opened 1 year ago

zyclove2008 commented 1 year ago

描述 表的大小 大于 osc_min_table_size ,使用 alter table add key 的语法可以正常使用 OST,但使用 create index 这样的语法不能走 OST

重现 表大小大于 osc_min_table_size,ghost_on = true 使用 create index on

(colum name); 这样的语法不能走 OST

环境

可能会导致的问题: 1、主从延迟