SlideShare a Scribd company logo
1 of 22
Automatic Performance
Diagnosis and Tuning in Oracle
Self-healing Database System
1
Presenters
Tanvir Rahman
2015-2-60-027
Md. Mohaiminul Hasan
2015-2-60-084
Mohammad Salman Hossain Bhuiyan
2015-2-60-085
2
Database System
3
System Performance Diagnosis
Q: Which entity causes performance degradation?
-Size of buffer cache
-I/O capacity
-CPU capacity
-Database locks
-Bandwidth
-SQL statement
-SQL optimization
4
Tuning
5
Problem Behind Manual Tuning
1. Abundant expertise.
2. Not time efficient
3. Misdirected
4. Methodology without having
holistic view
5. Regenerate the problem
6
Solution
7
Database Time
• Common Currency
Figure 1:Database time from a single user’s perspective
8
Automatic Database Diagnosis Monitor
(ADDM)
• Oracle 10g self-managing framework
• Goal: Find root-causes of problems
• Which component of database consume significant time?
• What is the top issue affecting overall throughput?
9
Data for ADDM
• Collect Data from each node of DB Time-graph
• Active Session History
10
Active Session History (ASH)
11
Challenges of ASH
• Sampling too frequent: “MINIMAL INTRUISON PRINCIPLE” violation
• Infrequent sampling: Failure of finding root cause
12
Minimal Intrusion Principle
• Performance should not be degraded because of “measurements
collection”
13
Data: Non-numeric in nature
Full log of database setting (Not changes frequently)
• Size of memory components
• Number of CPUs using by the system
• Special query optimizer setting
14
- AWR
- ADDM
- Recommendation
- Oracle 10g Advisors
- In memory
15
Self-Managing Database Framework
Figure 2: ADDM and the Self-Managing Database framework
Self-Managing Loop
ADDM’s role in Self-Managing Database
• Observe Phase
• Diagnose Phase
• Resolve Phase
16
Observe Phase
• Automatic and continues
• Collect relevant measurements and statistics
• Precise timing information
• Automatic Workload Repository (AWR): the main component
17
AWR
• Store of performance data
• The database captures system & stores performance data in AWR
• Each collection as Snapshot
• ADDM takes two most recent snapshots
18
Diagnose Phase
• Fetch data from AWR
• Analyze Data
• Set of advisors
• ADDM itself an Advisor
• SQL tuning Advisor
• Segment Advisor
• Memory Advisor
- If any advisor consumes substantial amount of time to analysis, ADDM
takes part.
19
Resolve Phase
• Apply recommendation automatically or manually
• Considered for future performance measurement
• Closes iteration of particular tuning loop
• Tuning loop till desired performance level
20
Experiments and Results
• Hard to quantify
• Need survey
• Real ADDM usage: Experience of Qualcomm
• Updated Oracle version 8.1.7.4 to 10g.
• Significant Performance Fall
• ADDM recommendation: SQL update statement causes 90% system load
• SQL Tuning Advisor: Create index
Reason: A patch was missing in updated version
21
Conclusion
• Comprehensive tuning solution
• Database time of various component
• Marginal effect of component on Database
• Omit reconstruct the problem
• DBTime-graph isolate the root cause
• ADDM provides Recommendation
22

More Related Content

What's hot

Management Data Warehouse
Management Data WarehouseManagement Data Warehouse
Management Data WarehouseMatt Horn
 
QEI Master Station - SCADA
QEI Master Station - SCADAQEI Master Station - SCADA
QEI Master Station - SCADALeePearce18
 
QEI SCADA Training
QEI SCADA TrainingQEI SCADA Training
QEI SCADA TrainingLeePearce18
 
Post compiler software optimization for reducing energy
Post compiler software optimization for reducing energyPost compiler software optimization for reducing energy
Post compiler software optimization for reducing energyAbhishek Abhyankar
 
SQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High AvailabilittySQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High AvailabilittyRishu Mehra
 
Flopsar tesacom-technical-introduction v1a-eng
Flopsar tesacom-technical-introduction v1a-engFlopsar tesacom-technical-introduction v1a-eng
Flopsar tesacom-technical-introduction v1a-engMarcelo Marinangeli
 
Leveraging Cloud for the Modern SQL Developer
Leveraging Cloud for the Modern SQL DeveloperLeveraging Cloud for the Modern SQL Developer
Leveraging Cloud for the Modern SQL DeveloperJason Strate
 
What's New in Athene™ 11.10?
What's New in Athene™ 11.10?What's New in Athene™ 11.10?
What's New in Athene™ 11.10?Precisely
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringLinh Nguyen
 
Active System Manager 7.1 Messaging Framework
Active System Manager 7.1 Messaging FrameworkActive System Manager 7.1 Messaging Framework
Active System Manager 7.1 Messaging Frameworkrishi679
 
2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...
2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...
2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...Perficient
 
Monitoring Splunk: S.o.S, DMC, and Beyond Breakout Session
Monitoring Splunk: S.o.S, DMC, and Beyond Breakout SessionMonitoring Splunk: S.o.S, DMC, and Beyond Breakout Session
Monitoring Splunk: S.o.S, DMC, and Beyond Breakout SessionSplunk
 
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsOracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsLeighton Nelson
 
What Are Your Servers Doing While You’re Sleeping?
What Are Your Servers Doing While You’re Sleeping?What Are Your Servers Doing While You’re Sleeping?
What Are Your Servers Doing While You’re Sleeping?Tracy McKibben
 
6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...
6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...
6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...Catalogic Software
 
Successfully migrating existing databases to Azure
Successfully migrating existing databases to AzureSuccessfully migrating existing databases to Azure
Successfully migrating existing databases to AzureRed Gate Software
 
Siebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized OrganizationsSiebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized OrganizationsPerficient
 

What's hot (20)

Ioug oow12 em12c
Ioug oow12 em12cIoug oow12 em12c
Ioug oow12 em12c
 
Management Data Warehouse
Management Data WarehouseManagement Data Warehouse
Management Data Warehouse
 
QEI Master Station - SCADA
QEI Master Station - SCADAQEI Master Station - SCADA
QEI Master Station - SCADA
 
QEI SCADA Training
QEI SCADA TrainingQEI SCADA Training
QEI SCADA Training
 
Netherlands OSUG | Sep 30
Netherlands OSUG | Sep 30Netherlands OSUG | Sep 30
Netherlands OSUG | Sep 30
 
Post compiler software optimization for reducing energy
Post compiler software optimization for reducing energyPost compiler software optimization for reducing energy
Post compiler software optimization for reducing energy
 
SQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High AvailabilittySQL Server 2008 R2 - Implementing High Availabilitty
SQL Server 2008 R2 - Implementing High Availabilitty
 
Flopsar tesacom-technical-introduction v1a-eng
Flopsar tesacom-technical-introduction v1a-engFlopsar tesacom-technical-introduction v1a-eng
Flopsar tesacom-technical-introduction v1a-eng
 
Leveraging Cloud for the Modern SQL Developer
Leveraging Cloud for the Modern SQL DeveloperLeveraging Cloud for the Modern SQL Developer
Leveraging Cloud for the Modern SQL Developer
 
What's New in Athene™ 11.10?
What's New in Athene™ 11.10?What's New in Athene™ 11.10?
What's New in Athene™ 11.10?
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload Monitoring
 
Active System Manager 7.1 Messaging Framework
Active System Manager 7.1 Messaging FrameworkActive System Manager 7.1 Messaging Framework
Active System Manager 7.1 Messaging Framework
 
Mon 106 1200 crowley
Mon 106 1200 crowleyMon 106 1200 crowley
Mon 106 1200 crowley
 
2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...
2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...
2013 OHSUG - Merging Multiple Drug Safety and Pharmacovigilance Databases int...
 
Monitoring Splunk: S.o.S, DMC, and Beyond Breakout Session
Monitoring Splunk: S.o.S, DMC, and Beyond Breakout SessionMonitoring Splunk: S.o.S, DMC, and Beyond Breakout Session
Monitoring Splunk: S.o.S, DMC, and Beyond Breakout Session
 
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsOracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
 
What Are Your Servers Doing While You’re Sleeping?
What Are Your Servers Doing While You’re Sleeping?What Are Your Servers Doing While You’re Sleeping?
What Are Your Servers Doing While You’re Sleeping?
 
6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...
6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...
6 Ways of Solve Your Oracle Dev-Test Problems Using All-Flash Storage and Cop...
 
Successfully migrating existing databases to Azure
Successfully migrating existing databases to AzureSuccessfully migrating existing databases to Azure
Successfully migrating existing databases to Azure
 
Siebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized OrganizationsSiebel Clinical for Small and Medium-Sized Organizations
Siebel Clinical for Small and Medium-Sized Organizations
 

Similar to Automatic performance-diagnosis-and-tuning-in-oracle

Application Performance Management
Application Performance ManagementApplication Performance Management
Application Performance ManagementNoriaki Tatsumi
 
collab2011-tuning-ebusiness-421966.pdf
collab2011-tuning-ebusiness-421966.pdfcollab2011-tuning-ebusiness-421966.pdf
collab2011-tuning-ebusiness-421966.pdfElboulmaniMohamed
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Leighton Nelson
 
05. performance-concepts
05. performance-concepts05. performance-concepts
05. performance-conceptsMuhammad Ahad
 
Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502kaziul Islam Bulbul
 
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16AppDynamics
 
Automated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise ApplicationsAutomated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise ApplicationsSAIL_QU
 
Sql azure cluster dashboard public.ppt
Sql azure cluster dashboard public.pptSql azure cluster dashboard public.ppt
Sql azure cluster dashboard public.pptQingsong Yao
 
EDB Postgres DBA Best Practices
EDB Postgres DBA Best PracticesEDB Postgres DBA Best Practices
EDB Postgres DBA Best PracticesEDB
 
Optimizing Application Performance - 2022.pptx
Optimizing Application Performance - 2022.pptxOptimizing Application Performance - 2022.pptx
Optimizing Application Performance - 2022.pptxJasonTuran2
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning TechniquesRam Nagesh
 
Adding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance TestAdding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance TestRodolfo Kohn
 
PAD: Performance Anomaly Detection in Multi-Server Distributed Systems
PAD: Performance Anomaly Detection in Multi-Server Distributed SystemsPAD: Performance Anomaly Detection in Multi-Server Distributed Systems
PAD: Performance Anomaly Detection in Multi-Server Distributed SystemsJames Hill
 
SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1sqlserver.co.il
 
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming ApplicationsMetrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applicationsconfluent
 
Managing Performance Globally with MySQL
Managing Performance Globally with MySQLManaging Performance Globally with MySQL
Managing Performance Globally with MySQLDaniel Austin
 
V center operations standard presentation
V center operations standard presentationV center operations standard presentation
V center operations standard presentationsolarisyourep
 

Similar to Automatic performance-diagnosis-and-tuning-in-oracle (20)

Application Performance Management
Application Performance ManagementApplication Performance Management
Application Performance Management
 
ADF Performance Monitor
ADF Performance MonitorADF Performance Monitor
ADF Performance Monitor
 
collab2011-tuning-ebusiness-421966.pdf
collab2011-tuning-ebusiness-421966.pdfcollab2011-tuning-ebusiness-421966.pdf
collab2011-tuning-ebusiness-421966.pdf
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
 
05. performance-concepts
05. performance-concepts05. performance-concepts
05. performance-concepts
 
Chromatography Data system: Process your Data
Chromatography Data system: Process your Data Chromatography Data system: Process your Data
Chromatography Data system: Process your Data
 
Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502
 
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
 
Automated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise ApplicationsAutomated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise Applications
 
Sql azure cluster dashboard public.ppt
Sql azure cluster dashboard public.pptSql azure cluster dashboard public.ppt
Sql azure cluster dashboard public.ppt
 
EDB Postgres DBA Best Practices
EDB Postgres DBA Best PracticesEDB Postgres DBA Best Practices
EDB Postgres DBA Best Practices
 
ADF performance monitor at AMIS25
ADF performance monitor at AMIS25ADF performance monitor at AMIS25
ADF performance monitor at AMIS25
 
Optimizing Application Performance - 2022.pptx
Optimizing Application Performance - 2022.pptxOptimizing Application Performance - 2022.pptx
Optimizing Application Performance - 2022.pptx
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning Techniques
 
Adding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance TestAdding Value in the Cloud with Performance Test
Adding Value in the Cloud with Performance Test
 
PAD: Performance Anomaly Detection in Multi-Server Distributed Systems
PAD: Performance Anomaly Detection in Multi-Server Distributed SystemsPAD: Performance Anomaly Detection in Multi-Server Distributed Systems
PAD: Performance Anomaly Detection in Multi-Server Distributed Systems
 
SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1
 
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming ApplicationsMetrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
Metrics Are Not Enough: Monitoring Apache Kafka and Streaming Applications
 
Managing Performance Globally with MySQL
Managing Performance Globally with MySQLManaging Performance Globally with MySQL
Managing Performance Globally with MySQL
 
V center operations standard presentation
V center operations standard presentationV center operations standard presentation
V center operations standard presentation
 

Recently uploaded

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLDeelipZope
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxvipinkmenon1
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 

Recently uploaded (20)

Current Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCLCurrent Transformer Drawing and GTP for MSETCL
Current Transformer Drawing and GTP for MSETCL
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Introduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptxIntroduction to Microprocesso programming and interfacing.pptx
Introduction to Microprocesso programming and interfacing.pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 

Automatic performance-diagnosis-and-tuning-in-oracle

  • 1. Automatic Performance Diagnosis and Tuning in Oracle Self-healing Database System 1
  • 2. Presenters Tanvir Rahman 2015-2-60-027 Md. Mohaiminul Hasan 2015-2-60-084 Mohammad Salman Hossain Bhuiyan 2015-2-60-085 2
  • 4. System Performance Diagnosis Q: Which entity causes performance degradation? -Size of buffer cache -I/O capacity -CPU capacity -Database locks -Bandwidth -SQL statement -SQL optimization 4
  • 6. Problem Behind Manual Tuning 1. Abundant expertise. 2. Not time efficient 3. Misdirected 4. Methodology without having holistic view 5. Regenerate the problem 6
  • 8. Database Time • Common Currency Figure 1:Database time from a single user’s perspective 8
  • 9. Automatic Database Diagnosis Monitor (ADDM) • Oracle 10g self-managing framework • Goal: Find root-causes of problems • Which component of database consume significant time? • What is the top issue affecting overall throughput? 9
  • 10. Data for ADDM • Collect Data from each node of DB Time-graph • Active Session History 10
  • 12. Challenges of ASH • Sampling too frequent: “MINIMAL INTRUISON PRINCIPLE” violation • Infrequent sampling: Failure of finding root cause 12
  • 13. Minimal Intrusion Principle • Performance should not be degraded because of “measurements collection” 13
  • 14. Data: Non-numeric in nature Full log of database setting (Not changes frequently) • Size of memory components • Number of CPUs using by the system • Special query optimizer setting 14
  • 15. - AWR - ADDM - Recommendation - Oracle 10g Advisors - In memory 15 Self-Managing Database Framework Figure 2: ADDM and the Self-Managing Database framework
  • 16. Self-Managing Loop ADDM’s role in Self-Managing Database • Observe Phase • Diagnose Phase • Resolve Phase 16
  • 17. Observe Phase • Automatic and continues • Collect relevant measurements and statistics • Precise timing information • Automatic Workload Repository (AWR): the main component 17
  • 18. AWR • Store of performance data • The database captures system & stores performance data in AWR • Each collection as Snapshot • ADDM takes two most recent snapshots 18
  • 19. Diagnose Phase • Fetch data from AWR • Analyze Data • Set of advisors • ADDM itself an Advisor • SQL tuning Advisor • Segment Advisor • Memory Advisor - If any advisor consumes substantial amount of time to analysis, ADDM takes part. 19
  • 20. Resolve Phase • Apply recommendation automatically or manually • Considered for future performance measurement • Closes iteration of particular tuning loop • Tuning loop till desired performance level 20
  • 21. Experiments and Results • Hard to quantify • Need survey • Real ADDM usage: Experience of Qualcomm • Updated Oracle version 8.1.7.4 to 10g. • Significant Performance Fall • ADDM recommendation: SQL update statement causes 90% system load • SQL Tuning Advisor: Create index Reason: A patch was missing in updated version 21
  • 22. Conclusion • Comprehensive tuning solution • Database time of various component • Marginal effect of component on Database • Omit reconstruct the problem • DBTime-graph isolate the root cause • ADDM provides Recommendation 22