[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
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
Medium Priority
?
254 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 124

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 124
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
 
LVL 124
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 Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

Windocks is an independent port of Docker's open source to Windows.   This article introduces the use of SQL Server in containers, with integrated support of SQL Server database cloning.
When trying to connect from SSMS v17.x to a SQL Server Integration Services 2016 instance or previous version, you get the error “Connecting to the Integration Services service on the computer failed with the following error: 'The specified service …
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.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

834 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