goInception
goInception copied to clipboard
添加索引时未使用gh-ost
描述 使用create index 的方式添加索引时,表大小超过osc_min_table_size设置,ghost_on设置未true,但是实际执行未使用
重现 create index 添加索引
环境
- 数据库: [mysql/mariadb]
- 版本: [例如 5.7.21]
参数 可能与问题相关的设置参数
create/drop index若使用onlineddl时需要使用alter table语法, 稍后更新版本添加该warning.
由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
同样关注这个问题,create index 不走 OST,会导到 主从延迟,而工具又不能限制 create index 这种语法,所以这个问 题造成的后果可能很严重,忘修复
当前有参数控制:ignore_osc_alter_stmt