Quantcast
Channel: MySQL Forums - Install & Repo
Viewing all articles
Browse latest Browse all 7239

Is it possible to have two datadir for one mysql engine? (no replies)

$
0
0
hi,

i have question regarding the possibility of having two data directories for one mysql engine. the thing is i have a server with mysql installed. to that server a storage unit is attached. it contains the actual databases (partition is mounted on server). the communication between the server and storage is extremely slow. and this is not important when querying a big part of the databases but there is one database which is large and data should be retrieved from it quickly. so my idea was to move that single database on to the server, but if i do that i don't know if the engine will recognize the location of that other database if i do this:

datadir=/path/to/storage;/path1/to/single/db

can anyone help?? how to make it work?? will it help if i move the database to my server and then just create a symlink to the path where the rest of db's are (because than the data will fiscally be on the server)

thank you

Viewing all articles
Browse latest Browse all 7239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>