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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

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

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
AJB_KRC
Asked:
AJB_KRC
1 Solution
 
Andrej PirmanCommented:
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
 
AJB_KRCAuthor Commented:
Thanks Labsy - we've started moving to single LUN's so we'll see how it goes!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now