Solved

Partition alignment offset and Allocation unit size in Windows 2003 Server system with SQL 2005 DB

Posted on 2009-07-01
2
1,191 Views
Last Modified: 2012-05-07
Hi,

I've a couple of Windows 2003 servers with SQL 2005 DB installed and I plan to install some new ones. They are all VMware virtual machines and they have usually 3 partitions: C: with system, D: with SQL database and E: with some installation files. I've searched in google that to get better performance of system and DB I should customize partition(s) allignment offset.

A couple of advices I could find in this article: http://www.experts-exchange.com/Storage/Misc/Q_23977512.html?sfQueryTermInfo=1+64+align+offset

So... I've made use of Dell's advice and fixed allocation unit size for partition on which SQL DB resides to 64K. Partition's alignment offset has been set to 64K as well. My questions are:

- Should I also setup the same offset for C: partition (where system resides)? What about allocation unit size for C partition?
- Does somebody have a link to webpage where partition alignment, offsets and all this stuff is described in a pretty simple way?

Regards.
0
Comment
Question by:imgadmin
2 Comments
 
LVL 2

Accepted Solution

by:
Sguzek earned 200 total points
ID: 24754082
"Should I also setup the same offset for C: partition (where system resides)? "

It is not neccessary however it doesn't hurt at all, and it is better to do it than not to do.  Select offset equal to cluster size or its multiply. But do not expect any fabulous performance gains due to partition aligment
.
"What about allocation unit size for C partition"

Bigger allocation unit (cluster size) - more space is wasted -especially in each place when ther is a big numbe of small files - and system partition it is such a a place where you will have a lot of small files. Even 1 byte file will take one cluster.  Moreover writting such a file requires to write 64kB of data - quite a big overhead, isn' it ?

I would rather go for standard NTFS 4kB cluster for system partition.

Regards,
Slawek
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Having issues meeting security compliance criteria because of those pesky USB drives? Then I can help you! This article will explain how to disable USB Mass Storage devices in Windows Server 2008 R2.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now