Home » Performance » MySQL » Performance check
Performance check [message #2268] Tue, 27 November 2007 04:49 Go to next message
annpeter
Messages: 1
Registered: November 2007
Junior Member
Hi friends,
How can i get a log to check the performance of my application in my sql.
thanks
annie
Re: Performance check [message #2271 is a reply to message #2268 ] Tue, 27 November 2007 15:52 Go to previous message
scoundrel  is currently offline scoundrel
Messages: 58
Registered: August 2006
Location: Toronto, ON, Canada
Member

First of all I'd suggest to enable slow queries log:

long_query_time = 1
log_queries_no_using_indexes
log_slow_queries = /var/log/mysql/mysql-slow.log


And then put your application under some load (I mean jut work with it). When you'll get some noticeable amount of queries in the mysql-slow.log, just use mysqlsla on it and you'll see where you need to look to optimize your aplication.


Alexey Kovyrin, MySQL Performance Expert
MySQL Performance Blog
MySQL Consulting
Previous Topic:How to solve this connection error?
Next Topic:Mysql Replication with write forwarding?
Goto Forum:
  



Current Time: Thu Nov 20 22:58:17 EST 2008

Total time taken to generate the page: 0.00379 seconds
.:: Contact :: Home :: MySQL Support by Percona.com ::.

Powered by: FUDforum 2.7.5.
Copyright ©2001-2006 FUD Forum Bulletin Board Software

MySQL Performance | Forum authority Badge