explain format=json select * from users where userid=1\G
MySQL数据库:5.7.20-log MySQL Community Server (GPL)
名词:
QEP: Query Execution Plan,查询执行计划。
语法:
EXPLAIN [explain_type] {explainable_stmt }
explain_type:
{ EXTENDED | PARTITIONS | FORMAT = format_name}
format_name:
{ TRADITIONAL | JSON}
explainable_stmt:
{ SELECT statement | DELETE statement | INSERT statement | REPLACE statement | UPDATE statement }
但err中没有记录任何错误,只有重启的信息。原来该语句正常执行过,而现在每次执行必定会重现崩溃的情况,使用navicat也有同样问题。语句中使用了mysqludf_preg函数。附innodb_status如下:
=====================================
2014-08-26 22:07:49 7fa7c74ba700 INNODB MONITOR OUTPUT
=====================================
Per second averages calculated from the last 20 seconds
-----------------
BACKGROUND THREAD
-----------------
srv_master_thread loops: 0 srv_active, 0 srv_shutdown, 139 srv_idle
srv_master_thread log flush and writes: 139
----------
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)