Home > Ask the Oracle Database / Applications Experts > Questions & Answers > The best RAID configuration for Oracle 9i
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

The best RAID configuration for Oracle 9i

Brian Peasland EXPERT RESPONSE FROM: Brian Peasland

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site
>
QUESTION POSED ON: 19 August 2002
Which would be best RAID configuration, i.e RAID 0, RAID 1, RAID 10, RAID 01, RAID 2, etc., suited for the Oracle 9i database?


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


There is no "one size fits all" when talking about configurations for any database. But I'll give you an overview of each of the RAID levels, what they do, and how they fit into the picture. Then you can decide what is best for your database.

RAID 0 - This is where datafiles are striped across mutliple disk volumes. But this is not true "RAID" since it offers no redundancy. If you lose a disk volume, you lose the data on that disk. RAID 0 does offer some nice increases in disk performance since multiple disk volumes are in use.

RAID 1 - This is where data on one disk volume is completely mirrored on another disk volume. If you lose a disk volume, then no problem. The system just gets the data from the other volume. The downside to RAID 1 is that you need twice as much disk. This isn't a terrible problem if your database is only 5 GB in size. But it can be very costly if you are building a multi-terabyte database.

RAID 0+1 (Sometimes called RAID 10) - This combines the best of the two above. Your datafiles are striped across multiple volumes and those volumes are all mirrored. You get very nice disk throughput and very good redudancy. Like RAID 1, you will need twice as much disk. If you can afford it, then RAID 0+1 is probably the "best" solution. Databases are typically write-intensive creatures. This configuration works well for database systems.

RAID 3 - This stripes data across multiple volumes. One volume is devoted to "parity bits". This bits are used to reconstruct data should you lose a data volume. Computing parity bits on write operations can slow those write operations down a bit. So database performance isn't nearly as good as RAID 0+1. But you don't need twice the disk either.

RAID 5 - This is similar to RAID 3, where parity bits are computed and used to reconstruct lost data. The difference is that the parity bits are not stored on a separate disk, they are striped across all disk, interspersed with the data. RAID 5's biggest advantage is that it uses the least amount of disk space for recovering lost data. So you don't have to buy as much disk. Unfortunately, RAID 5 has the worst write performance of all of these RAID levels. Write operations can be twice as slow compared to a normal file system. No write intensive files should be placed on RAID 5 volumes otherwise you database peroformance can really slow to a crawl. People like RAID 5 because it is the cheapest solution. But the write penalties make this RAID level unacceptable for most Oracle databases, in my opinion. That being said, I do have one multi-terabyte database that uses RAID 5 for most operations. This database gets updated once every two months. So the database writes are kept to a minimum. The database is "read-mostly". But any write intensive database files for this database (online redo logs, control files, etc.) are placed on RAID 0+1 volumes.

Hopefully, you now have an idea of what each RAID level does and a brief synopsis of their strengths and weaknesses. This should let you choose the RAID level that is best for you.

For More Information




Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts