Creating table symlinks in MySQL is very easy and it is probably
one of the features a lot of MySQL users overlook or never think
about. You may ask, why would I want to use symlinks? Some of the
reasons you would want symlinks is if you are running low on disk
space on the partition where your data generally is and/or you
want to move one (or more) table(s) on to a different
disk/partition for performance reasons.
One of the things worth mentioning is that MySQL documentation
states: “Symlinks are fully supported only for MyISAM tables. For
files used by tables for other storage engines, you may get
strange problems if you try to use symbolic links.” Keeping that
in mind, if you have a innodb table and would like to create
symlinks for, you should change the engine type to myisam before
symlinking. Although, I have heard and personally used symlinks
for innodb databases with no side affects.
First let us find out if your MySQL …
[Read more]