Multiple instances consolidation practices

4,030 views

Published on

There are many ways to reduce costs in IT. Consolidation is one of these ways. Many IT managers thinking only about virtualization when consider consolidation. Multi-instancing is very legitimate and effective way too. Managers and DBAs have to understand benefits and pitfalls, difference from virtualization. Presentation is unveiling real-world practice and experience of support of over 70 servers with at least 6 instances on each with over 2500 databases. This presentation can be helpful for infrastructure managers, system architects, and DBAs .

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
4,030
On SlideShare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
104
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Multiple instances consolidation practices

  1. 1. MS SQL Server: Multiple Instances Consolidation Practices<br />Alexander Prusakov<br />Senior MS SQL Server DBA<br />May, 2010<br />
  2. 2. Sr. MS SQL Server DBA (consultant) in one of the biggest financial institution in the world <br />20+ years of IT experience (business users, ERPs, databases and applications support, software development, data warehousing, etc.)<br />15+ years of experience with MS SQL Server<br />MBA, MCITP: Database Administrator 2005/2008<br />Industries: banking/finance, energy, education, health care, manufacturing, IT consulting.<br />Speaker’s Background:<br />
  3. 3. Why;<br />How;<br />What to expect and how it works;<br />Summary;<br />Q and A.<br />Agenda:<br />
  4. 4. Terms<br />Consolidation refers to the merger from multiple computer sources into single.<br />Virtualization refers to the abstraction of computer resources.<br />Multi-instancing refers to the utilization of the same computer sources by multiple independent SQL Servers<br />
  5. 5. Dedicated service<br />
  6. 6. Dedicated service<br />
  7. 7. Multi-instancing <br />Virtualization<br />
  8. 8. Multi-instancing<br />Virtualization<br />
  9. 9. Unexpected need in new SQL Server without budget for a hardware;<br />Buzz about virtualization;<br />Enterprise environment;<br />Curiosity;<br />How did I step in:<br />
  10. 10. Reduce hardware cost<br /> Reduce pollution (carbon footprint)<br />Reduce labor/support cost<br /> Increase resources utilization <br /> Look nice in other’s eyes<br />Why to consolidate:<br />
  11. 11. Reduce hardware cost:<br />Actually it might not (MSRP pre-configured estimated):<br />Enterprise level server: 16 sockets, 196GB (16P) about<br />$175,000.00;<br />HP ProLiant DL785G5 8380 -128GB (8P)<br />$34,999.00;<br />HP ProLiant DL380G6 E5504-4GB (1P)<br />$ 2,289.00 x 8 = $ 18,312.00;<br />$ 2,289.00 x 16 = $ 36,624.00;<br />
  12. 12. Real Benefits:<br />Space: 2U x 8 = 16U vs. 7U<br />Power: 460x8 = 3,680 vs. 1,300 W<br />Cooling cost: vary<br />Reduced carbon footprint (including manufacturing and usage)<br />Ability to add physical CPUs and/or memory<br />
  13. 13. Reduce support cost:<br />Cost of annual licensing;<br />OS – 1 to 8;<br />SQL Server: 8 x 5,999.00 = 47,992.00<br /> 8 x 24,999.00 = 199,992.00<br />Load performance improvement;<br />Cost of SysAdmin support(1 vs. 8);<br />Cost of DBA time (patch 1 vs. 8);<br />Cost of real estate and other<br />
  14. 14. Extras bonus from Enterprise version:<br /> Data compression;<br /> Resource governor;<br />Table partitioning;<br /> Hot-add CPU and memory;<br />Policy-based management;<br />Data collector;<br /> etc.<br />
  15. 15. Total workload throughput on the system versus total number of databases.<br />http://www.dell.com/downloads/global/solutions/ServerConsolidation1.doc<br />
  16. 16. Workload throughput on each database versus the number of databases on the system<br />http://www.dell.com/downloads/global/solutions/ServerConsolidation1.doc<br />
  17. 17. Effective memory for procedure cache in different configurations <br />http://www.dell.com/downloads/global/solutions/ServerConsolidation1.doc<br />
  18. 18. Increase resource utilization:<br />Ability to re-distribute CPUs and memory between instances;<br />Parallel processing (especially beneficial in non-business hours);<br />Now you look GREAT!<br />Or may be not<br />
  19. 19. Multi-instancing vs Virtualization<br />
  20. 20. Multi-instancing vs Virtualization<br />
  21. 21. Multi-instancing vs Virtualization<br />* http://msdn.microsoft.com/en-us/library/cc768536(BTS.10).aspx<br />
  22. 22. How:<br /> Install multiple instances;<br />Create multiple TempDBs;<br />Limit CPUs and memory per instance;<br />Leave enough memory for OS;<br />Monitor performance;<br />Test performance before move to production;<br /> Know your IO system;<br /> Set up thresholds;<br />
  23. 23.
  24. 24.
  25. 25. What is useful:<br /> Microsoft Performance Dashboard;<br /> Quest Foglight software;<br />Good DBA;<br />What is not that much:<br /> Single Instance Reports;<br /> Profiler;<br />Sysadmins.<br />
  26. 26. Usefulness:<br />
  27. 27. And NOT:<br />
  28. 28. But can be better:<br />
  29. 29. Steady but needs a lot of patience from DBA;<br />Business has to follow rules;<br />Adds extra work to manage and keep records on DBs;<br />Harder tune performance;<br />Higher cost of error (including planning).<br />How it works :<br />
  30. 30. How:<br />SQL Server Engines for users are separated on different instances;<br /> SSAS and SSRS are separated from database engines;<br />Each instance is used by databases of one business unit;<br />Application has no elevated rights on any shared server;<br /> Have a big boss on your side!<br />
  31. 31. Push back from development team on:<br />CPU utilization;<br />IO utilization (IOPS);<br />Database schema optimization;<br />Query tuning;<br />What to expect:<br />
  32. 32. Push back from business:<br />DBA has to be involved;<br />One instance down – all business units might be down;<br />IT cost saving <> business cost;<br />Is there a shortcut?;<br />What to expect:<br />
  33. 33. Unexpected errors;<br /> A lot of work to build monitoring and administration tools;<br /> Fun, fun, a lot of fun <br />What to expect:<br />
  34. 34. Bigger the farm – better savings;<br />Bigger the farm – bigger the headache;<br />Not that scary if design and implementation has been done carefully.<br />Summary:<br />
  35. 35. Internet – find your way, do it yourself<br />Microsoft –excellent documentation, big community. For example:<br />http://msdn.microsoft.com/en-us/library/ee819082.aspx<br /> Hardware Manufactures –hard to find the truth<br /> Consultants –result may be vary<br />Where to look for more:<br />
  36. 36. Slides can be found on:<br />http://indiana.sqlpass.org/Default.aspx?tabid=2742<br />Email: a_prusakov@yahoo.com<br />Questions & Open Discussion<br />Thank You!<br />

×