Solved

would putting the tempDB on a separate logical drive help performance on a virtual machine like it would running on a physical box?

Posted on 2015-02-05
5
235 Views
Last Modified: 2015-02-12
i have heard the logic and think in understand the reasoning of putting the tempDB on a separate physical drive when the SQL server is a standalone box.

and i *think* it is a combination of being on a separate controller and not sharing physical platter seeks when reading and writing data.


my question is
would that performance translate if the SQL server is a virtual machine?
is there a benefit to putting the tempdb on a different logical drive on the VM?

is there a separate "virtual" controller for the 2nd drive?


(also i think by extention...   putting the tempdb on a separate "drive" that is actually just a separate partion of one physical drive would not really provide the desired benefit either.... right?

also...  if this VM happens to be a VM on an Azure platform in the cloud ...  does that affect anything?


TIA
0
Comment
Question by:CASorter
  • 3
  • 2
5 Comments
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 40592542
if you put the virtual disk, on a different faster datastore - yes.

but if the datastore, is the same speed for all virtual disks - it's the same!
0
 

Author Comment

by:CASorter
ID: 40592587
ya, that gets more into the virtual server world than i know.


i know nothing of how it is set up or how the drives are allocated.

can you have a virtual disk on a different datastore than the VM?
0
 
LVL 119
ID: 40592593
Yes, you can have the VM configuration on one datastore, and have different virtual disks, on fast and slow datastores, with different technologies. e.g. SSD/Flash or Standard slow hard drives.
0
 

Author Comment

by:CASorter
ID: 40592600
0
 
LVL 119
ID: 40592614
It's a little different, because you select which storage you want to use, but it would apply.

e.g. Premium or Standard, so OS on Standard Storage, and tempdb on Premium.

or you entire VM, on Premium Storage.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

809 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