匿名用户mysql中慢日志中的id,thread_id的关系?
[root@test_dan data]# tail /data/mysql_8/data/test_dan-slow.log
# User@Host: root[root] @ localhost [] Id: 8
# Query_time: 3.088201 Lock_time: 0.000000 Rows_sent: 1 Rows_examined: 1 Thread_id: 8
这个慢查询,我是processlist_id=8 的会话中执行sleep (3) ,生成的,
如果
select thread_id,processlist_id from performance_schema.threads;
54 | 8
我的 thread_id是54 ,和日志中的8 ,不符合了,请问 加粗部分的id ,thread_id ,具体指的是啥??
我来答
添加附件
收藏
分享
问题补充
3条回答
默认
最新
回答交流
提交
问题信息
请登录之后查看
邀请回答
暂无人订阅该标签,敬请期待~~
墨值悬赏

评论
