Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

multiple mySQL data directories?

Posted on 2013-02-03
3
Medium Priority
?
451 Views
Last Modified: 2013-02-05
I would like to use multiple data directories.  Right now my.ini points to a single d:\mysqldata directory.
I would like to do something as in Microsoft SQLServer that allows storing database files anywhere (e.g. d:\sqldata, e:\sqldata, f:\sqldata).

Why?  I have many large (5Gb+) mySQL databases.  SSD is the way to go, but drives bigger than 128G are for now expensive.  Plus a single point of failure for all the databases...
So I would like to add 128G SSD drives in my Windows machine, as I do in my SQL Servers.
0
Comment
Question by:Francois Koutchouk
3 Comments
 
LVL 2

Author Comment

by:Francois Koutchouk
ID: 38850057
Thank you, my bad, I failed to indicate that I am using
innodb_file_per_table option (the only way with many large databases like mine).
The second article indicates that .sym files are not supported in this mode.
Any other options in Windows?
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 1000 total points
ID: 38850169
I fear that then you have to go the innodb way with tablespaces, where you can locate the tablespaces as you wish, or to another database engine (like MS SQL Server or ORACLE that do allow this kind of configuration) ...
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In this article, I’ll talk about multi-threaded slave statistics printed in MySQL error log file.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question