Can I move MySQL table to a second drive?

后端 未结 1 998
暗喜
暗喜 2021-01-15 11:14

I am having I/O related performance problems that would be solved if a few relatively small tables were running on a SSD. I can\'t move the entire DB to SSD because it is m

相关标签:
1条回答
  • 2021-01-15 11:40

    When you create a MySQL table you can specify the data directory and index directory. Have a look at http://dev.mysql.com/doc/refman/5.1/en/create-table.html

    So, to answer your question, you could create a new table in the different directory and migrate your data there.

    0 讨论(0)
提交回复
热议问题