11
Virtualizing SQL Server: 8 Things To Avoid Thomas LaRock Technical Evangelist Confio Software

Virtualizing SQL Server: 8 Things to Avoid

Embed Size (px)

DESCRIPTION

I have been involved in virtualization projects for about ten years now. In that time I have had the opportunity to track my own list of best practice items. It's a list I share freely with customers that seek out virtualization advice. I can tell that virtualization (and Cloud) efforts are on the rise simply by the number of requests I get for help, specifically for virtualizing SQL Server. I like to call this list my "facepalm" special, as any one of these essentially triggers a facepalm reaction. They have helped my customers in the past and I am certain they will help you.

Citation preview

Page 1: Virtualizing SQL Server: 8 Things to Avoid

Virtualizing SQL Server: 8 Things To Avoid

Thomas LaRockTechnical EvangelistConfio Software

Page 2: Virtualizing SQL Server: 8 Things to Avoid

• Don’t recycle old hardware for use as a new production host• If the hardware is old now, imagine how old it will be

in another 18 months• Due to licensing costs, it may be cheaper to buy new

hardware and provision as a host

1. Build Your Own

2http://www.confio.com/freetrial

Page 3: Virtualizing SQL Server: 8 Things to Avoid

• You need to set performance SLAs• You do this with baselines• Measure logical I/O and CPU costs for your queries

2. No Performance Expectations

3http://www.confio.com/freetrial

Page 4: Virtualizing SQL Server: 8 Things to Avoid

• RDM v VMDK; which one do you want?

• Know the differences in RAID as well

• Understand what can cause “noisy neighbor” syndrome

3. Select Wrong Disk Choice

4http://www.confio.com/freetrial

Page 5: Virtualizing SQL Server: 8 Things to Avoid

4. Thin Provisioning

5

• If you don’t have room now, what makes you think you will later?

• Important to know what you actual sizes are, otherwise recovery may be impossible

http://www.confio.com/freetrial

Page 6: Virtualizing SQL Server: 8 Things to Avoid

5. Over-allocation of Memory and/or CPU

6

• It leads to over-commit, which is often bad for performance

• Allow for 1.5:1 vCPU to logical core ratio

• Do not over allocate memory

http://www.confio.com/freetrial

Page 7: Virtualizing SQL Server: 8 Things to Avoid

6. Trusting O/S Counters

7

• Standard counters offer no visibility to the Hypervisor layer• Need to examine VM, Hyper-V specific counters• Understand if bottleneck is with host, guest, or internal to

database engine

http://www.confio.com/freetrial

Page 8: Virtualizing SQL Server: 8 Things to Avoid

7. Running It All At Once

8

• Important to know your workloads• vMotion can help• Leave room for growth and

movement

http://www.confio.com/freetrial

Page 9: Virtualizing SQL Server: 8 Things to Avoid

8. Capacity Planning

9

• Often a futile effort• Business needs shift quickly, throwing

out all your metrics that try to predict growth

• Need to have room to grow, otherwise planning won’t matter

http://www.confio.com/freetrial

Page 11: Virtualizing SQL Server: 8 Things to Avoid

• DPA will help correlate queries with VMWare metrics• Installs in minutes• Get answers in less than 5 clicks

Full interactive demo available athttp://www.solarwinds.com/database-management-software.aspx

Database Performance Analyzer Can Help!

11http://www.confio.com/freetrial