pingcap/tidb

Show ANALYZE TABLE result

Open

#29.712 geöffnet am 12. Nov. 2021

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (6.186 Forks)batch import
help wantedtype/feature-request

Repository-Metriken

Stars
 (40.090 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 14T 4h) (346 gemergte PRs in 30 T)

Beschreibung

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)

Contributor Guide