当前位置:网站首页>Whether the SQL that fails to execute MySQL is counted into the slow query?
Whether the SQL that fails to execute MySQL is counted into the slow query?
2022-07-26 04:36:00 【tin】
Excuse me, the execution failed sql, For example, after a certain period of time ( Slow query threshold reached ), Lost connection , Whether the slow query log will be recorded ?
Other answers 1:
I won't , If you lose the connection, you will directly report an error
Other answers 2:
I did this experiment
There is a row of records in the table
perform
select *,sleep(10)from t
Then force it off workbench. But quotation sentences still appear in slow queries .
Other answers 3:
I've tested it before , If a big query , For example, to scan 100w That's ok , Scanning in the middle 10w That's ok , By ctrl+c 了 , So slow, there will be record scanning in the query 10w Time for .
Other answers 4:
Tested under ,SQL The execution time , Just over slowlog The threshold of (long_query_time), Even if the final execution fails , It will also record .
边栏推荐
- Keil V5 installation and use
- Wu Enda's machine learning after class exercises - linear regression
- 理性认知教育机器人寓教于乐的辅助作用
- Weights & Biases (二)
- RTSP/Onvif协议视频平台EasyNVR服务一键升级功能的使用教程
- Chapter 3 how to use sourcetree to submit code
- Several methods of realizing high-low byte or high-low word exchange in TIA botu s7-1200
- Ffmpeg video coding
- 十一、异常处理器
- Codeforces Round #807 (Div. 2)
猜你喜欢

UE4 键盘控制开关灯

数组排序2

What if win11 cannot wake up from sleep? Solution of win11 unable to wake up during sleep

UE4 多个角色控制权的切换

UE4 通过按键控制物体的旋转

Tutorial on using the one click upgrade function of the rtsp/onvif protocol video platform easynvr service

Wu Enda's machine learning after class exercises - linear regression

Sangi diagram of machine learning (for user behavior analysis)

数组排序3

一个sql server查询截止某个日期最新的记录
随机推荐
MapReduce中分区数与ReduceTask个数关系比较
Credit card fraud detection based on machine learning
Wsl2 best practices, eliminate difficult xshell and finalshell
Recognized again | saining network security has been listed in the ccsip 2022 panorama of China's network security industry
Face database collection summary
2022 a.static query on tree (tree section)
软考回顾及计划
Li Kou daily question - day 42 -661. Picture smoother
Autocomplete prevents the form from automatically filling in
Swiftui one day crash
UE4 多个角色控制权的切换
Codeforces Round #807 (Div. 2)
Codeforces Round #807 (Div. 2)
Offline installation of idea plug-in (continuous update)
Solve the error string value: '\xf0\x9f\x98\xad',... 'for column' commentcontent 'at row 1
[300 + selected interview questions from big companies continued to share] big data operation and maintenance sharp knife interview question column (VIII)
9、 File upload and download
【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(八)
qt编译报错整理及Remote模块下载
机器学习之信用卡欺诈检测