Improve company productivity with a Business Account.Sign Up

x
?
Solved

MySQL database disk repartition on Linux

Posted on 2001-07-03
7
Medium Priority
?
398 Views
Last Modified: 2006-11-17
Hello,

I have 30 disks of 2,8GB each. i'm looking to handle a big database on Linux using all of these disks. (40GB)
Is there a way to tell mysql to use an unique database spreaded on all of these disks ?

Thanks for your help.
0
Comment
Question by:weberpal
  • 5
  • 2
7 Comments
 
LVL 8

Accepted Solution

by:
drittich earned 300 total points
ID: 6250987
Go here:

http://www.mysql.com/doc/C/R/CREATE_TABLE.html

and read up on the RAID_TYPE option.  You spread out individual tables on the disk, rather than just specifying the whole database.  This gives you finer granularity of control.
0
 

Author Comment

by:weberpal
ID: 6254577
Ok, i understand. this is a possibility. But my first purpose is to tell mySql to handle itself the wole database on these disks ? Any other suggestions ?  
0
 

Author Comment

by:weberpal
ID: 6254689
Ok, i understand. this is a possibility. But my first purpose is to tell mySql to handle itself the wole database on these disks ? Any other suggestions ?  
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
LVL 8

Expert Comment

by:drittich
ID: 6256444
Well, the other suggestion is to use a hardware or software RAID disk configuration dedicated to the database. E.g., buy a RAID SCSI controller.  Or use the software RAID built in to Windows NT or Linux, or whatever you are runnning.
0
 

Author Comment

by:weberpal
ID: 6276805
Thanks. I discover another idea to do that using LVM.
0
 

Author Comment

by:weberpal
ID: 6276809
Thanks. I discover another idea to do that using LVM.
0
 

Author Comment

by:weberpal
ID: 6276814
Thanks. I discover another idea to do that using LVM.
0

Featured Post

Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
In this article, we will show how to detach and attach a database and then show how to repair a corrupt database and attach it, If it has some errors. We will show how to detach and attach using SSMS or using T-SQL sentences.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…

606 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