mysql-slow-query-log Questions
2
Solved
We have a large tables with millions of entrys. A full count is pretty slow, see code below. Is this quite common for a MySQL InnoDB table? Is there no way to accelerate this?
Even with the query c...
Leukas asked 13/9, 2019 at 9:57
4
Solved
Hi i am working on MySQL version 5.5, can somebody please help me to clear/flush data from mysql.slow_log tables in mysql ?
Keloid asked 20/3, 2015 at 9:46
1
I'm having some difficulty coming up with correct syntax to pull in specific host information for my slow query log file:
I'm using the following:
sudo pt-query-digest mysql-slow.log --since "201...
Thorvaldsen asked 8/5, 2017 at 23:31
2
Solved
I'm trying to enable Slow Query Logging on mysql 5.7 and getting this error:
2016-04-27T14:55:51.934612Z 0 [ERROR] unknown variable 'log-slow-queries=/var/log/mysql-query.log'
2016-04-27T14:55:51...
Myelencephalon asked 27/4, 2016 at 15:8
2
Solved
I'm using the RDS database from amazon with a some very big tables, and yesterday I started to face 100% CPU utilisation on the server and a bunch of slow query logs that were not happening before....
Murchison asked 30/5, 2014 at 14:21
1
Solved
Why can't I use slow_query_log on MySQL 5.6 on CentOS 6.4?
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
...
## Logging
## *** THESE LOGS WORK JUST FINE ***
log_error = /var/l...
Rahel asked 22/11, 2013 at 4:18
2
So my understanding of slow query log is that it logs info about all those queries that took >= time (in secs) that we have set in my.conf file.
Now lets take 3 cases of 3 different SELECT queries...
Barbbarba asked 26/9, 2013 at 18:43
2
this is the query for Unified Medical Language System(UMLS) to find a word related to normalized word. this query result is 165MS, but if I am running VIEW of this same query it is taking 70 sec. I...
Lawford asked 16/7, 2013 at 15:59
2
Solved
I am using MySQL version 5.1.66. I saw that the long_query_time variable is dynamic, but when I tried
set GLOBAL long_query_time=1;
After the above operation again I tried
mysql> show vari...
Satori asked 21/3, 2013 at 7:19
1
Solved
I'm having an issue where MySQL seems to be logging queries in the slow query log that are faster than the time specified. I've configured MySQL to log the following:
Server version: 5.1.54-...
Countertype asked 16/11, 2012 at 17:12
1
© 2022 - 2024 — McMap. All rights reserved.