File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -131,4 +131,4 @@ mysql> admin show ddl jobs;
13113111 rows in set (0 .001 sec)
132132```
133133
134- 从 ` Modify Colunn ` 有损 DDL 示例来看, 在设置完 ` @@tidb_stats_update_during_ddl ` 之后的相关列类型有损变更 DDL 运行结束之后,我们可以从之后的 SQL 运行中 explain 看到相关 ` idx ` 索引的统计信息已经被加载到了内存,并且已经被用于 Range 构造。我们从 ` show stats_histograms ` 语句中可以得到验证,相关索引的统计信息已经被分析已经全部加在加载到了内存中。对于时间较长的 Reorg 过程和 Analyze 过程,我们可以在相关的 DDL Job 状态语句中看到相关索引正在被 ` Analyzing ` 的字段,该提示表明该 DDL Job 已经处于 stats 收集过程中了。
134+ 从 ` Modify Column ` 有损 DDL 示例来看, 在设置完 ` @@tidb_stats_update_during_ddl ` 之后的相关列类型有损变更 DDL 运行结束之后,我们可以从之后的 SQL 运行中 explain 看到相关 ` idx ` 索引的统计信息已经被加载到了内存,并且已经被用于 Range 构造。我们从 ` show stats_histograms ` 语句中可以得到验证,相关索引的统计信息已经被分析已经全部加在加载到了内存中。对于时间较长的 Reorg 过程和 Analyze 过程,我们可以在相关的 DDL Job 状态语句中看到相关索引正在被 ` Analyzing ` 的字段,该提示表明该 DDL Job 已经处于 stats 收集过程中了。
You can’t perform that action at this time.
0 commit comments