MySQL 8.4 Release Notes
30.4.3.36 The statements_with_errors_or_warnings 和 x$statements_with_errors_or_warnings 视图
这些视图显示了产生错误或警告的 normalized 语句。默认情况下,行按降序的错误和警告计数排序。
The statements_with_errors_or_warnings 和 x$statements_with_errors_or_warnings 视图具有以下列:
-
querynormalized 语句字符串。
-
db语句的默认数据库,或者如果没有则为
NULL。 -
exec_count语句执行的总次数。
-
errors语句执行的总错误数。
-
error_pct语句执行中错误的百分比。
-
warnings语句执行的总警告数。
-
warning_pct语句执行中警告的百分比。
-
first_seen语句首次出现的时间。
-
last_seen语句最近一次出现的时间。
-
digest语句摘要。