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