About 96,000 results
Open links in new tab
  1. How do I enable the MySQL slow query log? [duplicate]

    Version 5.1.6 and above: 1. Enter the MySQL shell and run the following command: set global slow_query_log = 'ON'; 2. Enable any other desired options. Here are some common …

  2. logging - How to enable MySQL Query Log? - Stack Overflow

    In my case, the general query log cannot be enabled on shared hosting servers. I can only have the slow query log enabled, and the system administrators can provide the entries related to …

  3. logging - How to see log files in MySQL? - Stack Overflow

    I've read that Mysql server creates a log file where it keeps a record of all activities - like when and what queries execute. Can anybody tell me where it exists in my system? How can I read it?

  4. How can I enable MySQL slow query log on my server?

    Jul 23, 2012 · 27 How do I enable slow query log on my server? I have enabled it on my local host by adding log-slow-queries =[path] in my.ini file, but don't know how to add this on my server. …

  5. How to parse a mysql slow query log into something useful?

    Nov 15, 2009 · Reading mysql slow query log from /var/log/mysql_slow_queries.log Count: 1 Time=21.52s (21s) Lock=0.00s (0s) Rows=3000.0 (3000), foo@localhost SELECT * FROM …

  6. How can I enable MySQL's slow query log without restarting MySQL?

    Try SET GLOBAL slow_query_log = 'ON'; and perhaps FLUSH LOGS; This assumes you are using MySQL 5.1 or later. If you are using an earlier version, you'll need to restart the server. …

  7. performance - Where can I find the mysql slow log? - Database ...

    Jan 7, 2020 · Just as the title says, where can I see it ? Are there any config options for it ( like how many ms would determine if a query is slow or not ) ?

  8. How to interpret slow query log information generated by MySQL?

    Oct 4, 2013 · 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 …

  9. logging - Log all queries in mysql - Stack Overflow

    Nov 20, 2008 · Is it possible for me to turn on audit logging on my mysql database? I basically want to monitor all queries for an hour, and dump the log to a file.

  10. Slow query log in mysql - Stack Overflow

    Jun 28, 2010 · Can someone share how to enable slow query log (to see the slow queries) in Mysql 5 versions? I need to analyse the slow queries, please suggest. Thanks in advance.