SHOW META
Descriptionβ
Views metadata of CBO statistics, including basic statistics and histograms.
This statement is supported from v2.4.
View metadata of basic statisticsβ
Syntaxβ
SHOW STATS META [WHERE]
This statement returns the following columns.
| Column | Description | 
|---|---|
| Database | The database name. | 
| Table | The table name. | 
| Columns | The column names. | 
| Type | The type of statistics. FULLmeans full collection andSAMPLEmeans sampled collection. | 
| UpdateTime | The latest statistics update time for the current table. | 
| Properties | Custom parameters. | 
| Healthy | The health of statistical information. | 
View metadata of histogramsβ
Syntaxβ
SHOW HISTOGRAM META [WHERE];
This statement returns the following columns.
| Column | Description | 
|---|---|
| Database | The database name. | 
| Table | The table name. | 
| Column | The columns. | 
| Type | Type of statistics. The value is HISTOGRAMfor histograms. | 
| UpdateTime | The latest statistics update time for the current table. | 
| Properties | Custom parameters. | 
Referencesβ
For more information about collecting statistics for CBO, see Gather statistics for CBO.