Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Black and White Energy Savings Tuning Truths

487 views

Published on

This presentation shows research completed at the San Mateo IBM Innovation Center - it demonstrates how database tuning and optimization can save $1,000's/year in energy costs on a single server, and save $M's on database license costs - plus performance and productivity will improve as well.

Published in: Technology, Business
  • Be the first to comment

  • Be the first to like this

Black and White Energy Savings Tuning Truths

  1. 1. The Black, White, and GREEN Truths The Ripple Effect Value Of Database Tuning
  2. 2. GREEN IT Mandates…
  3. 3. CPU Busy & Power Consumption 100 tx/sec 200 tx/sec 400 tx/sec idle 600 tx/sec 800 tx/sec
  4. 4. The Ripple Effects of Database Performance Tuning & Optimization… View Video: http://www.youtube.com/watch?v=qWfgYOtYfOk Click film Strip to watch movie locally
  5. 5. Demonstrated Truths <ul><li>Optimized Database Tuning Provides </li></ul><ul><ul><li>Better Response Times </li></ul></ul><ul><ul><li>Improved Ability to Add more Users </li></ul></ul><ul><ul><li>Lower Energy Consumption </li></ul></ul>
  6. 6. Seeing is BELIEVING <ul><li>San Mateo IIC </li></ul><ul><ul><li>IBM p570 with 16 CPUs, 36 GB Memory </li></ul></ul><ul><ul><li>DB2 LUW 9.5.3 with Automatic Tuning Enabled </li></ul></ul><ul><ul><li>IBM Tivoli for Energy Management </li></ul></ul><ul><li>DBI Brother-Panther® </li></ul><ul><ul><li>Rapidly ISOLATES performance issues </li></ul></ul><ul><ul><li>Automates optimized solutions </li></ul></ul><ul><ul><li>Trend Charts verify Tuning Success </li></ul></ul>
  7. 7. PROOF <ul><li>Show Power Used @ CPU idle </li></ul><ul><li>Drive CPUs to 100% busy by simulating 100+ OLTP Web Users </li></ul><ul><ul><li>Show SQL & TX Response Times </li></ul></ul><ul><li>Show Power Used @ 100% CPU busy </li></ul><ul><li>Tune Database with Brother-Panther </li></ul><ul><li>See RESULTS </li></ul><ul><ul><li>Lower CPU Utilization </li></ul></ul><ul><ul><li>Measurably Lower Power Consumption </li></ul></ul><ul><ul><li>SQL & TX Response Time Improvements </li></ul></ul>
  8. 8. Scalability Demonstrated <ul><li>MORE PROOF </li></ul><ul><ul><li>With CPU Capacity Restored, we’ll add more users! </li></ul></ul><ul><ul><li>Database Tuning Facilitates Server Consolidation & Virtualization </li></ul></ul><ul><ul><ul><li>More “Well Tuned” virtualized database servers can be located within a given Frame </li></ul></ul></ul>
  9. 9. IBM San Mateo Innovation Center
  10. 10. Let’s START!
  11. 11. System is Idle
  12. 12. Power Used @ System Idle
  13. 13. 1 User Response Times
  14. 14. 50 Users – Hit the Wall
  15. 15. 101 Users 43 Sec Response Time
  16. 16. 101 Users – Power Consumed
  17. 17. Tune with DBI Brother-Panther® Find the tables with highest I/O rates
  18. 18. Tune with DBI Brother-Panther® Find the statements (SQL) driving I/O to the table…
  19. 19. Tune with DBI Brother-Panther®
  20. 20. IBM Design Advisor advice
  21. 21. Implement new Indexes
  22. 22. After Adding Indexes (Tuning)…
  23. 23. Power after Tuning
  24. 24. Double # Users
  25. 25. Power: 201 Users after Tuning
  26. 26. 401 Users RESPONSE TIME: 0.0018 seconds!
  27. 27. 743 Users
  28. 28. 743 Users
  29. 29. 10-1,400 TX/Sec 18,200 SQL/Second!!!
  30. 30. Overall - SLA Attainment
  31. 31. RESULTS OVERVIEW <ul><li>Un-Tuned Database </li></ul><ul><li>100 Users </li></ul><ul><li>CPU Busy 100% </li></ul><ul><li>3300 Watts </li></ul><ul><li>51 Second Response Time </li></ul><ul><li>Database Tuned with Brother-Panther® </li></ul><ul><li>200 Users </li></ul><ul><li>CPU Busy 6% </li></ul><ul><li>2688 Watts </li></ul><ul><li>.0018 Second Response Time </li></ul>
  32. 32. Bright Idea - 10 60 Watt Bulbs The tuning work we did with Brother-Panther® saved the same amount of energy as turning off TEN 60 Watt Light Bulbs!
  33. 33. Energy Cost @ $0.09/Kwh Dollars per Year
  34. 34. TX Response Times
  35. 35. Myth Busters <ul><li>Throwing Money at more CPUs won’t solve performance & scalability problems if the database isn’t properly tuned </li></ul><ul><li>Database AUTOMATIC Tuning only REACTS to workloads to COMPENSATE for inadequate tuning </li></ul><ul><ul><li>Only proper tuning achieves optimization at lowest possible costs </li></ul></ul>
  36. 36. Your Choice? <ul><li>24% Higher Energy Costs </li></ul><ul><li>Higher Hardware & Software Costs </li></ul><ul><li>Slow Response Times </li></ul><ul><li>Poor Productivity </li></ul><ul><li>Lower Energy Costs for Servers & A/C </li></ul><ul><li>Lower Hardware & Software Costs </li></ul><ul><ul><li>Consolidate more servers! </li></ul></ul><ul><li>Sub-Second Response Times </li></ul><ul><li>Improved Productivity </li></ul>
  37. 37. Your Choice? HIGH COSTS, INADEQUATE PERFORMANCE LOW COSTS, HIGH PERFORMANCE
  38. 38. The Ripple Effects of Database Performance Tuning & Optimization… <ul><li>Queries Run Faster </li></ul><ul><ul><li>Faster Transactions > People > Business </li></ul></ul><ul><ul><li>Faster Decisions > Agility </li></ul></ul><ul><ul><li>Improved Productivity </li></ul></ul><ul><li>Lower Cost/TX and CPU Utilization </li></ul><ul><ul><li>Lower Energy Costs </li></ul></ul><ul><ul><li>Greater Performance Predictability & Reliability </li></ul></ul><ul><ul><li>Defer/Avoid Unnecessary Hardware Upgrades </li></ul></ul><ul><ul><li>Enable Successful Server Consolidation & Virtualization </li></ul></ul>
  39. 39. Typical Scenario Planned Utilization <ul><li>Extra Capacity </li></ul><ul><li>Inefficiency </li></ul><ul><li>Peak Periods </li></ul>According to one of DBI’s largest customers, stand alone servers typically run 6-20% busy. 4 CPUs 600-800 Watts
  40. 40. Server Farms 48 CPUs, 10 Amps 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts
  41. 41. Virtual Server 8 CPUs, 44% Less Power How Does This Magic Work? SECRET: Remove Inefficiency Tune & Optimize to remove Peaks and Waste Database License Savings: $1.3M Energy Savings: $6,636/yr @ $.09/Kwh 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts 4 CPUs 800 Watts
  42. 42. Simple Analogy You can get more people into, and onto, a VW Beetle when the people are smaller…
  43. 43. Lower Costs (trust but) VERIFY! Brother-Panther ™ Performance Trend Chart with integrated Change Events ( ) #1 – An INDEX recommended by Brother-Panther was ADDED #2 – Cost of DB Instructions/CPU Measurably reduced This Blue Line represents the ideal “tuned” database transaction cost. All Costs that appear above the blue line Represent WASTED CPU cycles and degraded performance! Helps eliminate CPU waste and improve performance predictability and reliability – so your business can run faster at lower costs!
  44. 44. Case Study: Cost Problems 70% of CPU time Attributable to 3 SQL Statements!
  45. 45. Case Study: Big Cost Problems 74% of CPU time Attributable to 3 SQL Statements!
  46. 46. Case Study: BIG Cost Problems 97% of CPU time attributable to 1 SQL Statement!
  47. 47. DBI Product Demos – Ask for One! <ul><li>DBI DB2 LUW Performance Suite </li></ul><ul><ul><li>Brother-Panther® - SQL Workload Analysis, Tuning, & Trending </li></ul></ul><ul><ul><li>Brother-Thoroughbred® - Response Time Analysis and SLA Attainment Tracking </li></ul></ul><ul><ul><li>Brother-Eagle® - Real Time Monitoring & “Elephant Hunting” </li></ul></ul><ul><ul><li>Brother-Hawk™ - Advanced, Flexible, Lights-Out Automated Alerting Solution </li></ul></ul><ul><ul><li>www.DBIsoftware.com/db2_tools_comparison.php </li></ul></ul>
  48. 48. DBI DB2 LUW Tools Architecture 1 DBI Collector Agent 1 DBI Collector Agent DBI Repository DB2 LUW V8.2, V9+ ssh ssh EAGLE HAWK Thoroughbred Multiple DB2 Instances/ Databases Multiple DB2 Instances/ Databases PANTHER Thoroughbred DBA Login Credentials ALWAYS Respected Secure Monitoring – Literal Values Tokenized Monitored Database Server Monitored Database Server DBI Repository Server DBA Desktop MGR Desktop DBA Desktop
  49. 49. Your Choice for RESULTS 1-866-773-8789

×