当前位置:网站首页>Slow query log in MySQL
Slow query log in MySQL
2022-07-26 02:06:00 【Xiaotiantian 666】
The slow query log records that all execution times exceed the parameters long_query_time Set the value and the number of scan records is not less than min_examined_row_limit All of SQL Statement log , Default not on .long_query_time The default is 10 second , The minimum is 0, The precision can reach microseconds .
# Slow query log
slow_query_log=1
# Execution time parameter
long_query_time=2
By default , Management statements will not be recorded , Queries that do not use indexes for lookup are also not recorded . have access to log_slow_admin_statements And change this behavior log_queries_not_using_indexes, As follows .
# Record management statements that execute slowly
log_slow_admin_statements
# Record statements that execute slowly and do not use indexes
log_queries_not_using_indexes
边栏推荐
- How idea can quickly delete recently opened projects
- Redis6.x配置参数详解
- Create a future and enjoy extraordinary | gbase Nantah General Motors unveiled opengauss Developer Day 2022
- Turn: do the right thing efficiently
- Implementation of Ti am335x industrial control module network and file system nfs
- Design and driver transplantation of matrix keyboard circuit of Ti am335x industrial control module
- MPLS知识点
- [C language brush leetcode] 443. Compressed string (m)
- Worthington papain - production of glycopeptides from purified proteoglycans (attached Literature)
- Detailed explanation of redis6.x configuration parameters
猜你喜欢

Sqlyog data import and export graphic tutorial

How to use the pagoda panel to deploy the full stack project of node to the server

SQL手工盲注、报错注入

Ti AM335X工控模块使用beaglebone(bbb)的Debian系统

Dest0g3 520 orientation (under update)

CD from grabbing the track to building a streaming media server -- a case study of "moon in the hometown of sleep"

【2021】【论文笔记】6G技术愿景——OTFS调制技术

Protect syslog servers and devices

Why does the debugger display the wrong function

pdf. JS introduction
随机推荐
Protect syslog servers and devices
【2021】【论文笔记】6G技术愿景——OTFS调制技术
[Android development IOS series] Language: swift vs kotlin
增删改查业务的快速上手
Composition API的优势
[C language brush leetcode] 814. Binary tree pruning (m)
登堂入室soc之arm汇编基础
Mark and lightbulbs (thinking)
阿里云Redis开发规范
[C language brush leetcode] 1604. Warn people who use the same employee card more than or equal to three times within an hour (m)
LeetCode302场周赛第三题--裁剪数字后查询第 K 小的数字
MySQL transaction isolation level
(CVPR 2019) GSPN: Generative Shape Proposal Network for 3D Instance Segmentation in Point Cloud
Worthington核酸酶、微球菌相关研究及测定方案
BGP knowledge points summary
How to use the pagoda panel to deploy the full stack project of node to the server
【2021】【论文笔记】红外及THz下的细胞膜生物效应——效应是现象,作用是机理——THz对医学的好处
一种MCU事件型驱动C框架
I.MX6UL核心模块使用连载-TF卡读写测试 (五)
win下搭建嵌入式开发环境及frp穿透