Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / General DB Topics / General DB Topics / March 2005

Tip: Looking for answers? Try searching our database.

MySQL server monitoring

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dimstthomas@yahoo.com - 19 Mar 2005 00:11 GMT
What is the best way to monitor a MySQL server to find slow SELECT
operations?
Leonardo - 29 Mar 2005 15:24 GMT
> What is the best way to monitor a MySQL server to find slow SELECT
> operations?

Hello Thomas

The best way and the only way as far as I know is to set the
variables:

log-slow-queries=E:/Program Files/mysql/logs/slowqueries.log
long_query_time=10 (I put 10 but may be whichever number of seconds
suites your needs)

in the C:\WINNT\my.ini file (on Windows) (respectively /etc/my.cnf on
Linux) file

Leonardo
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.