Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


mysql slow LOG
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

mysql slow LOG

yokowasisyokowasis Member
edited September 2020 in General

I enable mysql slow log query

this comes on

# Time: 200924  5:13:42
# User@Host: hostcbtdb[hostcbtdb] @  [172.18.0.11]
# Thread_id: 90327  Schema: hostcbtdb  QC_hit: No
# Query_time: 0.000285  Lock_time: 0.000081  Rows_sent: 1  Rows_examined: 1
# Rows_affected: 0  Bytes_sent: 1078
SET timestamp=1600924422;
SELECT * FROM smkwp2_bsfsm_options;

why is it there ? is that query slow ? what's wrong with the query ?

This is my init command

SET GLOBAL slow_query_log = 'ON';
set global log_queries_not_using_indexes = 'OFF';
set global slow_query_log_file ='/var/log/mysql/slow-query-2.log';
set global long_query_time = 20; 

How to find what's wrong with that query ?

Thanked by 1kyaky

Comments

Sign In or Register to comment.