goInception icon indicating copy to clipboard operation
goInception copied to clipboard

添加索引时未使用gh-ost

Open sona-yuan opened this issue 2 years ago • 1 comments

描述 使用create index 的方式添加索引时,表大小超过osc_min_table_size设置,ghost_on设置未true,但是实际执行未使用

重现 create index 添加索引

环境

  • 数据库: [mysql/mariadb]
  • 版本: [例如 5.7.21]

参数 可能与问题相关的设置参数

sona-yuan avatar Jul 29 '22 08:07 sona-yuan

create/drop index若使用onlineddl时需要使用alter table语法, 稍后更新版本添加该warning.

hanchuanchuan avatar Jul 30 '22 08:07 hanchuanchuan

由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃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.

stale[bot] avatar Sep 21 '22 03:09 stale[bot]

同样关注这个问题,create index 不走 OST,会导到 主从延迟,而工具又不能限制 create index 这种语法,所以这个问 题造成的后果可能很严重,忘修复

zyclove2008 avatar Sep 28 '23 08:09 zyclove2008

当前有参数控制:ignore_osc_alter_stmt

DBAAJ avatar Nov 06 '23 13:11 DBAAJ