Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 23, 2003 1:20 am 
Offline
Senior Member

Joined: Sun Jul 20, 2003 8:29 am
Posts: 100
Website: http://www.ipo-australia.com
Location: Tropical Queensland, Australia
Mysql comes with a default configuration that does works on most machines. If you have a machine with more RAM you can improve mysql performance considerably. You may want to do this if you have a bulletin board that uses mysql.

Detailed how to:
http://www.mysql.com/doc/en/Option_files.html gives the basic information.

Quick and dirty method:
Edit /etc/my.cnf and add the following lines. ?? is the size of the mysql buffer. I'm currently using keybuffer=60M . This allocates 60 Megabytes RAM to the Mysql buffer. Dont make it too big or you will run out of RAM/swapspace. You need to restart mysql for this to take effect.

[mysqld]
set-variable = key_buffer=??M


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


Who is online

Users browsing this forum: No registered users and 4 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