16 January 2007
Using symbolic links for MySQL data files
Over a year ago, we had several servers configured for high traffic websites. A mispartioning resulted in /var becoming obscenely small, and it was only after MySQL crashed that we remembered this. We couldn’t afford more downtime if we dealt with the partition size problem, so I thought of quickly moving the data files into /home/mysql/{dbname} from /var/lib/mysql/{dbname} and create the symlink /var/lib/mysql/{dbname} -> /home/mysql/{dbname}.I was not certain of the performance implications to this. I heard from a fellow Linux junkie here that there may be a slight penalties in terms of access speed, since /home was meant for generic read/write, whereas /var was accessed in a very quick manner. Gotta verify this. But for now, I dwell in the power of symbolic links.
Subscribe to:
Post Comments (Atom)
Goodbye, Facebook
About a month ago, I started getting reminders to enable Facebook Protect, some feature meant to protect certain people who may be targeted ...
-
I use VirtualBox for my server experimenting requirements, and it's just great! Just this morning, I got an error message when I start...
-
There's a bunch of new templates on Blogger now. The last time I checked in 2009, there were just the old themes that sort of grow old...
-
It's been over two decades since I last saw Uncle Bong. He would usually drop by Diamond Village in Novaliches, Quezon City to visit Lol...
No comments:
Post a Comment