goInception icon indicating copy to clipboard operation
goInception copied to clipboard

修改表备注时sqlsha1为空

Open dbadylan opened this issue 1 year ago • 5 comments

描述 对一张表的备注进行修改时,如 ALTER TABLE t COMMENT = 'test';,返回的审核结果中,sqlsha1列的值为空

重现 每次必现

环境

  • 数据库:mysql
  • 版本:5.7.29,8.0.25

dbadylan avatar Nov 20 '23 05:11 dbadylan

只有使用pt-osc/gh-ost时才会计算sqlsha1. 不满足表大小条件限制时也会忽略sqlsha1.

hanchuanchuan avatar Nov 26 '23 08:11 hanchuanchuan

只有使用pt-osc/gh-ost时才会计算sqlsha1. 不满足表大小条件限制时也会忽略sqlsha1.

所有的ddl都走的gh-ost,也没限制表的大小。

dbadylan avatar Nov 28 '23 05:11 dbadylan

修改部分表定义时会自动跳过osc. 包括 charset/collate/comment. 这些操作只修改元数据,是立即完成的.

hanchuanchuan avatar Dec 17 '23 05:12 hanchuanchuan

“修改部分表定义时会自动跳过gh-ost ”,这块具体怎么定义的,规则是什么,求指教,目前大表新增字段有after也不走

hanxiaoxudoubao avatar Jan 12 '24 04:01 hanxiaoxudoubao