Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
CreamKids


Default time to log a query in slow query log and can we change that in MySQL?
Question Posted on 20 Jul 2021

Home >> DataBase >> MySQL >> Default time to log a query in slow query log and can we change that in MySQL?




Default time to log a query in slow query log and can we change that in MySQL?
Yes, we can change the default time to log a query in MySQL. By default it will take more then 10 seconds to run. We can change this interval. And below is the command to change the time:-
SET GLOBAL long_query_time = n;
In above command we can put number in place of n to set the time to log query in slow query log.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Can we use "Order BY" in delete statement in MySQL Query?
Difference between char_length and Length in MySQL?
What are different tables and default database present in MySQL?
Way to clear screen in MySQL in Window operating system?
Who was started and owned MySQL?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |