Solved

Database File Configuration

Posted on 2010-09-08
7
346 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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…
Viewers will learn how the fundamental information of how to create a table.

821 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