MySQL 8.4 Release Notes
30.4.3.31 schema_tables_with_full_table_scans 和 x$schema_tables_with_full_table_scans 视图
这些视图显示了哪些表被用于全表扫描。默认情况下,行被排序为降序的扫描行。
schema_tables_with_full_table_scans
和 x$schema_tables_with_full_table_scans
视图具有以下列:
-
object_schema
schema名称。
-
object_name
表名称。
-
rows_full_scanned
表的总行数,通过全表扫描扫描的行数。
-
latency
表的总等待时间,通过全表扫描的等待时间。