当前位置:网站首页>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 .
边栏推荐
- MySQL - multi table query - Cartesian product sum, correct multi table query, equivalent connection and unequal connection, inner connection and outer connection
- Credit card fraud detection based on machine learning
- 数据库启动报:ORA-29702: error occurred in Cluster Group Service
- 1. If function of Excel
- 2022 Henan Mengxin League game (3): Henan University B - reverse pair count
- Dijango learning
- egg-ts-sequelize-CLI
- Offline installation of idea plug-in (continuous update)
- mongoDB为什么快
- 这种是我的vs没连上数据库吗
猜你喜欢

TIA botu WinCC Pro controls the display and hiding of layers through scripts

Integrated architecture of performance and cost: modular architecture

Face database collection summary

Array sort 3

人脸数据库收集总结

Array sort 1

1. If function of Excel

Sangi diagram of machine learning (for user behavior analysis)

A series of problems about the number of DP paths

【300+精选大厂面试题持续分享】大数据运维尖刀面试题专栏(八)
随机推荐
Li Kou daily question - day 42 -661. Picture smoother
Page pull-up refresh and pull-down loading
UE4 two ways to obtain player control
1、 Basic introduction
MySQL usage
What are the consequences and problems of computer system restoration
Scroll view pull-down refresh and pull-up load (bottom)
IEC61131 数据类型与 C#数据类型的对应
The difference between positive samples, negative samples, simple samples and difficult samples in deep learning (simple and easy to understand)
Phaser(一):平台跳跃收集游戏
ES6模块化+CommonJS
MySQL的优化分析及效率执行
Weights & biases (II)
【语义分割】2018-DeeplabV3+ ECCV
Use Baidu PaddlePaddle easydl to complete garbage classification
Wu Enda's machine learning after class exercises - logical regression
2022杭电多校 DOS Card(线段树)
2022 Henan Mengxin League game (3): Henan University B - reverse pair count
一、基础入门
UE4 获取玩家控制权的两种方式