SlideShare une entreprise Scribd logo
1  sur  8
SQL Performance Analyzer  forecast the impact of a potential change on the performance of a SQL query workload. WHEN? • Database upgrades • Implementation of tuning recommendations • Schema changes • Statistics gathering • Database parameter changes • OS/hardware changes   might be   reported for as a Tuning Result
SQL Performance Analyzer Extract STS(SQL Tuning Set) from production What’s inside? FROM Cursor Cache – SQL Text – Bind variables – Execution plans – Execution statistics - Incremental capture                       over a time period - filtering and ranking capabilities                       filters out undesirable SQL FILTERING Always all? No!
SQL Performance Analyzer Transport to a test system  (STS COPY) 변  경  전 변  경  후 Execute Re-Execute • Test-Execute SQL – produce execution plans and statistics – execute SQL serially – every SQL is executed only once • Explain plan SQL in SQL tuning set to generate SQL plans only SQL Performance = execution plans + execution statistics
SQL Performance Analyzer And next Detect     - improvements     - regressions     - unchanged performance     - changes in execution plans Tune     - regressed SQLs     - index Choose     - SQL Plan Management baseline X O ? SQL Performance = execution plans + execution statistics
SQL Performance Analyzer Do Creating a SQL Tuning Set (Capturing the SQL Workload) Sources     - Cursor Cache     - AWR Snapshots, Baselines     - User-defined Workload (sql_text, parsing_schema_name columns) Exporting the SQL Workload     - choose to export the selected STS     - load a STS on the test system for comparison purposes Collect SQL Performance Change     - parameter     - index     - hint SQL Performance = execution plans + execution statistics
SQL Performance Analyzer Do Do Collect SQL Performance Compare SQL Performance Analysis Results     - before vs after Using EM SQL Performance = execution plans + execution statistics
SQL Performance Analyzer Do DoDo DBMS_SQLTUNE      - CREATE_TUNING_TASK      - EXECUTE_TUNING_TASK      - REPORT_TUNING_TASK      - etc……………… To be continued……………… SQL Performance = execution plans + execution statistics

Contenu connexe

En vedette (7)

Websites for Arkansas Small Businesses from the ASU SBTDC
Websites for Arkansas Small Businesses from the ASU SBTDCWebsites for Arkansas Small Businesses from the ASU SBTDC
Websites for Arkansas Small Businesses from the ASU SBTDC
 
Ecological education of Wetlands Project
Ecological education of Wetlands ProjectEcological education of Wetlands Project
Ecological education of Wetlands Project
 
12 point peace agreement
12 point peace agreement12 point peace agreement
12 point peace agreement
 
Peer Pressure Makes Us Bound To Do Wrong Things
Peer Pressure Makes Us Bound To Do Wrong ThingsPeer Pressure Makes Us Bound To Do Wrong Things
Peer Pressure Makes Us Bound To Do Wrong Things
 
GITEWS - The German Contribution to the Indonesian Ocean Tsunami Early Warnin...
GITEWS - The German Contribution to the Indonesian Ocean Tsunami Early Warnin...GITEWS - The German Contribution to the Indonesian Ocean Tsunami Early Warnin...
GITEWS - The German Contribution to the Indonesian Ocean Tsunami Early Warnin...
 
Tsunami warning system
Tsunami warning systemTsunami warning system
Tsunami warning system
 
Tsunami warning system
Tsunami warning systemTsunami warning system
Tsunami warning system
 

Similaire à 11g nf sql_anlz

In Sync Running Apps On Oracle
In Sync  Running Apps On OracleIn Sync  Running Apps On Oracle
In Sync Running Apps On Oracle
InSync Conference
 

Similaire à 11g nf sql_anlz (20)

An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1
 
SQL_Tuning_Oracle_10g.pdf
SQL_Tuning_Oracle_10g.pdfSQL_Tuning_Oracle_10g.pdf
SQL_Tuning_Oracle_10g.pdf
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12cPresentación Oracle Database Migración consideraciones 10g/11g/12c
Presentación Oracle Database Migración consideraciones 10g/11g/12c
 
Performance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and UnderscoresPerformance Stability, Tips and Tricks and Underscores
Performance Stability, Tips and Tricks and Underscores
 
SQL Server Query Optimization, Execution and Debugging Query Performance
SQL Server Query Optimization, Execution and Debugging Query PerformanceSQL Server Query Optimization, Execution and Debugging Query Performance
SQL Server Query Optimization, Execution and Debugging Query Performance
 
Performance Management in Oracle 12c
Performance Management in Oracle 12cPerformance Management in Oracle 12c
Performance Management in Oracle 12c
 
Oracle Query Optimizer - An Introduction
Oracle Query Optimizer - An IntroductionOracle Query Optimizer - An Introduction
Oracle Query Optimizer - An Introduction
 
Database Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance AnalysisDatabase Fundamental Concepts- Series 1 - Performance Analysis
Database Fundamental Concepts- Series 1 - Performance Analysis
 
Sql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices ISql and PL/SQL Best Practices I
Sql and PL/SQL Best Practices I
 
Embarcadero In Search of Plan Stability Part 1 Webinar Slides
Embarcadero In Search of Plan Stability Part 1 Webinar SlidesEmbarcadero In Search of Plan Stability Part 1 Webinar Slides
Embarcadero In Search of Plan Stability Part 1 Webinar Slides
 
My Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12cMy Experience Using Oracle SQL Plan Baselines 11g/12c
My Experience Using Oracle SQL Plan Baselines 11g/12c
 
Enhancements that will make your sql database roar sp1 edition sql bits 2017
Enhancements that will make your sql database roar sp1 edition sql bits 2017Enhancements that will make your sql database roar sp1 edition sql bits 2017
Enhancements that will make your sql database roar sp1 edition sql bits 2017
 
Using SQL Plan Management for Performance Testing
Using SQL Plan Management for Performance TestingUsing SQL Plan Management for Performance Testing
Using SQL Plan Management for Performance Testing
 
Optimizing applications and database performance
Optimizing applications and database performanceOptimizing applications and database performance
Optimizing applications and database performance
 
Oracle SQL Tuning
Oracle SQL TuningOracle SQL Tuning
Oracle SQL Tuning
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04
 
In Sync Running Apps On Oracle
In Sync  Running Apps On OracleIn Sync  Running Apps On Oracle
In Sync Running Apps On Oracle
 
SQL Tuning 101
SQL Tuning 101SQL Tuning 101
SQL Tuning 101
 
sqltuning101-170419021007-2.pdf
sqltuning101-170419021007-2.pdfsqltuning101-170419021007-2.pdf
sqltuning101-170419021007-2.pdf
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
 

Plus de Kyung Sang Jang (19)

Oracle History #14
Oracle History #14Oracle History #14
Oracle History #14
 
O10g miscellaneous 17
O10g miscellaneous 17O10g miscellaneous 17
O10g miscellaneous 17
 
O10g flashback 13
O10g flashback 13O10g flashback 13
O10g flashback 13
 
O10g data control_10
O10g data control_10O10g data control_10
O10g data control_10
 
O10g bak rec_15
O10g bak rec_15O10g bak rec_15
O10g bak rec_15
 
O10g asm 16
O10g asm 16O10g asm 16
O10g asm 16
 
O10g app support_11
O10g app support_11O10g app support_11
O10g app support_11
 
O10g security 12
O10g security 12O10g security 12
O10g security 12
 
Oracle History #7
Oracle History #7Oracle History #7
Oracle History #7
 
Oracle History #8
Oracle History #8Oracle History #8
Oracle History #8
 
Oracle History #9
Oracle History #9Oracle History #9
Oracle History #9
 
Oracle History #6
Oracle History #6Oracle History #6
Oracle History #6
 
Oracle History #5
Oracle History #5Oracle History #5
Oracle History #5
 
Oracle History #4
Oracle History #4Oracle History #4
Oracle History #4
 
OracleHistory3
OracleHistory3OracleHistory3
OracleHistory3
 
OracleHistory2
OracleHistory2OracleHistory2
OracleHistory2
 
OracleHistory1
OracleHistory1OracleHistory1
OracleHistory1
 
DB와암호화 패턴
DB와암호화 패턴DB와암호화 패턴
DB와암호화 패턴
 
NO PARALLEL DML
NO PARALLEL DMLNO PARALLEL DML
NO PARALLEL DML
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

11g nf sql_anlz

  • 1.
  • 2. SQL Performance Analyzer forecast the impact of a potential change on the performance of a SQL query workload. WHEN? • Database upgrades • Implementation of tuning recommendations • Schema changes • Statistics gathering • Database parameter changes • OS/hardware changes might be reported for as a Tuning Result
  • 3. SQL Performance Analyzer Extract STS(SQL Tuning Set) from production What’s inside? FROM Cursor Cache – SQL Text – Bind variables – Execution plans – Execution statistics - Incremental capture over a time period - filtering and ranking capabilities filters out undesirable SQL FILTERING Always all? No!
  • 4. SQL Performance Analyzer Transport to a test system (STS COPY) 변 경 전 변 경 후 Execute Re-Execute • Test-Execute SQL – produce execution plans and statistics – execute SQL serially – every SQL is executed only once • Explain plan SQL in SQL tuning set to generate SQL plans only SQL Performance = execution plans + execution statistics
  • 5. SQL Performance Analyzer And next Detect - improvements - regressions - unchanged performance - changes in execution plans Tune - regressed SQLs - index Choose - SQL Plan Management baseline X O ? SQL Performance = execution plans + execution statistics
  • 6. SQL Performance Analyzer Do Creating a SQL Tuning Set (Capturing the SQL Workload) Sources - Cursor Cache - AWR Snapshots, Baselines - User-defined Workload (sql_text, parsing_schema_name columns) Exporting the SQL Workload - choose to export the selected STS - load a STS on the test system for comparison purposes Collect SQL Performance Change - parameter - index - hint SQL Performance = execution plans + execution statistics
  • 7. SQL Performance Analyzer Do Do Collect SQL Performance Compare SQL Performance Analysis Results - before vs after Using EM SQL Performance = execution plans + execution statistics
  • 8. SQL Performance Analyzer Do DoDo DBMS_SQLTUNE - CREATE_TUNING_TASK - EXECUTE_TUNING_TASK - REPORT_TUNING_TASK - etc……………… To be continued……………… SQL Performance = execution plans + execution statistics