Sql-server – Recommended disk/partition setup for a SQL Server

partitionraidsql server

I'm looking for some advice regarding the best way to set up my disks/partitions for SQL Server. Here are some of my major concerns:

How should the SQL files be seperated (data files, logs, temp)?

Is it better to RAID a lot of HDDs and partition the space or to make multiple RAIDs with fewer disks for each RAID?

Should data and log files be on a different RAID type?

Should the default databases (master,msdb, etc…) be located on the C: or should they be in the same place as the other data/log files?

Best Answer

Here's a nice blog post: http://sqlserveradvisor.blogspot.com/2009/03/sql-server-disk-configuration.html

White paper on disk alignment: http://msdn.microsoft.com/en-us/library/dd758814.aspx

In short your OS should be on RAID 1, your data files on RAID 10 (preferably) and log files on RAID 1.

SQL Performance article: http://www.sql-server-performance.com/faq/raid_1_raid_5_p1.aspx

PDF on top 10 best performance tips: http://www.stlssug.org/docs/Best_Practices_for_Performance.pdf

Also remember to put your TEMPDB on a separate disk for performance reasons. I'm sure Paul Randal will come in here and blow your mind with why in a bit.

MS says why for tempdb: http://msdn.microsoft.com/en-us/library/ms175527.aspx

Related Topic