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.
PDF
Load DynamiX Company Overview
PDF
SQLDay2013_MarcinSzeliga_StoredProcedures
PPTX
Optimizing Your Cloud Applications in RightScale
DOCX
PDF
SAP System copy
PPTX
Oracle Performance Tuning Training | Oracle Performance Tuning
PPTX
Oracle Database 12c features for DBA
Rolta’s application testing services for handling ever changing environment.
Load DynamiX Company Overview
SQLDay2013_MarcinSzeliga_StoredProcedures
Optimizing Your Cloud Applications in RightScale
SAP System copy
Oracle Performance Tuning Training | Oracle Performance Tuning
Oracle Database 12c features for DBA

Viewers also liked (7)

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

Similar to 11g nf sql_anlz (20)

PPTX
SQL Tuning 101
PDF
sqltuning101-170419021007-2.pdf
PDF
An Approach to Sql tuning - Part 1
PPTX
Sql server-performance-hafi
PDF
SQL_Tuning_Oracle_10g.pdf
PPT
Les 15 perf_sql
PDF
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
PPTX
Sql query analyzer & maintenance
PPT
Sql server performance tuning
PDF
Winning performance challenges in oracle standard editions
PPTX
Ten query tuning techniques every SQL Server programmer should know
PDF
31063115_1679409488310Developer_Tuning_Tips_-_UTOUG_Mar_2023.pdf
PDF
Step-by-Step Cookbook for Identifying and Tuning SQL Problems
PDF
Winning performance challenges in oracle standard editions
PPTX
Performance Management in Oracle 12c
PDF
Oracle Performance Tuning Training.pdf
PDF
Microsoft SQL Server Query Tuning
PPT
Sql tuning
PPTX
Advanced Database Administration 10g
PDF
Why & how to optimize sql server for performance from design to query
SQL Tuning 101
sqltuning101-170419021007-2.pdf
An Approach to Sql tuning - Part 1
Sql server-performance-hafi
SQL_Tuning_Oracle_10g.pdf
Les 15 perf_sql
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Sql query analyzer & maintenance
Sql server performance tuning
Winning performance challenges in oracle standard editions
Ten query tuning techniques every SQL Server programmer should know
31063115_1679409488310Developer_Tuning_Tips_-_UTOUG_Mar_2023.pdf
Step-by-Step Cookbook for Identifying and Tuning SQL Problems
Winning performance challenges in oracle standard editions
Performance Management in Oracle 12c
Oracle Performance Tuning Training.pdf
Microsoft SQL Server Query Tuning
Sql tuning
Advanced Database Administration 10g
Why & how to optimize sql server for performance from design to query
Ad

More from Kyung Sang Jang (19)

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

Recently uploaded (20)

PDF
Hindi spoken digit analysis for native and non-native speakers
PPTX
Tartificialntelligence_presentation.pptx
PDF
Mushroom cultivation and it's methods.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PDF
Approach and Philosophy of On baking technology
PDF
Hybrid model detection and classification of lung cancer
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
project resource management chapter-09.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Enhancing emotion recognition model for a student engagement use case through...
Hindi spoken digit analysis for native and non-native speakers
Tartificialntelligence_presentation.pptx
Mushroom cultivation and it's methods.pdf
TLE Review Electricity (Electricity).pptx
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Group 1 Presentation -Planning and Decision Making .pptx
A novel scalable deep ensemble learning framework for big data classification...
A comparative analysis of optical character recognition models for extracting...
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
Approach and Philosophy of On baking technology
Hybrid model detection and classification of lung cancer
cloud_computing_Infrastucture_as_cloud_p
DP Operators-handbook-extract for the Mautical Institute
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
OMC Textile Division Presentation 2021.pptx
Unlocking AI with Model Context Protocol (MCP)
Programs and apps: productivity, graphics, security and other tools
project resource management chapter-09.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Enhancing emotion recognition model for a student engagement use case through...

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