statement_with_full_table_scans和x $ statements_with_full_table_scans视图
这些视图显示已完成全表扫描的规范化语句。默认情况下,按完整扫描的时间百分比和总延迟时间的降序对行进行排序。
在statements_with_full_table_scans
和x$statements_with_full_table_scans
意见有这些列:
query
规范化的语句字符串。
db
语句的默认数据库,
NULL
如果没有。exec_count
语句已执行的总次数。
total_latency
语句的定时语句事件的总等待时间。
no_index_used_count
没有索引用于扫描表的总次数。
no_good_index_used_count
没有良好索引用于扫描表的总次数。
no_index_used_pct
没有索引用于扫描表的时间百分比。
rows_sent
从表返回的总行数。
rows_examined
从表的存储引擎读取的总行数。
rows_sent_avg
从表返回的平均行数。
rows_examined_avg
从表的存储引擎读取的平均行数。
first_seen
第一次看到该声明的时间。
last_seen
最近一次看到该声明的时间。
digest
语句摘要。