crackyourinterview.com


To improves our performance please Like Share Subscribe(Will boost us)

How to enable slow query log MySQL?
Question Posted on 18 Jul 2021Home >> DataBase >> MySQL >> How to enable slow query log MySQL?

How to enable slow query log MySQL?
As the name suggest slow query log this will slow down the performance of query or overall server performance. And this can be huge in size. Below are five steps to enable slow query logs in python
(1)In first step we need to do login in server by using SSH.
(2)In second step on command line we need to use below command:-
mysql -u root -p
(3)In third step we need to type MySQL root password.
(4)In fourth step to enable slow query log we need to run below command as mySQL prompt:-
SET GLOBAL slow_query_log = 'ON'
(5)We have some additional option when we using slow query log.
0
0



.


Most Visited Questions:-

Deep Learning Questions Answers
Below are the different Deep Leaning Questions and answer a More...

Continuous Integration Questions Answers
Below are the 20 odd questions for CI or Continuous Integra More...

Derived relationships in Association Rule Mining are represented in the form of __________.
Derived relationships in Association Rule Mining are repres More...

What is Gulpjs and some multiple choice questions on Gulp
Gulpjs is an open source whihc helps in building Javascript More...

Microservices Architecture Questions Answers
Below are the different questions on Microservices Architec More...




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?






@2014-2022 Crackyourinterview (All rights reserved)
Privacy Policy - Disclaimer - Sitemap