SlideShare a Scribd company logo
11g nf sql_anlz
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 AnalyzerExtract STS(SQL Tuning Set) from productionWhat’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 SQLFILTERINGAlways all? No!
SQL Performance AnalyzerTransport to a test system  (STS COPY)변  경  전변  경  후ExecuteRe-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 onlySQL Performance = execution plans + execution statistics
SQL Performance AnalyzerAnd nextDetect    - improvements    - regressions    - unchanged performance    - changes in execution plansTune    - regressed SQLs    - indexChoose    - SQL Plan Management baselineXO?SQL Performance = execution plans + execution statistics
SQL Performance AnalyzerDoCreating 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 purposesCollect SQL PerformanceChange    - parameter    - index    - hintSQL Performance = execution plans + execution statistics
SQL Performance AnalyzerDo DoCollect SQL PerformanceCompare SQL PerformanceAnalysis Results    - before vs afterUsing EMSQL Performance = execution plans + execution statistics
SQL Performance AnalyzerDo DoDoDBMS_SQLTUNE     - CREATE_TUNING_TASK     - EXECUTE_TUNING_TASK     - REPORT_TUNING_TASK     - etc………………To be continued………………SQL Performance = execution plans + execution statistics

More Related Content

PDF
Rolta’s application testing services for handling ever changing environment.
Rolta
 
PDF
Load DynamiX Company Overview
Erin Swanson
 
PDF
SQLDay2013_MarcinSzeliga_StoredProcedures
Polish SQL Server User Group
 
PPTX
Optimizing Your Cloud Applications in RightScale
RightScale
 
DOCX
Algo
Mohan Kumar
 
PDF
SAP System copy
ashish_bbd
 
PPTX
Oracle Performance Tuning Training | Oracle Performance Tuning
OracleTrainings
 
PPTX
Oracle Database 12c features for DBA
Karan Kukreja
 
Rolta’s application testing services for handling ever changing environment.
Rolta
 
Load DynamiX Company Overview
Erin Swanson
 
SQLDay2013_MarcinSzeliga_StoredProcedures
Polish SQL Server User Group
 
Optimizing Your Cloud Applications in RightScale
RightScale
 
SAP System copy
ashish_bbd
 
Oracle Performance Tuning Training | Oracle Performance Tuning
OracleTrainings
 
Oracle Database 12c features for DBA
Karan Kukreja
 

Viewers also liked (7)

PPTX
Websites for Arkansas Small Businesses from the ASU SBTDC
Arkansas State University Small Business & Technology Development Center
 
PPT
Ecological education of Wetlands Project
Nurgul Alipinova
 
PDF
12 point peace agreement
Bijesh Mishra
 
DOCX
Peer Pressure Makes Us Bound To Do Wrong Things
A N M Sajedul Alam Sajid
 
PDF
GITEWS - The German Contribution to the Indonesian Ocean Tsunami Early Warnin...
Global Risk Forum GRFDavos
 
PDF
Tsunami warning system
s1180044
 
PPTX
Tsunami warning system
Aarush Jewaria
 
Websites for Arkansas Small Businesses from the ASU SBTDC
Arkansas State University Small Business & Technology Development Center
 
Ecological education of Wetlands Project
Nurgul Alipinova
 
12 point peace agreement
Bijesh Mishra
 
Peer Pressure Makes Us Bound To Do Wrong Things
A N M Sajedul Alam Sajid
 
GITEWS - The German Contribution to the Indonesian Ocean Tsunami Early Warnin...
Global Risk Forum GRFDavos
 
Tsunami warning system
s1180044
 
Tsunami warning system
Aarush Jewaria
 
Ad

Similar to 11g nf sql_anlz (20)

PDF
An Approach to Sql tuning - Part 1
Navneet Upneja
 
PDF
SQL_Tuning_Oracle_10g.pdf
NareshKumar729083
 
PPTX
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Ronald Francisco Vargas Quesada
 
PDF
Performance Stability, Tips and Tricks and Underscores
Jitendra Singh
 
PPTX
SQL Server Query Optimization, Execution and Debugging Query Performance
Vinod Kumar
 
PPTX
Performance Management in Oracle 12c
Alfredo Krieg
 
PPTX
Oracle Query Optimizer - An Introduction
adryanbub
 
PPTX
Database Fundamental Concepts- Series 1 - Performance Analysis
DAGEOP LTD
 
PPTX
Sql and PL/SQL Best Practices I
Carlos Oliveira
 
PPTX
Embarcadero In Search of Plan Stability Part 1 Webinar Slides
Embarcadero Technologies
 
PDF
My Experience Using Oracle SQL Plan Baselines 11g/12c
Nelson Calero
 
PPTX
Enhancements that will make your sql database roar sp1 edition sql bits 2017
Bob Ward
 
PDF
Using SQL Plan Management for Performance Testing
Maris Elsins
 
PPTX
Optimizing applications and database performance
Inam Bukhary
 
PDF
Oracle SQL Tuning
Alex Zaballa
 
PPTX
Adapting and adopting spm v04
Carlos Sierra
 
PDF
In Sync Running Apps On Oracle
InSync Conference
 
PDF
sqltuning101-170419021007-2.pdf
TricantinoLopezPerez
 
PPTX
SQL Tuning 101
Carlos Sierra
 
PDF
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Nelson Calero
 
An Approach to Sql tuning - Part 1
Navneet Upneja
 
SQL_Tuning_Oracle_10g.pdf
NareshKumar729083
 
Presentación Oracle Database Migración consideraciones 10g/11g/12c
Ronald Francisco Vargas Quesada
 
Performance Stability, Tips and Tricks and Underscores
Jitendra Singh
 
SQL Server Query Optimization, Execution and Debugging Query Performance
Vinod Kumar
 
Performance Management in Oracle 12c
Alfredo Krieg
 
Oracle Query Optimizer - An Introduction
adryanbub
 
Database Fundamental Concepts- Series 1 - Performance Analysis
DAGEOP LTD
 
Sql and PL/SQL Best Practices I
Carlos Oliveira
 
Embarcadero In Search of Plan Stability Part 1 Webinar Slides
Embarcadero Technologies
 
My Experience Using Oracle SQL Plan Baselines 11g/12c
Nelson Calero
 
Enhancements that will make your sql database roar sp1 edition sql bits 2017
Bob Ward
 
Using SQL Plan Management for Performance Testing
Maris Elsins
 
Optimizing applications and database performance
Inam Bukhary
 
Oracle SQL Tuning
Alex Zaballa
 
Adapting and adopting spm v04
Carlos Sierra
 
In Sync Running Apps On Oracle
InSync Conference
 
sqltuning101-170419021007-2.pdf
TricantinoLopezPerez
 
SQL Tuning 101
Carlos Sierra
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Nelson Calero
 
Ad

More from Kyung Sang Jang (19)

DOC
Oracle History #14
Kyung Sang Jang
 
DOC
O10g miscellaneous 17
Kyung Sang Jang
 
DOC
O10g flashback 13
Kyung Sang Jang
 
DOC
O10g data control_10
Kyung Sang Jang
 
DOC
O10g bak rec_15
Kyung Sang Jang
 
DOC
O10g asm 16
Kyung Sang Jang
 
DOC
O10g app support_11
Kyung Sang Jang
 
DOC
O10g security 12
Kyung Sang Jang
 
DOC
Oracle History #7
Kyung Sang Jang
 
DOC
Oracle History #8
Kyung Sang Jang
 
DOC
Oracle History #9
Kyung Sang Jang
 
PDF
Oracle History #6
Kyung Sang Jang
 
PDF
Oracle History #5
Kyung Sang Jang
 
DOC
Oracle History #4
Kyung Sang Jang
 
DOC
OracleHistory3
Kyung Sang Jang
 
DOC
OracleHistory2
Kyung Sang Jang
 
DOC
OracleHistory1
Kyung Sang Jang
 
PPTX
DB와암호화 패턴
Kyung Sang Jang
 
PPTX
NO PARALLEL DML
Kyung Sang Jang
 
Oracle History #14
Kyung Sang Jang
 
O10g miscellaneous 17
Kyung Sang Jang
 
O10g flashback 13
Kyung Sang Jang
 
O10g data control_10
Kyung Sang Jang
 
O10g bak rec_15
Kyung Sang Jang
 
O10g asm 16
Kyung Sang Jang
 
O10g app support_11
Kyung Sang Jang
 
O10g security 12
Kyung Sang Jang
 
Oracle History #7
Kyung Sang Jang
 
Oracle History #8
Kyung Sang Jang
 
Oracle History #9
Kyung Sang Jang
 
Oracle History #6
Kyung Sang Jang
 
Oracle History #5
Kyung Sang Jang
 
Oracle History #4
Kyung Sang Jang
 
OracleHistory3
Kyung Sang Jang
 
OracleHistory2
Kyung Sang Jang
 
OracleHistory1
Kyung Sang Jang
 
DB와암호화 패턴
Kyung Sang Jang
 
NO PARALLEL DML
Kyung Sang Jang
 

Recently uploaded (20)

PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
Doc9.....................................
SofiaCollazos
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
The Future of Artificial Intelligence (AI)
Mukul
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Doc9.....................................
SofiaCollazos
 

11g nf sql_anlz

  • 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 AnalyzerExtract STS(SQL Tuning Set) from productionWhat’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 SQLFILTERINGAlways all? No!
  • 4. SQL Performance AnalyzerTransport to a test system (STS COPY)변 경 전변 경 후ExecuteRe-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 onlySQL Performance = execution plans + execution statistics
  • 5. SQL Performance AnalyzerAnd nextDetect - improvements - regressions - unchanged performance - changes in execution plansTune - regressed SQLs - indexChoose - SQL Plan Management baselineXO?SQL Performance = execution plans + execution statistics
  • 6. SQL Performance AnalyzerDoCreating 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 purposesCollect SQL PerformanceChange - parameter - index - hintSQL Performance = execution plans + execution statistics
  • 7. SQL Performance AnalyzerDo DoCollect SQL PerformanceCompare SQL PerformanceAnalysis Results - before vs afterUsing EMSQL Performance = execution plans + execution statistics
  • 8. SQL Performance AnalyzerDo DoDoDBMS_SQLTUNE - CREATE_TUNING_TASK - EXECUTE_TUNING_TASK - REPORT_TUNING_TASK - etc………………To be continued………………SQL Performance = execution plans + execution statistics