Re: Set up OS/RAID by Leythos
Leythos
Sat Nov 01 09:15:27 CST 2003
In article <08c801c3a075$f7921670$a601280a@phx.gbl>,
anonymous@discussions.microsoft.com says...
> I have a small company-2 remote offices and 11
> workstations with the server in one office. We utilize
> Access and SQL databases for most all of our data, part
> of which is website generated.
> I have a server which currently has 5 drives-4 are in a
> RAID5 array and 1 is hot spare. I was recently told that
> having the OS on that array really slows down the SQL
> performance.
> I am not a whiz on this so does anybody have any better
> suggestions. I can add one more drive to my case and
> setup 1-RAID5 array and 1-RAID1 array if that might help.
> Thanks for any insight.
> Carl
A properly configured drive system for running MS SQL (or about any
other database) would be as follows:
Drive 0, 1 - Mirror - OS
Drive 2, 3 - Mirror - database log files
Drive 4,5,6,7,8 - Raid 5 - Database data files
You can also do this:
Drive 0, 1 - 6GB Partition - Mirror - OS
Drive 0, 1 - XXGB Partition - Database log files
Drive 2,3,4,5,6 Raid 5 - Database data files.
One other thing that I do is install a large drive (or mirror) where I
run the SQL backup files to. Meaning, I don't run the backup directly to
tape, I run a nightly SQL backup to the "G" drive, have some scripts
that move a copy to a history folder, and then I run the tape backup
against the "G" drive single nightly backup file. This means that the
tape drive is not hitting the data/log drives and that the nightly
backup completes very quickly.
In the case of most SQL servers (stand alone) there is not much
happening on the OS drives, but the transaction logs (which are
sequential) and the data drives (which is random for the most part) get
hit very hard.
In SBS, you are doing a lot with the OS, so it would be better to have
separate drives for the transaction logs.
I would even go as far as to put the OS and Transaction drives on a
different SCSI channel than the data drives. In fact, if you have three
channels, put the OS drives on channel 0, the logs on channel 1 and the
data drives on channel 2 (may require two SCSI cards).
With just 5 drives, don't keep the 5th one as a hot spare, put it into
the array - you need to available bandwidth that the extra spindle gives
you. If a drive fails you will suffer some performance, but since you
have all your eggs in a single R5 array you could use the extra
throughput of the online drive.
All this being said, you "CAN" run all of your system in a single R5
array, but I would still partition it into the above format.
--
--
spamfree999@rrohio.com
(Remove 999 to reply to me)