你可以把这个统计分析放到数据库空闲的时候取执行
SET GLOBAL tidb_auto_analyze_start_time=‘22:00 +0800’;
SET GLOBAL tidb_auto_analyze_end_time=‘08:00 +0800’;
1 个赞
你可以把这个统计分析放到数据库空闲的时候取执行
SET GLOBAL tidb_auto_analyze_start_time=‘22:00 +0800’;
SET GLOBAL tidb_auto_analyze_end_time=‘08:00 +0800’;