Solved

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

Posted on 2008-10-21
5
1,005 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

820 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