Top Banner
Copyright © 2007 Quest Software SQL Server Consolidation: SQL Server Consolidation: Perfect Planning Prevents Poor Perfect Planning Prevents Poor Performance Performance
28

Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Dec 15, 2015

Download

Documents

Brodie Joslin
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Copyright © 2007 Quest Software

SQL Server Consolidation:SQL Server Consolidation:Perfect Planning Prevents Poor PerformancePerfect Planning Prevents Poor Performance

Page 2: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Today’s Speaker

Brent Ozar is a SQL Server Domain Expert based in the Houston

area with Quest Software. Brent has a decade of broad IT

experience, performing systems administration and project

management before moving into database administration.

In his current role, Brent specializes in performance tuning,

disaster recovery and automating SQL Server management.

Previously, Brent spent 2 years at Southern Wine & Spirits, a

Miami-based wine & spirits distributor.

Brent has experience conducting training sessions, has written

several technical articles, and blogs at www.BrentOzar.com.

Page 3: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Consolidation Phases

1. Problems

2. Possibilities

3. Performance

4. Planning & Priorities

5. Post-Consolidation

6. Payoff

Page 4: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Phase 1: The Problems

Page 5: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Phase 1: The Problems

Page 6: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Phase 1: The Problems

• Datacenter space• Datacenter cooling• Datacenter power• Budget cutbacks• Maintenance & licensing

Page 7: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Phase 2: The Possibilities

• One Instance, One OS• Separate Instances, One OS• Separate Instances, Separate OS’s (Virtualization)• HP PolyServe

Page 8: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Factors in the Decision

• Security• Memory• Storage• Extreme performance needs• Maintenance windows• Disaster recovery planning• SQL Server versions• Time

Page 9: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Phase 2: The Possibilities

• One Instance, One OS• Separate Instances, One OS• Separate Instances, Separate OS’s (Virtualization)• HP PolyServe

Page 10: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Phase 3: Performance

• Can’t oversubscribe servers• Need to know loads• Can’t just use average numbers

Page 11: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

11

Phase 3: Performance Monitor

• Counter list at http://SQLServerPedia.com

Page 12: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

12

The Manual Way: Analyzing Data with Excel

Page 13: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

13

The Manual Way: Analyzing Data with Excel

Page 14: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

14

The Manual Way: Analyzing Data with Excel

Page 15: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

15

The Manual Way: Analyzing Data with Excel

Page 16: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

16

Phase 4: Planning & Priorities

• Baby steps: one server at a time• Biggest loads go first• Detach/reattach versus backup/restore• Plan B: Backout• Back up right away and take measurements• AFTER backups, watch the jobs

Page 17: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

17

Phase 5: Post-Consolidation

• Ongoing performance monitoring• Be ready for complaints• Know your loads before adding more• Watch out for rogue users & apps• Plan for service packs & new versions

Page 18: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

18

Post-Consolidation Chargebacks

• Track storage growth by application

Page 19: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Phase 6: The Payoff

• Lots of work• Lots of manual paperwork• Lots of risk• So who gains the reward?

Page 20: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

The Payoff: How One DBA Got Paid

Page 21: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

The Payoff: How One DBA Got Paid

Page 22: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

The Payoff: How One DBA Got Paid

• Covered what consolidation is• Covered who needed to put in work• Covered the risks• Covered the mitigation (new software needed)

Page 23: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

The Payoff: How One DBA Got Paid

Page 24: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

The Payoff: How One DBA Got Paid

Page 25: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Real-World Use Case

• DBA tasked with environment wide consolidation project.– Where do I start?– What data do I collect?– How do I create different scenarios?– How long can I expect the target machine(s) to handle the

consolidated load?– How do I balance space requirements vs. performance

requirements?– Once I execute the consolidation project how do I confirm the

target server(s) are performing as expected?– How do I communicate this to the executive level?

25

Page 26: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Got Questions? Here’s Where To Go Next:

Quest Product Resources:

http://sqlserver.quest.com

Blogs, Tips and Resources:

http://sqlserverpedia.com

Page 27: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

27

How We Can Help

1. Collecting Dataa. Capacity Manager for SQL Server

b. Spotlight on SQL Server Enterprise

2. Indentifying the destinationa. Benchmark Factory

b. Capacity Manager for SQL Server

3. Creating the Projecta. Capacity Manger for SQL Server

b. Spotlight on SQL Server Enterprise

4. Consolidate!a. LiteSpeed for SQL Server

b. Toad for SQL Server / Change Director for SQL Server

Page 28: Copyright © 2007 Quest Software SQL Server Consolidation: Perfect Planning Prevents Poor Performance.

Consolidation, Quest and You…

• Discovery Wizard for SQL Server (Beta)– What’s out there? Stop the sprawl!

• Benchmark Factory– How much can that machine handle? Replay real workloads at higher virtual

user loads. • Capacity Manager

– Collect, Forecast and Plan• Spotlight on SQL Server

– Performance monitoring and historical collection• LiteSpeed for SQL Server

– Migrate faster (and don’t forget to revamp your backup strategy based on the disk savings).

• Change Director for SQL Server– Compare and sync

• Toad for SQL Server– Develop, Manage and Tune

28