Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

multiple mySQL data directories?

Posted on 2013-02-03
3
Medium Priority
?
440 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
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 Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

671 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