Black and White Energy Savings Tuning Truths - Presentation Transcript
The Black, White, and GREEN Truths The Ripple Effect Value Of Database Tuning
GREEN IT Mandates…
CPU Busy & Power Consumption 100 tx/sec 200 tx/sec 400 tx/sec idle 600 tx/sec 800 tx/sec
The Ripple Effects of Database Performance Tuning & Optimization… View Video: http://www.youtube.com/watch?v=qWfgYOtYfOk Click film Strip to watch movie locally
Demonstrated Truths
Optimized Database Tuning Provides
Better Response Times
Improved Ability to Add more Users
Lower Energy Consumption
Seeing is BELIEVING
San Mateo IIC
IBM p570 with 16 CPUs, 36 GB Memory
DB2 LUW 9.5.3 with Automatic Tuning Enabled
IBM Tivoli for Energy Management
DBI Brother-Panther®
Rapidly ISOLATES performance issues
Automates optimized solutions
Trend Charts verify Tuning Success
PROOF
Show Power Used @ CPU idle
Drive CPUs to 100% busy by simulating 100+ OLTP Web Users
Show SQL & TX Response Times
Show Power Used @ 100% CPU busy
Tune Database with Brother-Panther
See RESULTS
Lower CPU Utilization
Measurably Lower Power Consumption
SQL & TX Response Time Improvements
Scalability Demonstrated
MORE PROOF
With CPU Capacity Restored, we’ll add more users!
Database Tuning Facilitates Server Consolidation & Virtualization
More “Well Tuned” virtualized database servers can be located within a given Frame
IBM San Mateo Innovation Center
Let’s START!
System is Idle
Power Used @ System Idle
1 User Response Times
50 Users – Hit the Wall
101 Users 43 Sec Response Time
101 Users – Power Consumed
Tune with DBI Brother-Panther® Find the tables with highest I/O rates
Tune with DBI Brother-Panther® Find the statements (SQL) driving I/O to the table…
Tune with DBI Brother-Panther®
IBM Design Advisor advice
Implement new Indexes
After Adding Indexes (Tuning)…
Power after Tuning
Double # Users
Power: 201 Users after Tuning
401 Users RESPONSE TIME: 0.0018 seconds!
743 Users
743 Users
10-1,400 TX/Sec 18,200 SQL/Second!!!
Overall - SLA Attainment
RESULTS OVERVIEW
Un-Tuned Database
100 Users
CPU Busy 100%
3300 Watts
51 Second Response Time
Database Tuned with Brother-Panther®
200 Users
CPU Busy 6%
2688 Watts
.0018 Second Response Time
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!
Energy Cost @ $0.09/Kwh Dollars per Year
TX Response Times
Myth Busters
Throwing Money at more CPUs won’t solve performance & scalability problems if the database isn’t properly tuned
Database AUTOMATIC Tuning only REACTS to workloads to COMPENSATE for inadequate tuning
Only proper tuning achieves optimization at lowest possible costs
Your Choice?
24% Higher Energy Costs
Higher Hardware & Software Costs
Slow Response Times
Poor Productivity
Lower Energy Costs for Servers & A/C
Lower Hardware & Software Costs
Consolidate more servers!
Sub-Second Response Times
Improved Productivity
Your Choice? HIGH COSTS, INADEQUATE PERFORMANCE LOW COSTS, HIGH PERFORMANCE
The Ripple Effects of Database Performance Tuning & Optimization…
Queries Run Faster
Faster Transactions > People > Business
Faster Decisions > Agility
Improved Productivity
Lower Cost/TX and CPU Utilization
Lower Energy Costs
Greater Performance Predictability & Reliability
Defer/Avoid Unnecessary Hardware Upgrades
Enable Successful Server Consolidation & Virtualization
Typical Scenario Planned Utilization
Extra Capacity
Inefficiency
Peak Periods
According to one of DBI’s largest customers, stand alone servers typically run 6-20% busy. 4 CPUs 600-800 Watts
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
Simple Analogy You can get more people into, and onto, a VW Beetle when the people are smaller…
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!
Case Study: Cost Problems 70% of CPU time Attributable to 3 SQL Statements!
Case Study: Big Cost Problems 74% of CPU time Attributable to 3 SQL Statements!
Case Study: BIG Cost Problems 97% of CPU time attributable to 1 SQL Statement!
This presentation shows research completed at the S more
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. less
0 comments
Post a comment