- The performance of a storage system used by SQL Server is dependant on various configuration parameters that are applied at the partition, disk, controller, SAN, RAID and device driver levels. In some instances these configuration parameters are tuned at each level to provide optimal performance for the entire storage solution. In some, these configuration values are left to the default. It is important to review these configuration parameters with the storage system vendor to make sure it is the appropriate setting for SQL Server I/O patterns.
- One of the important configuration parameter is the disk partition alignment or the starting offset of a partition on a disk. If this value is specified incorrectly at the time of creation of the partition, then the I/O performance could suffer. This is very important when these partitions form RAID volumes and the partition alignment is not appropriate for the stripe unit size. If the partition alignment is not configured properly, I/O requests could take more time to finish since they might be split into multiple requests.
- The default partition alignment value chosen depends on the Operating System where the partition was created. The default value used while creating partitions in Windows Server 2008 is 1,048,576 bytes. This value works well with commonly used stripe unit sizes of 64 KB, 128 KB and 256 KB. When you create a partition ensure that the starting offset is an exact multiple of the stripe unit size. For example, Partition_Starting_Offset modulo Stripe_Unit_Size should be zero.
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.