ステータスの分析を表示

SHOW ANALYZE STATUSステートメントは、TiDBによって実行されている統計収集タスクと、限られた数の履歴タスクレコードを示しています。

あらすじ

ShowStmt:

ShowStmt

ShowTargetFilterable:

ShowTargetFilterable

create table t(x int, index idx(x)) partition by hash(x) partition 4; analyze table t; show analyze status;
+--------------+------------+----------------+-------------------+----------------+---------------------+----------+ | Table_schema | Table_name | Partition_name | Job_info | Processed_rows | Start_time | State | +--------------+------------+----------------+-------------------+----------------+---------------------+----------+ | test | t | p1 | analyze columns | 0 | 2020-05-25 17:23:55 | finished | | test | t | p0 | analyze columns | 0 | 2020-05-25 17:23:55 | finished | | test | t | p0 | analyze index idx | 0 | 2020-05-25 17:23:55 | finished | | test | t | p1 | analyze index idx | 0 | 2020-05-25 17:23:55 | finished | | test | t | p2 | analyze index idx | 0 | 2020-05-25 17:23:55 | finished | | test | t | p3 | analyze index idx | 0 | 2020-05-25 17:23:55 | finished | | test | t | p3 | analyze columns | 0 | 2020-05-25 17:23:55 | finished | | test | t | p2 | analyze columns | 0 | 2020-05-25 17:23:55 | finished | +--------------+------------+----------------+-------------------+----------------+---------------------+----------+ 8 rows in set (0.00 sec)

MySQLの互換性

このステートメントは、MySQL構文のTiDB拡張です。

も参照してください

このページは役に立ちましたか?

Playground
新規
登録なしで TiDB の機能をワンストップでインタラクティブに体験できます。
製品
TiDB Cloud
TiDB
価格
PoC お問い合わせ
エコシステム
TiKV
TiFlash
OSS Insight
© 2024 PingCAP. All Rights Reserved.
Privacy Policy.