pingcap/tidb

Show ANALYZE TABLE result

Open

#29,712 建立於 2021年11月12日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Go (6,186 fork)batch import
help wantedtype/feature-request

倉庫指標

Star
 (40,090 star)
PR 合併指標
 (平均合併 14天 4小時) (30 天內合併 346 個 PR)

描述

Feature Request

When I run the query ANALYZE TABLE t1; in TiDB, it shows nothing.

TiDB> ANALYZE TABLE t1;
Query OK, 0 rows affected (0.05 sec)

My expectation is to give a similar result as in MySQL.

mysql> ANALYZE TABLE t1;
+----------------------+---------+----------+----------+
| Table                | Op      | Msg_type | Msg_text |
+----------------------+---------+----------+----------+
| invisible_indexes.t1 | analyze | status   | OK       |
+----------------------+---------+----------+----------+
1 row in set (0.05 sec)

貢獻者指南