Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Need MySQL to go faster
PostPosted: Mon Jan 21, 2008 2:32 pm 
Offline
Senior Newbie

Joined: Sat Sep 03, 2005 3:13 pm
Posts: 13
ICQ: 93572776
Website: http://www.apreche.net
AOL: Apreche
Location: Beacon, NY
On my Linode I'm running Ubuntu, Lighttpd, MySQL and PHP5. I've got lots of free RAM. CPU usage is also light. However, I'm having performance issues. I have query_cache and all that other stuff setup, but it's still not fast enough. Part of this is because our forum uses some very inefficient queries. However, I think part of it is just a disk i/o bottleneck. Is there some way to configure MySQL to maybe use more of the free memory to increase performance?


Top
   
 Post subject:
PostPosted: Mon Jan 21, 2008 3:27 pm 
Offline
Senior Member

Joined: Sun Nov 30, 2003 2:28 pm
Posts: 245
There are all kinds of memory parameters for mysql, and without knowing which ones you're hitting, you don't know which ones to increase.

But even before that, you might set log-slow-queries to see exactly which queries are causing problems, and either fix the queries, or build indices which will help those queries, if not already set. Proper indices can help a *lot*.

_________________
The irony is that Bill Gates claims to be making a stable operating system and Linus Torvalds claims to be trying to take over the world.
-- seen on the net


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group