There are some more tips to optimize large queries here-
http://www.debianadmin.com/top-84-my...ance-tips.html
http://www.debuntu.org/2006/07/21/75...-response-time
There are some more tips to optimize large queries here-
http://www.debianadmin.com/top-84-my...ance-tips.html
http://www.debuntu.org/2006/07/21/75...-response-time
I'm not afraid of storms, for I sail my own ship
None taken. As I said in my first post, I'm quite new to this.
Indeed, RAID would've been a good idea. But considering the fact that he was running this program on a 6-year old 40GB IDE HDD, this is going to be quite an improvement. We're going to do regular backups on our desktops using some cron jobs (I know this isn't quite the best data redundancy system, but it's what we got). It's definitely a plan for the future, though.
I don't get this -- isn't mysqld the only program that actually accesses the database files? Don't all client applications connect to the mysql server and issue queries? So, a client application would only have to know the IP and the port of the mysql server, while mysqld does all the lookups and such. Maybe you understood wrong -- I don't want to install mysql to a separate partition, I just want to keep the database files on a separate partition and change a few mysql configs to make it look on that partition for data. I've done that before.
Gentoo, Archlinux and other hard-to-setup solutions were recommended before. While I am sure that would increase performance, we just don't have the time to do it. Thanks for the suggestion, though. And thanks for telling me that BSD systems are always compiled on the machine they run -- I didn't know that!
He has some programs that gather data and create huge relational databases. After he's done with that, he creates some statistics out of those databases and uses them on an actual production server which is hosted elsewhere.
Thanks to everyone for replying here and giving your advice. The server is coming in tonight (hopefully) and I will probably get to hack at it this weekend. I'm pretty excited .
[ Blog # A Programmer's Ride ]
Linux: it really whips the penguin's butt.
Hey
From reading the post it seems like you have some great things to try out... One thing i would suggest is disabling the atime on the /mysql partition... atime is a small timestamp which is written every time a file is accessed, so you're able to see if it's being used (ie., we clean up our file servers of files which have not been accessed in the last 4 years). It's different from modification time, but often not needed on systems like this... So mount it with noatime and nodiratime - you can read more about the different mount options here: http://linux.die.net/man/8/mount
Hope this helps, and best of luck with the system!
Bookmarks