Documentation Home
MySQL 8.3 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.8Mb
PDF (A4) - 40.9Mb
Man Pages (TGZ) - 294.0Kb
Man Pages (Zip) - 409.0Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb
Excerpts from this Manual

MySQL 8.3 Reference Manual  /  ...  /  The statements_with_full_table_scans and x$statements_with_full_table_scans Views

30.4.3.37 语句与完整表扫描视图

这些视图显示了执行完整表扫描的标准化语句。默认情况下,行按降序的百分比和总延迟时间排序。

The statements_with_full_table_scansx$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

    语句摘要。