Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RAID1 or RAID5

Status
Not open for further replies.

Roomer

Technical User
Oct 1, 2001
100
GB
I have a 8 x 9.1Gb drives which are to house two Oracle instances..

Which RAID scenario would be better for me ??
 
Usually, for databases you would use RAID-1 (mirroring) rather than RAID-5 (striping+parity). However, space considerations may affect your decision on this.

Hope it helps,
Dave V.
 
Roomer,

I agree with Dave. If you have to use RAID5 for space considerations, try to get any logging files on a mirrored LV rather than RAID5. In a real situation, I moved some logging files for an Oracle database from a RAID5 LV to a mirrored LV and noticed definite improvement in performance.

I did some very unscientific tests that consisted of just copying files to various RAID scenarios. The test was copying one large file (more than 1 GB) to RAID5 and RAID1 and copying about 7 GB of thousands of small files to RAID5 and RAID1. For the large file, RAID5 did surprisingly well (within seconds of the RAID1 copy), but I'm not sure if that really equates with what databases do.

 
A preferred method would be to mirror a pair and use them for control files, redo logs etc, then use a raid 5 for the actual database.
 
used straight mirroring.. works well - thanks !
 
Oracle has specific recommendations on what levels of RAID to use for what files.

for example .dbf files they recommend RAID-5
for example log files they recommend RAID-1

I might have them reversed, but the point I'm making is that Oracle has specific guidelines for what to put where.

Bill.
 
Unless I am missing something you only have 1--8gig and 1--9 gig correct? Well your decision has been made for you. With the 2 drives you can only use RAID1. RAID 5, I believe requires 3 hard drives. Raid 1 only needs 2. But it looks like you went with RAID 1. James Collins
Field Service Engineer
A+, MCP

email: butchrecon@skyenet.net

Please let us (Tek-tips members) know if the solutions we provide are helpful to you. Not only do they help you but they may help others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top