Solved

Microsoft SQL Server 2012 - Seperate drives for Logs and DB?

Posted on 2013-12-05
2
276 Views
Last Modified: 2016-11-23
Hi,

I'm just after peoples thoughts really.

All our MS SQL Servers are virtual machines.
Currently the VM's have two LUNS presented to them (iSCSI via Passthrough disks), one for SQL databases and the other for SQL logs
The LUNS all reside on the same group of Dell Equallogic iSCSI Arrays

Considering that the database and log drives both exist on the same storage arrays and on the same disks, is it worth having separate LUNS for databases and logs?

Performance is great with the current setup, so I don't see combining logs and databases on a single LUN will affect that.

We backup every 30 mins using Microsoft DPM

Any thoughts?
0
Comment
Question by:AJB_KRC
2 Comments
 
LVL 18

Accepted Solution

by:
Andrej Pirman earned 500 total points
ID: 39697969
Your thoughts are correct.
Since it is same storage behind, the performance would not be better if you separate logs and DB on different LUNs. Maybe it is even better because using 1 LUN on iSCSI means iSCSI TCP encapsulation occures once, and for 2 LUNs twice, but I think it is unmeasured difference.
The gain would be if you would have LOCAL SSD disks, for example, in RAID1 config on server and use them for LOGS (as locally attached storage). RAID controller cache would help a lot, but that depends on your SQL Read/Write ratio in your usage scenario. IF you use, for example, 70/30 R/W average, then still 70% of performance would depend on reading from database (RAM and cache optimization helps a lot), and 30% are writes to file system (actually to RAID controller's cache).
So with local disks, this WRITE operation would happen faster and since MSSQL considers query done after it is written to LOG file (writing to DB happens afterwards and is not essential for performance!), this would improve some things.

So, in your current config I only see possible improvements in RAM and cache optimization for VM and of course, I hope you are NOT using MSSQL Express, rite? Express has 1GB RAM usage limit :)
0
 

Author Comment

by:AJB_KRC
ID: 39720009
Thanks Labsy - we've started moving to single LUN's so we'll see how it goes!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

830 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