Solved

Database File Configuration

Posted on 2010-09-08
7
344 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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 500 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article I will describe the Backup & Restore 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.
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

758 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