Solved

How can I optimize SQL Server 2005 Running in Hyper-V?

Posted on 2008-10-21
5
996 Views
Last Modified: 2013-11-11
First off, I'm a SQL noob. My company uses an application called CCH ProFx Document, which uses a SQL backend. When it was first installed, it was running in VMWare Virtual Server. Approx. a month ago I converted the VMDK to Windows Server 2008 Hyper-V and the problems started happening. CCH claims its because I converted to Hyper-V. They think SQL is overwhelming the I/O path of Hyper-V. What can I do to find and correct any I/O problems I have? It's SQL 2005 Standard running on Windows Server Standard 2003, 4 GB of allocated RAM. The host is a Dell 2900 Dual Xeon Quad 2.5 Ghz w/ 8GB RAM. 3 15k 146GB SAS drives.
0
Comment
Question by:NetworkSolutions
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:randy_knight
ID: 22770149
SQL server in a VM is a bad idea in general.  The achilles heel of VM's is I/O, so I'm not surprised that you're having this issue.  That said, I know that in VMWare, you can map a physical drive to a virtual one so that you get the benefit of all the spindles.  Not sure about Hyper-V as I haven't messed with it.

Why the change to HyperV?
0
 

Author Comment

by:NetworkSolutions
ID: 22770747
We're were in VM Server 1.6 that had memory limitations. Hyper-V gives us more flexibilty.
0
 
LVL 4

Expert Comment

by:randy_knight
ID: 22771360
My stance has always been and will continue to be "no SQL Server on VM".  You might have better luck in the Server 2008 forum.
0
 
LVL 5

Accepted Solution

by:
kollenh earned 500 total points
ID: 22815142
I've run SQL Server 2005 inside Hyper-V without any issues.
Optimizing a virtualized SQL box isn't much different than a physical, as it's all about I/O.  What I've done is setup three separate virtual disks for the SQL box - one for OS, one for trans logs, one for database.  Make sure all are connected via a SCSI controller and if possible, create each virtual disk on separate physical disks to leverage multiple bus speeds.
While not the best for a big, heavily utilized database server it works just fine for smaller, purpose-oriented dbs and development work.  If it ran fine under VMWare, it will run fine under Hyper-V.
Let me know if you get stuck making the specific changes.
0
 

Author Closing Comment

by:NetworkSolutions
ID: 31508409
I came across a similar recommendation somewhere else as well. Since you're the only one to respond with a constructive suggestion, I'll award you the points. Thanks.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Issue: One Windows 2008 R2 64bit server on the network unable to connect to a buffalo Device (Linkstation) with firmware version 1.56. There are a total of four servers on the network this being one of them. Troubleshooting Steps: Connect via h…
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

920 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now