Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Database File Configuration

Posted on 2010-09-08
7
Medium Priority
?
351 Views
Last Modified: 2012-05-10
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,
0
Comment
Question by:dba2dba
  • 4
  • 3
7 Comments
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 33630245
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
 
LVL 8

Author Comment

by:dba2dba
ID: 33630495
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
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 33630623
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Author Comment

by:dba2dba
ID: 33631812
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
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 2000 total points
ID: 33632567
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
 
LVL 8

Author Comment

by:dba2dba
ID: 33635980
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
 
LVL 8

Author Comment

by:dba2dba
ID: 33719221
BrandonGalderisi  Thanks for your informative responses.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

824 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