LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-14-2004, 08:51 AM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Tweaking MySQL?


Hey all,

Just wondering if anyone here would have some suggestions for tweaking a MySQL server for optimal performance. Specifically, I'm curious to know if there is anything special that would need to be done to optimize the system to use multiple processors. The system config is:

RHES 3 on SMP 2.4 kernel
Dual 2.66 Xeon processors with HT
2 GB RAM
SCSI RAID array
MySQL 4.0.17

This system is already in production, so I can't make any huge changes, but there are times where it seems to only be using 1 CPU. I'm hoping that someone has some suggestions on what settings I could check to see if it's set up to use multiple CPUs.

Thanks.

P.S. I apologize in advance, but I don't know much at all about MySQL, I usually deal more with the hardware side of things. If there's any specific info needed though, I can get it.
 
Old 07-14-2004, 09:10 AM   #2
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
I think its much more important is having the databases and tables designed and created properly, with efficiency in mind. You'd be very suprised the difference it makes.
 
Old 07-14-2004, 10:35 AM   #3
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Original Poster
Rep: Reputation: 30
BluePyre,

While not knowing much about MySQL, I do know that our programmers have spent a lot of time setting up our tables as efficiently as possible. A lot of time is spent making sure that things are created properly, queries are set up right, and that the tables are optimized on a regular basis. And make no mistake, the system is already very fast, but it just appears at times that it's not utilizing the other processor(s) as much as it could, and I was looking to see if there was something I could do to help with that.
 
Old 07-14-2004, 11:12 AM   #4
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
You may like to upgrade the kernel to 2.6, if you're looking for more power and spead. I read somewhere its around 10% faster than the 2.4 kernel.
Not sure on utilising more than one CPU... i'm hoping someone more knowledgable comes along.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Help tweaking my fonts! calande Linux - General 5 10-26-2005 06:59 PM
MySQL tweaking loonix Linux - Software 4 12-05-2004 04:54 PM
um, Tweaking Thom_Redhat Linux - Software 13 06-17-2003 03:10 AM
some X tweaking zeky Linux - Software 3 12-23-2002 02:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration