前面我补充了一下 tidb的错误日志 你有空看看
mysql> select count(1) from mysql.stats_meta;
±---------+
| count(1) |
±---------+
| 4031 |
±---------+
1 row in set (0.82 sec)
mysql> select count(1) from mysql.stats_histograms ;
±---------+
| count(1) |
±---------+
| 510144 |
±---------+
1 row in set (0.41 sec)
@@tidb_enable_cascades_planner |
±-------------------------------+
| 0