Link to home
Avatar of dba2dba
dba2dba

asked on

Database File Configuration

I am in process of creating a new SQL 2005 cluster.

I am aware that the best practice is to use separate drives for datafiles and log files.

But, Would it help improve the Database performance, If I put each datafile and logfile in their dedicated drives.

Thanks,
Avatar of BrandonGalderisi
BrandonGalderisi
Flag of United States of America image

In theory yes, if disk speed ends up being your bottleneck.  Things to note.  They should not be different logical partitions on the same physical drive.  If the "drives" are located on SAN storage, you will likely see no performance benefit since the SAN will respond as fast as it can whether you are accessing one virtual drive or two.
Avatar of dba2dba
dba2dba

ASKER

Thanks for the Response.

Can you please explain "They should not be different logical partitions on the same physical drive". Do you mean a VM infrastructure.

Also, the drives mentioned are attached to SAN. How to know if the SAN has reached its maximum level of performance.

What would be my metrics to decide if I wanted to go with dedicated drive for each dtabase file.

Thanks,
Let's say you have a 1TB hard drive.  And you split that drive up into 4x250GB partitions.  They are all still the same hard drive so splitting data files across multiple "drives" or drive letters will not improve performance.

Each SAN is different so I don't know what monitoring capabilities you get.  I don't have experience with performance monitoring SAN systems.

In SQL 2005+, there are new DMV introduced to help detect IO bottlenecks (as well as lots of other statistics about SQL Server).

http://technet.microsoft.com/en-us/library/cc966540.aspx#_I/O_Bottlenecks
Avatar of dba2dba

ASKER

Thanks Brandon for the Explanation.

Incase the drives are from same SAN Drive. Do you think there would be any negative impact of having dedicated drives for database files. I understand that it could not give any improvement. But want to make sure it does not have any negative affect.

Thanks,
ASKER CERTIFIED SOLUTION
Avatar of BrandonGalderisi
BrandonGalderisi
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of dba2dba

ASKER

Brandon, Thanks for your response.

I got a confirmation from Storage team that we are going to get dedicated channels for all the drives from SAN.

Im planning to ask for a drive for each database file.

eg:
1 drive for ReportServer Datafile
1 drive for ReportServer LogFile
1 drive for ReportServerTempDB Datafile
1 drive for ReportServerTempDB Logfile
and so on...


Is this a good way to proceed....

Thanks,
Avatar of dba2dba

ASKER

BrandonGalderisi  Thanks for your informative responses.