Solved

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

Posted on 2013-12-05
2
283 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

734 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