MySQL Forums
Forum List  »  Performance

Re: Need help with my.cnf
Posted by: Partha Dutta
Date: November 30, 2005 02:03PM

I see that you have a lot of Select_Scans which are full table scans. It may be that you are not hitting your indexes properly. You should run your queries through an explain plan to see what indexes (if any) they are using. The key_buffer_size does not look like its being totally used, so increasing it would not necessarily help.

One other thing you can do is to add this param to your my.cnf file: log-queries-not-using-indexes
This will allow MySQL to write out those queries that aren;t using indexes to your slow query log. It might help you isolate your problem.

Partha Dutta

Options: ReplyQuote


Subject
Views
Written By
Posted
2078
November 30, 2005 09:21AM
Re: Need help with my.cnf
5204
November 30, 2005 02:03PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.