1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-33152 Add QUERIES to INDEX_STATISTICS

Other changes:
- Do not collect index statistics for system tables like index_stats
  table_stats, performance_schema, information_schema etc as the user
  has no control of these and the generate noise in the statistics.
This commit is contained in:
Monty
2024-01-02 17:11:14 +02:00
committed by Sergei Golubchik
parent 869e67c92f
commit a00e99acca
16 changed files with 96 additions and 32 deletions

View File

@ -7130,8 +7130,8 @@ Table_schema Table_name Rows_read Rows_changed Rows_changed_x_#indexes
test t1 2 0 0
test t2 3 0 0
show index_statistics;
Table_schema Table_name Index_name Rows_read
test t2 b 1
Table_schema Table_name Index_name Rows_read Queries
test t2 b 1 1
set global userstat=@tmp_mdev410;
DROP TABLE t1,t2,t3,t4;
#