pingcap/tidb

Show ANALYZE TABLE result

Open

#29.712 aperta il 12 nov 2021

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Go (6186 fork)batch import
help wantedtype/feature-request

Metriche repository

Star
 (40.090 star)
Metriche merge PR
 (Merge medio 14g 4h) (346 PR mergiate in 30 g)

Descrizione

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)

Guida contributor