Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: mysql performance
PostPosted: Fri Mar 04, 2005 11:28 am 
Offline
Senior Newbie

Joined: Mon Apr 19, 2004 11:06 am
Posts: 7
Hello
I host some databases on my linode 256 server. What happened is that one of my client's database grew a lot (its largest table has 150mb) and the performance is becoming far from acceptable.
I'm using mysql 4.0.21-7 on a debian [sarge] setup.
Do you people have any advice on how to improve this performance ? Do any of you recommend switching to postgresql ? Everything's written using php's PEAR::DB abstraction layer, so it won't be a problem

Thanks a lot for any advice


Top
   
 Post subject:
PostPosted: Fri Mar 04, 2005 1:28 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
What are the current sizes of key_buffer and table_cache? Have you tried changing them? What is the memory usage like on your Linode - is there room for a really big key buffer?

_________________
/ Peter


Top
   
 Post subject: io_status and mysql
PostPosted: Fri Mar 04, 2005 3:23 pm 
Offline
Senior Newbie

Joined: Mon Apr 19, 2004 11:06 am
Posts: 7
I'm debugging the problem, I just found out my io_rate (on /proc/io_status) go as high as 6000 when I'm updating a large table on mysql ... maybe there's something to remedy this ?


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


Who is online

Users browsing this forum: No registered users and 0 guests


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