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,
LVL 8
dba2dbaAsked:
Who is Participating?
 
BrandonGalderisiConnect With a Mentor Commented:
It depends on how the SAN is setup.  If you can get dedicated channels on the SAN for the different LUNs, then you will get better performance.  But that goes a little beyond just the scope of SQL Server itself and more into server and infrastructure planning.
0
 
BrandonGalderisiCommented:
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.
0
 
dba2dbaAuthor Commented:
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,
0
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
BrandonGalderisiCommented:
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
0
 
dba2dbaAuthor Commented:
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,
0
 
dba2dbaAuthor Commented:
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,
0
 
dba2dbaAuthor Commented:
BrandonGalderisi  Thanks for your informative responses.
0
All Courses

From novice to tech pro — start learning today.