dbTalk Databases Forums  

Raid 1 vs Raid 5

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss Raid 1 vs Raid 5 in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Eric Ward
 
Posts: n/a

Default Raid 1 vs Raid 5 - 02-19-2004 , 08:11 AM






Should I run my transaction log on Raid 1 or Raid 5? How about the data file
Right now I have them both running on Raid 5

Thanks for the help.

Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Raid 1 vs Raid 5 - 02-19-2004 , 08:46 AM






Ideally they should be on separate arrays and the Logs run best on RAID 1
vs. RAID 5. RAID 5 is better than 1 for the data but if you start to get
any performance issues disk related you may want to think about 0+1 instead.

--

Andrew J. Kelly
SQL Server MVP


"Eric Ward" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Should I run my transaction log on Raid 1 or Raid 5? How about the data
file?
Right now I have them both running on Raid 5.

Thanks for the help.



Reply With Quote
  #3  
Old   
Eric Ward
 
Posts: n/a

Default Re: Raid 1 vs Raid 5 - 02-19-2004 , 09:11 AM



Great thanks for the info

Another question: We are running Raid 5 and we just lost a disk (i.e. it went bad) and when the disk went out it corrupted our database file. Would Raid RAID 0+1 have prevented this corruption


----- Andrew J. Kelly wrote: ----

Ideally they should be on separate arrays and the Logs run best on RAID
vs. RAID 5. RAID 5 is better than 1 for the data but if you start to ge
any performance issues disk related you may want to think about 0+1 instead

--

Andrew J. Kell
SQL Server MV


"Eric Ward" <anonymous (AT) discussions (DOT) microsoft.com> wrote in messag
news:83787338-25DE-4437-A85A-97765E6BA851 (AT) microsoft (DOT) com..
Quote:
Should I run my transaction log on Raid 1 or Raid 5? How about the dat
file
Right now I have them both running on Raid 5
Thanks for the help




Reply With Quote
  #4  
Old   
Doug Guerena
 
Posts: n/a

Default Re: Raid 1 vs Raid 5 - 02-19-2004 , 09:41 AM



If you have Raid 5 properly implemented you should be able to recover your database to the point it was before the one disk failure. Raid 5 will allow you to pop in a new disk in the place of the old disk and have the new disk rebuilt.

Reply With Quote
  #5  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: Raid 1 vs Raid 5 - 02-19-2004 , 10:10 AM



That's hard to say as it depends on what caused the outage and how it
occurred. RAID 0+1 is definitely more fault tolerant but there is always a
chance hardware can corrupt a file.

--

Andrew J. Kelly
SQL Server MVP


"Eric Ward" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Great thanks for the info.

Another question: We are running Raid 5 and we just lost a disk (i.e. it
went bad) and when the disk went out it corrupted our database file. Would
Raid RAID 0+1 have prevented this corruption?
Quote:

----- Andrew J. Kelly wrote: -----

Ideally they should be on separate arrays and the Logs run best on
RAID 1
vs. RAID 5. RAID 5 is better than 1 for the data but if you start to
get
any performance issues disk related you may want to think about 0+1
instead.

--

Andrew J. Kelly
SQL Server MVP


"Eric Ward" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:83787338-25DE-4437-A85A-97765E6BA851 (AT) microsoft (DOT) com...
Should I run my transaction log on Raid 1 or Raid 5? How about the
data
file?
Right now I have them both running on Raid 5.
Thanks for the help.






Reply With Quote
  #6  
Old   
Geoff N.Hiten
 
Posts: n/a

Default Re: Raid 1 vs Raid 5 - 02-19-2004 , 11:31 AM



RAID 5 has some bad overhead requirements for transactional updates. These
requirements increase in proportion to the number of drives in the RAID set.
Thus, the larger the spindle count, the poorer the transactional write
performance. RAID-10 performance is pretty linear for transactional writes
as the RAID set grows. For large writes, a good caching RAID controller can
limit the overhead of a RAID-5 array by 'saving up' the writes until the
entire stripe is ready to go to disk, thus avoiding the extra reads to
complete the stripe parity block. RAID-10 performance improves for large
block writes since the data is spread out over more spindles. These are
general rules, your particular controller or SAN may be tuned differently.

The entire point of RAID 5 or RAID 1+0 is to provide redundancy. If your
controller lost a single drive and corrupted the disk, I would consider it
either a malfunctioning or misconfigured piece of hardware. Either way, you
need to do something about it.

--
Geoff N. Hiten
Microsoft SQL Server MVP
Senior Database Administrator
Careerbuilder.com

I support the Professional Association for SQL Server
www.sqlpass.org

"Eric Ward" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Great thanks for the info.

Another question: We are running Raid 5 and we just lost a disk (i.e. it
went bad) and when the disk went out it corrupted our database file. Would
Raid RAID 0+1 have prevented this corruption?
Quote:

----- Andrew J. Kelly wrote: -----

Ideally they should be on separate arrays and the Logs run best on
RAID 1
vs. RAID 5. RAID 5 is better than 1 for the data but if you start to
get
any performance issues disk related you may want to think about 0+1
instead.

--

Andrew J. Kelly
SQL Server MVP


"Eric Ward" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:83787338-25DE-4437-A85A-97765E6BA851 (AT) microsoft (DOT) com...
Should I run my transaction log on Raid 1 or Raid 5? How about the
data
file?
Right now I have them both running on Raid 5.
Thanks for the help.






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.