tidb analyze table 用了3小时

低峰期使用下面系统变量提高 analyze 速度
set @@session.tidb_distsql_scan_concurrency=60;
set @@session.tidb_index_serial_scan_concurrency=10;
set @@session.tidb_build_stats_concurrency=60;

1 个赞