SlideShare a Scribd company logo
1 of 50
Download to read offline
Performance Tuning
Using the Advisor
Framework
RMOUG Virtual Training Days Conference
February 7 – 11, 2022
Roger Cornejo
Technology Innovation Senior Principal
Accenture Enkitec Group
Roger.Cornejo@Accenture.com
roger.cornejo@accenture.com
Technology Innovation Senior Principal
Accenture Enkitec Group
• ~36 yrs Oracle experience (since V4)
– Developer / Tech Lead / Architect /
Project Manager
• ~12 years deep dive in Performance
– 300 Production Instances
– 2500 Applications
– INSYNC / OOW / RMOUG / ECO / Hotsos
• Cloud Architecture
– focus on performance
• Dynamic Oracle Performance Analytics
Designing / Building / Operating Applications for Performance
2
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
3
Licensing Restrictions
❖Enterprise Edition
❖Diagnostics + Tuning Pack
❖Diagnostics is prerequisite of Tuning Pack
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
5
The Advisor Framework is …
❖… Infrastructure to support Oracle’s database
manageability
Oracle: “… database, heal thy self …”
❖Public interface:
❖PL/SQL package DBMS_ADVISOR
❖OEM (not covered in this presentation)
❖Tuning related advisors are a subset of all advisors
(some available since 9i)
❖Focus of this topic:
exploring the persisted information from
the tuning related advisors
Reverse Engineering (RE) of the Advisor
Framework
RE Definition for purposes intended
❖What:
Understand design based on an
in-depth examination of its structure and content.
❖How:
Exposing content using simple SQL queries.
❖Why:
Repurpose Advisor content for various every day
performance problem solving use-cases
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
8
Why scale-up your use of the Advisor
Framework?
❖Improved Tuning Capability:
1. Harvest information from periodic runs
saves time: no need to re-run
❖ADDM - hourly (each snapshot)
❖Segment - daily
❖SQL Tuning - daily
2. Quickly Assess run results from on-demand
execution:
❖SQL Access Advisor
❖SQL Tuning Advisor
3. Massively scale up a DBA’s ability to action tuning
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
10
Views undergird the Advisor Framework
❖example:
select advisor_name from
DBA_ADVISOR_DEFINITIONS
ADVISOR_NAME
ADDM
SQL Tuning Advisor
Segment Advisor
SQL Access Advisor
Undo Advisor
SQL Repair Advisor
SQL Performance Analyzer
SQL Workload Manager
Tune MView
Compression Advisor
SPM Evolve Advisor
–See:
DBA_ADVISOR_DEF_PARAMETERS
for how the advisors are set-up
Advisor tables
select view_name from dba_views
where view_name like 'DBA_ADVISOR%' ; -- 41 Views
VIEW_NAME
DBA_ADVISOR_LOG
DBA_ADVISOR_JOURNAL
DBA_ADVISOR_TASKS
DBA_ADVISOR_EXECUTIONS
DBA_ADVISOR_FINDINGS
DBA_ADVISOR_RECOMMENDATIONS
DBA_ADVISOR_RATIONALE
DBA_ADVISOR_ACTIONS
DBA_ADVISOR_OBJECTS
DBA_ADVISOR_COMMANDS
DBA_ADVISOR_DEFINITIONS
DBA_ADVISOR_DEF_PARAMETERS
DBA_ADVISOR_DIR_DEFINITIONS
DBA_ADVISOR_DIR_INSTANCES
DBA_ADVISOR_DIR_TASK_INST
DBA_ADVISOR_EXECUTION_TYPES
DBA_ADVISOR_PARAMETERS
DBA_ADVISOR_PARAMETERS_PROJ
DBA_ADVISOR_SQLA_COLVOL
DBA_ADVISOR_SQLA_REC_SUM
DBA_ADVISOR_SQLA_TABLES
DBA_ADVISOR_SQLA_TABVOL
DBA_ADVISOR_SQLA_WK_MAP
DBA_ADVISOR_SQLA_WK_STMTS
DBA_ADVISOR_SQLA_WK_SUM
DBA_ADVISOR_SQLPLANS
DBA_ADVISOR_SQLSTATS
DBA_ADVISOR_SQLW_COLVOL
DBA_ADVISOR_SQLW_JOURNAL
DBA_ADVISOR_SQLW_PARAMETERS
DBA_ADVISOR_SQLW_STMTS
DBA_ADVISOR_SQLW_SUM
DBA_ADVISOR_SQLW_TABLES
DBA_ADVISOR_SQLW_TABVOL
DBA_ADVISOR_SQLW_TEMPLATES
DBA_ADVISOR_TEMPLATES
DBA_ADVISOR_USAGE
VIEW_NAME
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
13
What is stored in the advisor tables?
❖Findings - description about what was found
(e.g. SQL Tuning Task, ADDM, …)
impact expressed in DB Time
❖Recommendations - type and percent benefit of a Finding
❖Actions – tuning actions recommended for a finding.
Each action is specified by the COMMAND* and ATTR1 - ATTR6 col’s
* COMMAND defines how the attribute columns will be used.
❖Rationale - type and benefit of a recommendation
❖Objects – e.g. advisor objects has the SQL id's for Tuning Advisor
❖Housekeeping:
❖Tasks – advisor tasks for SQL Tuning, Segment Tuning…
❖Log - current: status, progress, error messages, execution times
❖Journal – detailed progress of SQL Access advisor execution
DB Time =
CPU Time + Wait Time (non-idle)
“common currency” for
performance analysis
AAS =
Sum(DB Time) / Elapsed Time
DBA_ADVISOR - “E-R Diagram”
FINDINGS
RECOMMENDATIONS
ACTIONS RATIONALE
TASKS
OBJECTS
DBA_ADVISOR_TASKS – example: Extract ADDM Report
-- use this to get ADDM Report from another schema
SELECT DBMS_ADVISOR.GET_TASK_REPORT(task_name => :tname ,
owner_name => 'SYS' ) FROM DUAL;
ADDM Report for Task 'ADDM:1221021457_1_13991'
...
Summary of Findings
Description Active Sessions Recommendations
Percent of Activity
---------------------------------------- ------------------- ---------------
1 CPU Usage .65 | 30.77 3
2 Top SQL Statements .57 | 26.94 5
3 Undersized SGA .41 | 19.48 1
4 Top Segments by "User I/O" and "Cluster" .26 | 12.54 3
5 Hard Parse Due to Parse Errors .12 | 5.73 1
6 Soft Parse .08 | 4.02 2
7 PL/SQL Execution .08 | 3.8 2
8 Shared Pool Latches .08 | 3.67 0
9 Hard Parse Due to Invalidations .04 | 2.09 1
...
impact expressed in relation to DB Time
=> Be aware of overall AAS & CPU count
when interpreting the findings
DB Time =
CPU Time + Wait Time (non-idle)
AAS =
Sum(DB Time) / Elapsed Time
ADDM: Taxonomy of Findings
❖Hardware Resource Issues
– CPU (capacity, top-sql, …)
– IOs (capacity, top-sql, top-objects, undersized memory cache)
– Cluster Interconnect
– Memory (OS paging)
❖Software Resource Issues
– Application locks
– Internal contention (e.g. access to db buffers)
– Database Configuration
❖Application Issues
– Connection management
– Cursor management (parsing, fetching, …)
Source: Oracle 10g The Self-Managing Database
http://www.csd.uoc.gr/~hy460/pdf/Tutorial3-Oracle.pdf
FINDINGS
RECOMMENDATIONS
ACTIONS RATIONALE
TASKS
OBJECTS
FINDINGS
RECOMMENDATIONS
ACTIONS RATIONALE
TASKS
DBA_ADVISOR - “E-R Diagram”
DBA_ADVISOR_FINDINGS – example: biggest “PROBLEM”
select * from (
select round((ratio_to_report(max(impact)) over ()
*100)) as pct_impact_overall
, finding_name, type, min(impact) min_impact,
max(impact) max_impact, impact_type, count(*)
from DBA_ADVISOR_FINDINGS where impact_type is not null
group by impact_type, finding_name, type)
where pct_impact_overall >=5 order by
pct_impact_overall desc ;
PCT
IMPACT
OVERALL FINDING NAME TYPE MIN_IMPACT MAX_IMPACT IMPACT_TYPE COUNT(*)
27Undersized SGA PROBLEM 46,000,000 148,186,736,440Database time in microseconds. 1,569
20Top SQL Statements PROBLEM 1,150,079,686 107,324,303,460Database time in microseconds. 1,632
15"Scheduler" Wait Class SYMPTOM 763,392,674 81,187,428,967Database time in microseconds. 36
7"User I/O" wait Class SYMPTOM 75,235,024 39,009,418,840Database time in microseconds. 3,337
5
Top Segments by "User I/O"
and "Cluster" PROBLEM 40,296,371 27,276,911,027Database time in microseconds. 1,619
UKPRD011: IO Subsystem
DBA_ADVISOR_FINDINGS – example: biggest “PROBLEM”
❖high level findings can quickly highlight possible problems
USPRD025: SGA memory
FINDINGS
RECOMMENDATIONS
ACTIONS RATIONALE
TASKS
OBJECTS
DBA_ADVISOR - “E-R Diagram”
DBA_ADVISOR_RECOMMENDATIONS
select round((ratio_to_report(max(Benefit)) over ()
*100)) as overall_benefit_pct
, type, min(benefit) min_benefit, max(Benefit)
max_benefit, count(*) cnt
from dba_Advisor_recommendations
where type is not null group by type order by 1 desc ;
OVERALL
BENEFIT
PCT TYPE MIN_BENEFIT MAX_BENEFIT CNT
34 Segment Tuning 39,665,809 20,763,426,690 1,331
22 Application Analysis 7,808,855 13,586,850,940 1,197
20 Host Configuration 168,781,614 11,950,233,345 14
17 SQL Tuning 36,964,444 10,120,889,078 2,556
7 DB Configuration 5,000,000 4,049,000,000 934
0 PARALLEL EXECUTION 5,043 9,947 35
0 STATISTICS 0 0 20
0 SQL PROFILE 100 9,999 43
FINDINGS
RECOMMENDATIONS
ACTIONS RATIONALE
TASKS
OBJECTS
DBA_ADVISOR - “E-R Diagram”
DBA_ADVISOR_ACTIONS
select command, message , count(*)
from dba_advisor_Actions
group by command, message ;
COMMAND MESSAGE COUNT(*)
REORG OBJECT 411
UNDEFINED Investigate the cause for high "SQL*Net more data from client" waits in Module "osh@us1salx00244 (T
48
UNDEFINED Investigate the cause for high "SQL*Net more data from client" waits with P1 ("driver id") value "141369
4
RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the INSERT statement with SQL_ID "722cx16t2m2tr". 44
RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the UPDATE statement with SQL_ID "3k77xwmkcnba7". 27
UNDEFINED Investigate application logic involving I/O on INDEX "BI_INTL_MEAP_ANALYSE.ERRL_ERROR_LOG_
35
RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the UPDATE statement with SQL_ID "5nwqnypwm8w5a". 35
UNDEFINED Investigate application logic to eliminate parse errors. 20
RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the DELETE statement with SQL_ID "3spmhfwkxx347". 1
UNDEFINED Investigate the SELECT statement with SQL_ID "7rvfddkacbuts" for possible performance improvement
1
UNDEFINED Look at the "Top SQL Statements" finding for SQL statements consuming significant I/O on this segm
10
UNDEFINED Look at the "Top SQL Statements" finding for SQL statements consuming significant time on the "SQL
1
UNDEFINED Investigate the SELECT statement with SQL_ID "04s9b5z0nmssx" for possible performance improvem
4
RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the SELECT statement with SQL_ID "fuq8my89cfaqb". 21
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
25
Querying the advisor framework
“Mr. SQL” likes to “talk SQL” to his data
❖DBA_ADVISOR - Alter Parameter.sql
❖DBA_ADVISOR - Top SQL from ADDM Reports.sql
❖DBA_ADVISOR - Accept SQL Profiles.sql
❖DBA_ADVISOR – Indexes.sql
❖DBA_ADVISOR – GatherStats.sql
❖DBA_ADVISOR - Segment Advisor.sql
❖DBA_ADVISOR - SQL Access Advisor - Reporting.sql
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
27
Customized Tuning Process
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
0. Collate accurate
problem
description
Use Case – “Worthy” SQL Access Advisor Rec’s
❖DBA_ADVISOR - SQL Access Advisor - Reporting.sql
❖Check to be sure SAA provides “worthy” rec’s
❖EXAMPLE:
❖SQL Acces Advisor Example.sql
❖Output: SQL Acces Advisor Example - Resulting Script.sql
select * from dba_advisor_log where task_name =
'SQLA_USPRD069_DAY2017_09_14'; <click here>
select * from dba_advisor_journal where task_name =
'SQLA_USPRD069_DAY2017_09_14'
order by journal_entry_seq desc; <click here>
Check to be sure SAA provides “worthy” rec’s <click here>
SQL Access
Advisor:
recommendatio
ns
on a workload
(vs individual
SQL)
Context within Customized Tuning Process
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
Use Case: Tune Top Flagged SQL
❖DBA_ADVISOR - Top SQL from ADDM Reports.sql
❖Action STA using the top 5 SQL from hourly ADDM runs
❖Example: UKPRD666
DBA_ADVISOR - ADDM Report Details - UKPRD666.xls
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
Context within Customized Tuning Process
Use Case: Accept Profiles enmasse
❖DBA_ADVISOR - Accept SQL Profiles.sql
❖SQL Tuning Advisor (STA) runs are persisted
❖Automatically extract lots of SQL Profiles
❖Use when there are a lot of STA runs
❖Example: UKPRD666
DBA_ADVISOR - Accept SQL Profiles - UKPRD666.xls
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
Context within Customized Tuning Process
Use Case: Evaluate Index
Recommendations
❖DBA_ADVISOR - Indexes.sql
❖Aggregates index recommendations from multiple STA runs
❖Provides
❖Details on benefit and applicable SQL’s, …
❖Create Index Commands, …
❖Example: USPRD008
INDEX_TAB_COLS
MIN
BENEFIT
MAX
BENEFIT
CNT
SQL SQL_LIST
RD_FLUX8.FLUX_ACTION_RUN ("ACTION_TYPE","ACTION_NAME")
53 90 5
1h2ukn4qv9qpa, 203ukc9zfqzv4, a
bq5mubzd6azdt, gyj3m3g4fruwa
RD_FLUX8.FLUX_ACTION_RUN ("ACTION_NAME","ACTION_TYPE")
98 98 1 bq5mubzd6azdt
RD_FLUX8.FLUX_ACTION_RUN ("ACTION_NAME") 77 77 1 bq5mubzd6azdt
RD_FLUX8.FLUX_AUDIT_TRAIL (CASE INSTR("NAMESPACE",'$',1) WHEN 0 THEN "NAMESPACE" ELSE SUBSTR("NA
90 90 1 a1h14mu7wxbuz
RD_FLUX8.FLUX_AUDIT_TRAIL ("EVENT",TO_NUMBER(SUBSTR("NAMESPACE",CASE INSTR("NAMESPACE",'$',-1,1)
53 90 3 1h2ukn4qv9qpa, 203ukc9zfqzv4, a
RD_FLUX8.FLUX_AUDIT_TRAIL ("EVENT","CREATION","ACTION_NAME",CASE INSTR("NAMESPACE",'$',1) WHEN 0 TH
77 77 1 bq5mubzd6azdt
RD_FLUX8.FLUX_AUDIT_TRAIL ("EVENT","CREATION") 67 78 2 203ukc9zfqzv4, gyj3m3g4fruwa
RD_FLUX8.FLUX_AUDIT_TRAIL ("ACTION_NAME","NAMESPACE","EVENT",TO_NUMBER(SUBSTR("NAMESPACE",CA
77 98 1 bq5mubzd6azdt, bq5mubzd6azdt
Use Case: Evaluate Parameter
Recommendations
❖DBA_ADVISOR - Alter Parameter.sql
❖Leverages the fact that ADDM runs every hour
❖Example: USPRD025
PARAMETER
ACTION
COUNT MESSAGE
cursor_sharing 27 Alternatively, you may set the parameter "cursor_sharing" to "force".
pga_aggregate_target 7 Increase the size of the PGA by setting the value of parameter "pga_aggregate_target" to 174
pga_aggregate_target 1 Increase the size of the PGA by setting the value of parameter "pga_aggregate_target" to 154
pga_aggregate_target 137 Increase the size of the PGA by setting the value of parameter "pga_aggregate_target" to 116
session_cached_cursors 397 Consider increasing the session cursor cache size by increasing the value of parameter "sess
sga_target 3 Increase the size of the SGA by setting the parameter "sga_target" to 32768 M.
sga_target 3 Increase the size of the SGA by setting the parameter "sga_target" to 30720 M.
sga_target 2 Increase the size of the SGA by setting the parameter "sga_target" to 28672 M.
sga_target 10 Increase the size of the SGA by setting the parameter "sga_target" to 26624 M.
sga_target 59 Increase the size of the SGA by setting the parameter "sga_target" to 24576 M.
sga_target 63 Increase the size of the SGA by setting the parameter "sga_target" to 22528 M.
sga_target 104 Increase the size of the SGA by setting the parameter "sga_target" to 20480 M.
sga_target 299 Increase the size of the SGA by setting the parameter "sga_target" to 18432 M.
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
Context within Customized Tuning Process
Use Case: Segment Tuning enmasse
❖DBA_ADVISOR - Segment Advisor.sql
❖When RCA suggests need for Segment Tuning
❖Extract Advice for specific or many runs
❖Example: UKPRD011 with sysstat observation:
high: “table fetch continue row”
msg %chained rows%
<DBA_ADVISOR - Segment Advisor - UKPRD011.xls>
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
Context within Customized Tuning Process
Use cases not instrumented – remaining
work
❖Restructure SQL Finding:
❖An expensive Cartesian product operation was found …
❖add a join condition
❖Predicate contains an expression on an indexed column
❖Rewrite or create a function-based index on the expression.
❖Alternative Plan Finding
❖See “NUM_PLANS” column from
DBA_ADVISOR - Top SQL from ADDM Reports.sql
❖Integrating findings:
❖Profiles
❖Indexes
❖Missing stats
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
41
Catalog of SQL Tools – TOAD / SQL Developer Versions
❖DBA_ADVISOR - Alter Parameter.sql
❖DBA_ADVISOR - Top SQL from ADDM Reports.sql
❖DBA_ADVISOR - Accept SQL Profiles.sql
❖DBA_ADVISOR – Indexes.sql
❖DBA_ADVISOR – GatherStats.sql
❖DBA_ADVISOR - Segment Advisor.sql
❖DBA_ADVISOR - SQL Access Advisor - Reporting.sql
❖SQL_Details_rpt.sql
❖SQLTUNE.sql
Catalog of SQL Tools – SQL*Plus Versions
Code Purpose
sysmetric_pivot.sql multiple metrics pivoted across top
advisor_params.sql Query the hourly ADDM runs to extract Init.ora parameter recommendations
advisor_params_p.sql gives just the top parameter change recommendation from ADDM runs
advisor_top_sql.sql Top SQL needing tuning from hourly ADDM runs
stacmd.sql just get commands to run the STA (version of advisor_top_sql.sql)
advisor_profiles.sql STA results containing Profiles and other data
prof.sql query to generate accept SQL Profile commands:
advisor_indexes.sql STA results containing INDEXES and other data
indx.sql query to generate create index commands from SQL Tuning Advisor runs
dba_hist_filestatxs_04.sql dba_hist_filestatxs IO stats agregated (sum) across files
sqltune.sql Run the sql tuning advisor (20 min limit)
sqltune_l.sql Run the sql tuning advisor (60 min limit)
top_redo.sql sql/segments/objects with highest redo log generation
top_wait_ash.sql Top wait events from dba_hist_active_sess_history - in 5 min intervals
top_sql.sql Top SQL from dba_hist_sqlstat
SQLPlus_cmds_csv.sql
various SQL PLUS set commands to establish conditions for creating tab delimited
data sets
Agenda: Tuning Using the Advisor Framework
❑What is the Advisor Framework?
❑Why scale-up your use of the Advisor Framework?
❑Advisor tables
❑What is stored in the advisor tables?
❑Querying the advisor framework
❑Case Studies / Advisor framework in use
❑Catalog of SQL Tools
❑Questions
Goal: Use Advisor framework to scale up performance tuning
44
Performance Tuning
Using the Advisor
Framework
RMOUG Virtual Training Days Conference
February 7 – 11, 2022
Roger Cornejo
Technology Innovation Senior Principal
Accenture Enkitec Group
Roger.Cornejo@Accenture.com
@OracleDBTuning
https://www.linkedin.com/in/roger-cornejo-1805642/
Questions?
ELITE
• World renown deep engineering skills in Oracle and cloud platforms
• 1,000+ engineered systems configured / 200+ patched annually
• 500+ clients served annually on Oracle technologies and solutions
• Delivery Unit dedicated to Oracle (Accenture Oracle Practice)
EXPERTISE
• 120 people specializing in Oracle and other cloud providers
• Average of 15+ years experience
• 17 Oracle ACEs in Accenture Enkitec Group
• 54,000 people in the Accenture Oracle Practice
• Bare metal solutions for Azure and Google
SUCCESS
• Many awards and recognitions
• Thousands of engineered systems configured and patched
• Hundreds of clients
• Massive library of performance and cloud assessment tools
THOUGHT
LEADERSHIP
• Well-published in multiple subject areas
• Many online resources curated
• Sought after for conference presentations
• Many white papers produce on advanced topics such as
Oracle cloud performance and TCO on the Oracle cloud
ENKITEC DATABASE ENGINEERING
Architect, Engineer, Operate, Govern Hybrid, Multi-Cloud, Edge
Distributed Physical & Virtual infrastructure “Everywhere”
Thank You
Appendix
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
Context within Customized Tuning Process
3. Analyze SQL Details
4. SQL Tuning Advisor
5. Confirm RCA
/
Solution(s)
6. Convey:
- Observations
- Root Cause(s)
- Solution(s)
7. Implement / Monitor
0. Collate accurate
problem
description
2. Examine Slow SQL Stats
1. Identify Slow Session(s)
Context within Customized Tuning Process

More Related Content

Similar to 22-4_PerformanceTuningUsingtheAdvisorFramework.pdf

Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
All (that i know) about exadata external
All (that i know) about exadata externalAll (that i know) about exadata external
All (that i know) about exadata externalPrasad Chitta
 
Microsoft SQL Server Query Tuning
Microsoft SQL Server Query TuningMicrosoft SQL Server Query Tuning
Microsoft SQL Server Query TuningMark Ginnebaugh
 
Transforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOpsTransforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOpsNicolas (Nick) Barcet
 
Best practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsBest practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsAjith Narayanan
 
SQL Server and System Center Advisor
SQL Server and System Center AdvisorSQL Server and System Center Advisor
SQL Server and System Center AdvisorEduardo Castro
 
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2SolarWinds
 
Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013Valeriy Kravchuk
 
System Architecture Exploration Training Class
System Architecture Exploration Training ClassSystem Architecture Exploration Training Class
System Architecture Exploration Training ClassDeepak Shankar
 
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginnersKoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginnersTobias Koprowski
 
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginnersKoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginnersTobias Koprowski
 
Performance eng prakash.sahu
Performance eng prakash.sahuPerformance eng prakash.sahu
Performance eng prakash.sahuDr. Prakash Sahu
 
Metadata Modeling Best Practices with IBM Cognos Framework Manager
Metadata Modeling Best Practices with IBM Cognos Framework ManagerMetadata Modeling Best Practices with IBM Cognos Framework Manager
Metadata Modeling Best Practices with IBM Cognos Framework ManagerSenturus
 
Advanced tips for making Oracle databases faster
Advanced tips for making Oracle databases fasterAdvanced tips for making Oracle databases faster
Advanced tips for making Oracle databases fasterSolarWinds
 
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...Midori Oge
 
SharePoint Administration: Tips from the Field
SharePoint Administration: Tips from the FieldSharePoint Administration: Tips from the Field
SharePoint Administration: Tips from the Fieldwahidsaleemi
 
Oracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfOracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfAlex446314
 
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
제3회난공불락 오픈소스 인프라세미나 - MySQL PerformanceTommy Lee
 
Webinar: Performance Tuning + Optimization
Webinar: Performance Tuning + OptimizationWebinar: Performance Tuning + Optimization
Webinar: Performance Tuning + OptimizationMongoDB
 

Similar to 22-4_PerformanceTuningUsingtheAdvisorFramework.pdf (20)

Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
All (that i know) about exadata external
All (that i know) about exadata externalAll (that i know) about exadata external
All (that i know) about exadata external
 
Mstr meetup
Mstr meetupMstr meetup
Mstr meetup
 
Microsoft SQL Server Query Tuning
Microsoft SQL Server Query TuningMicrosoft SQL Server Query Tuning
Microsoft SQL Server Query Tuning
 
Transforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOpsTransforming to OpenStack: a sample roadmap to DevOps
Transforming to OpenStack: a sample roadmap to DevOps
 
Best practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementationsBest practices for_large_oracle_apps_r12_implementations
Best practices for_large_oracle_apps_r12_implementations
 
SQL Server and System Center Advisor
SQL Server and System Center AdvisorSQL Server and System Center Advisor
SQL Server and System Center Advisor
 
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2
 
Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013
 
System Architecture Exploration Training Class
System Architecture Exploration Training ClassSystem Architecture Exploration Training Class
System Architecture Exploration Training Class
 
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginnersKoprowskiT_SQLSat409_MaintenancePlansForBeginners
KoprowskiT_SQLSat409_MaintenancePlansForBeginners
 
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginnersKoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
KoprowskiT_SQLSaturday409_MaintenancePlansForBeginners
 
Performance eng prakash.sahu
Performance eng prakash.sahuPerformance eng prakash.sahu
Performance eng prakash.sahu
 
Metadata Modeling Best Practices with IBM Cognos Framework Manager
Metadata Modeling Best Practices with IBM Cognos Framework ManagerMetadata Modeling Best Practices with IBM Cognos Framework Manager
Metadata Modeling Best Practices with IBM Cognos Framework Manager
 
Advanced tips for making Oracle databases faster
Advanced tips for making Oracle databases fasterAdvanced tips for making Oracle databases faster
Advanced tips for making Oracle databases faster
 
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
Apache CloudStack Examination - CloudStack Collaboration Conference in Europe...
 
SharePoint Administration: Tips from the Field
SharePoint Administration: Tips from the FieldSharePoint Administration: Tips from the Field
SharePoint Administration: Tips from the Field
 
Oracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdfOracle_Patching_Untold_Story_Final_Part2.pdf
Oracle_Patching_Untold_Story_Final_Part2.pdf
 
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
 
Webinar: Performance Tuning + Optimization
Webinar: Performance Tuning + OptimizationWebinar: Performance Tuning + Optimization
Webinar: Performance Tuning + Optimization
 

Recently uploaded

Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...ThinkInnovation
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfJohn Sterrett
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptxthyngster
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDRafezzaman
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...Suhani Kapoor
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理e4aez8ss
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一fhwihughh
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)jennyeacort
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 

Recently uploaded (20)

Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
Predictive Analysis - Using Insight-informed Data to Determine Factors Drivin...
 
DBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdfDBA Basics: Getting Started with Performance Tuning.pdf
DBA Basics: Getting Started with Performance Tuning.pdf
 
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptxEMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM  TRACKING WITH GOOGLE ANALYTICS.pptx
EMERCE - 2024 - AMSTERDAM - CROSS-PLATFORM TRACKING WITH GOOGLE ANALYTICS.pptx
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTDINTERNSHIP ON PURBASHA COMPOSITE TEX LTD
INTERNSHIP ON PURBASHA COMPOSITE TEX LTD
 
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
VIP High Class Call Girls Jamshedpur Anushka 8250192130 Independent Escort Se...
 
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
科罗拉多大学波尔得分校毕业证学位证成绩单-可办理
 
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
办理学位证纽约大学毕业证(NYU毕业证书)原版一比一
 
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
VIP Call Girls Service Miyapur Hyderabad Call +91-8250192130
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
Call Us ➥97111√47426🤳Call Girls in Aerocity (Delhi NCR)
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 

22-4_PerformanceTuningUsingtheAdvisorFramework.pdf

  • 1. Performance Tuning Using the Advisor Framework RMOUG Virtual Training Days Conference February 7 – 11, 2022 Roger Cornejo Technology Innovation Senior Principal Accenture Enkitec Group Roger.Cornejo@Accenture.com
  • 2. roger.cornejo@accenture.com Technology Innovation Senior Principal Accenture Enkitec Group • ~36 yrs Oracle experience (since V4) – Developer / Tech Lead / Architect / Project Manager • ~12 years deep dive in Performance – 300 Production Instances – 2500 Applications – INSYNC / OOW / RMOUG / ECO / Hotsos • Cloud Architecture – focus on performance • Dynamic Oracle Performance Analytics Designing / Building / Operating Applications for Performance 2
  • 3. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 3
  • 4. Licensing Restrictions ❖Enterprise Edition ❖Diagnostics + Tuning Pack ❖Diagnostics is prerequisite of Tuning Pack
  • 5. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 5
  • 6. The Advisor Framework is … ❖… Infrastructure to support Oracle’s database manageability Oracle: “… database, heal thy self …” ❖Public interface: ❖PL/SQL package DBMS_ADVISOR ❖OEM (not covered in this presentation) ❖Tuning related advisors are a subset of all advisors (some available since 9i) ❖Focus of this topic: exploring the persisted information from the tuning related advisors
  • 7. Reverse Engineering (RE) of the Advisor Framework RE Definition for purposes intended ❖What: Understand design based on an in-depth examination of its structure and content. ❖How: Exposing content using simple SQL queries. ❖Why: Repurpose Advisor content for various every day performance problem solving use-cases
  • 8. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 8
  • 9. Why scale-up your use of the Advisor Framework? ❖Improved Tuning Capability: 1. Harvest information from periodic runs saves time: no need to re-run ❖ADDM - hourly (each snapshot) ❖Segment - daily ❖SQL Tuning - daily 2. Quickly Assess run results from on-demand execution: ❖SQL Access Advisor ❖SQL Tuning Advisor 3. Massively scale up a DBA’s ability to action tuning
  • 10. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 10
  • 11. Views undergird the Advisor Framework ❖example: select advisor_name from DBA_ADVISOR_DEFINITIONS ADVISOR_NAME ADDM SQL Tuning Advisor Segment Advisor SQL Access Advisor Undo Advisor SQL Repair Advisor SQL Performance Analyzer SQL Workload Manager Tune MView Compression Advisor SPM Evolve Advisor –See: DBA_ADVISOR_DEF_PARAMETERS for how the advisors are set-up
  • 12. Advisor tables select view_name from dba_views where view_name like 'DBA_ADVISOR%' ; -- 41 Views VIEW_NAME DBA_ADVISOR_LOG DBA_ADVISOR_JOURNAL DBA_ADVISOR_TASKS DBA_ADVISOR_EXECUTIONS DBA_ADVISOR_FINDINGS DBA_ADVISOR_RECOMMENDATIONS DBA_ADVISOR_RATIONALE DBA_ADVISOR_ACTIONS DBA_ADVISOR_OBJECTS DBA_ADVISOR_COMMANDS DBA_ADVISOR_DEFINITIONS DBA_ADVISOR_DEF_PARAMETERS DBA_ADVISOR_DIR_DEFINITIONS DBA_ADVISOR_DIR_INSTANCES DBA_ADVISOR_DIR_TASK_INST DBA_ADVISOR_EXECUTION_TYPES DBA_ADVISOR_PARAMETERS DBA_ADVISOR_PARAMETERS_PROJ DBA_ADVISOR_SQLA_COLVOL DBA_ADVISOR_SQLA_REC_SUM DBA_ADVISOR_SQLA_TABLES DBA_ADVISOR_SQLA_TABVOL DBA_ADVISOR_SQLA_WK_MAP DBA_ADVISOR_SQLA_WK_STMTS DBA_ADVISOR_SQLA_WK_SUM DBA_ADVISOR_SQLPLANS DBA_ADVISOR_SQLSTATS DBA_ADVISOR_SQLW_COLVOL DBA_ADVISOR_SQLW_JOURNAL DBA_ADVISOR_SQLW_PARAMETERS DBA_ADVISOR_SQLW_STMTS DBA_ADVISOR_SQLW_SUM DBA_ADVISOR_SQLW_TABLES DBA_ADVISOR_SQLW_TABVOL DBA_ADVISOR_SQLW_TEMPLATES DBA_ADVISOR_TEMPLATES DBA_ADVISOR_USAGE VIEW_NAME
  • 13. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 13
  • 14. What is stored in the advisor tables? ❖Findings - description about what was found (e.g. SQL Tuning Task, ADDM, …) impact expressed in DB Time ❖Recommendations - type and percent benefit of a Finding ❖Actions – tuning actions recommended for a finding. Each action is specified by the COMMAND* and ATTR1 - ATTR6 col’s * COMMAND defines how the attribute columns will be used. ❖Rationale - type and benefit of a recommendation ❖Objects – e.g. advisor objects has the SQL id's for Tuning Advisor ❖Housekeeping: ❖Tasks – advisor tasks for SQL Tuning, Segment Tuning… ❖Log - current: status, progress, error messages, execution times ❖Journal – detailed progress of SQL Access advisor execution DB Time = CPU Time + Wait Time (non-idle) “common currency” for performance analysis AAS = Sum(DB Time) / Elapsed Time
  • 15. DBA_ADVISOR - “E-R Diagram” FINDINGS RECOMMENDATIONS ACTIONS RATIONALE TASKS OBJECTS
  • 16. DBA_ADVISOR_TASKS – example: Extract ADDM Report -- use this to get ADDM Report from another schema SELECT DBMS_ADVISOR.GET_TASK_REPORT(task_name => :tname , owner_name => 'SYS' ) FROM DUAL; ADDM Report for Task 'ADDM:1221021457_1_13991' ... Summary of Findings Description Active Sessions Recommendations Percent of Activity ---------------------------------------- ------------------- --------------- 1 CPU Usage .65 | 30.77 3 2 Top SQL Statements .57 | 26.94 5 3 Undersized SGA .41 | 19.48 1 4 Top Segments by "User I/O" and "Cluster" .26 | 12.54 3 5 Hard Parse Due to Parse Errors .12 | 5.73 1 6 Soft Parse .08 | 4.02 2 7 PL/SQL Execution .08 | 3.8 2 8 Shared Pool Latches .08 | 3.67 0 9 Hard Parse Due to Invalidations .04 | 2.09 1 ... impact expressed in relation to DB Time => Be aware of overall AAS & CPU count when interpreting the findings DB Time = CPU Time + Wait Time (non-idle) AAS = Sum(DB Time) / Elapsed Time
  • 17. ADDM: Taxonomy of Findings ❖Hardware Resource Issues – CPU (capacity, top-sql, …) – IOs (capacity, top-sql, top-objects, undersized memory cache) – Cluster Interconnect – Memory (OS paging) ❖Software Resource Issues – Application locks – Internal contention (e.g. access to db buffers) – Database Configuration ❖Application Issues – Connection management – Cursor management (parsing, fetching, …) Source: Oracle 10g The Self-Managing Database http://www.csd.uoc.gr/~hy460/pdf/Tutorial3-Oracle.pdf
  • 19. DBA_ADVISOR_FINDINGS – example: biggest “PROBLEM” select * from ( select round((ratio_to_report(max(impact)) over () *100)) as pct_impact_overall , finding_name, type, min(impact) min_impact, max(impact) max_impact, impact_type, count(*) from DBA_ADVISOR_FINDINGS where impact_type is not null group by impact_type, finding_name, type) where pct_impact_overall >=5 order by pct_impact_overall desc ; PCT IMPACT OVERALL FINDING NAME TYPE MIN_IMPACT MAX_IMPACT IMPACT_TYPE COUNT(*) 27Undersized SGA PROBLEM 46,000,000 148,186,736,440Database time in microseconds. 1,569 20Top SQL Statements PROBLEM 1,150,079,686 107,324,303,460Database time in microseconds. 1,632 15"Scheduler" Wait Class SYMPTOM 763,392,674 81,187,428,967Database time in microseconds. 36 7"User I/O" wait Class SYMPTOM 75,235,024 39,009,418,840Database time in microseconds. 3,337 5 Top Segments by "User I/O" and "Cluster" PROBLEM 40,296,371 27,276,911,027Database time in microseconds. 1,619
  • 20. UKPRD011: IO Subsystem DBA_ADVISOR_FINDINGS – example: biggest “PROBLEM” ❖high level findings can quickly highlight possible problems USPRD025: SGA memory
  • 22. DBA_ADVISOR_RECOMMENDATIONS select round((ratio_to_report(max(Benefit)) over () *100)) as overall_benefit_pct , type, min(benefit) min_benefit, max(Benefit) max_benefit, count(*) cnt from dba_Advisor_recommendations where type is not null group by type order by 1 desc ; OVERALL BENEFIT PCT TYPE MIN_BENEFIT MAX_BENEFIT CNT 34 Segment Tuning 39,665,809 20,763,426,690 1,331 22 Application Analysis 7,808,855 13,586,850,940 1,197 20 Host Configuration 168,781,614 11,950,233,345 14 17 SQL Tuning 36,964,444 10,120,889,078 2,556 7 DB Configuration 5,000,000 4,049,000,000 934 0 PARALLEL EXECUTION 5,043 9,947 35 0 STATISTICS 0 0 20 0 SQL PROFILE 100 9,999 43
  • 24. DBA_ADVISOR_ACTIONS select command, message , count(*) from dba_advisor_Actions group by command, message ; COMMAND MESSAGE COUNT(*) REORG OBJECT 411 UNDEFINED Investigate the cause for high "SQL*Net more data from client" waits in Module "osh@us1salx00244 (T 48 UNDEFINED Investigate the cause for high "SQL*Net more data from client" waits with P1 ("driver id") value "141369 4 RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the INSERT statement with SQL_ID "722cx16t2m2tr". 44 RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the UPDATE statement with SQL_ID "3k77xwmkcnba7". 27 UNDEFINED Investigate application logic involving I/O on INDEX "BI_INTL_MEAP_ANALYSE.ERRL_ERROR_LOG_ 35 RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the UPDATE statement with SQL_ID "5nwqnypwm8w5a". 35 UNDEFINED Investigate application logic to eliminate parse errors. 20 RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the DELETE statement with SQL_ID "3spmhfwkxx347". 1 UNDEFINED Investigate the SELECT statement with SQL_ID "7rvfddkacbuts" for possible performance improvement 1 UNDEFINED Look at the "Top SQL Statements" finding for SQL statements consuming significant I/O on this segm 10 UNDEFINED Look at the "Top SQL Statements" finding for SQL statements consuming significant time on the "SQL 1 UNDEFINED Investigate the SELECT statement with SQL_ID "04s9b5z0nmssx" for possible performance improvem 4 RUN SQL TUNING ADVISOR Run SQL Tuning Advisor on the SELECT statement with SQL_ID "fuq8my89cfaqb". 21
  • 25. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 25
  • 26. Querying the advisor framework “Mr. SQL” likes to “talk SQL” to his data ❖DBA_ADVISOR - Alter Parameter.sql ❖DBA_ADVISOR - Top SQL from ADDM Reports.sql ❖DBA_ADVISOR - Accept SQL Profiles.sql ❖DBA_ADVISOR – Indexes.sql ❖DBA_ADVISOR – GatherStats.sql ❖DBA_ADVISOR - Segment Advisor.sql ❖DBA_ADVISOR - SQL Access Advisor - Reporting.sql
  • 27. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 27
  • 28. Customized Tuning Process 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 2. Examine Slow SQL Stats 1. Identify Slow Session(s) 0. Collate accurate problem description
  • 29. Use Case – “Worthy” SQL Access Advisor Rec’s ❖DBA_ADVISOR - SQL Access Advisor - Reporting.sql ❖Check to be sure SAA provides “worthy” rec’s ❖EXAMPLE: ❖SQL Acces Advisor Example.sql ❖Output: SQL Acces Advisor Example - Resulting Script.sql select * from dba_advisor_log where task_name = 'SQLA_USPRD069_DAY2017_09_14'; <click here> select * from dba_advisor_journal where task_name = 'SQLA_USPRD069_DAY2017_09_14' order by journal_entry_seq desc; <click here> Check to be sure SAA provides “worthy” rec’s <click here> SQL Access Advisor: recommendatio ns on a workload (vs individual SQL)
  • 30. Context within Customized Tuning Process 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 2. Examine Slow SQL Stats 1. Identify Slow Session(s)
  • 31. Use Case: Tune Top Flagged SQL ❖DBA_ADVISOR - Top SQL from ADDM Reports.sql ❖Action STA using the top 5 SQL from hourly ADDM runs ❖Example: UKPRD666 DBA_ADVISOR - ADDM Report Details - UKPRD666.xls
  • 32. 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 2. Examine Slow SQL Stats 1. Identify Slow Session(s) Context within Customized Tuning Process
  • 33. Use Case: Accept Profiles enmasse ❖DBA_ADVISOR - Accept SQL Profiles.sql ❖SQL Tuning Advisor (STA) runs are persisted ❖Automatically extract lots of SQL Profiles ❖Use when there are a lot of STA runs ❖Example: UKPRD666 DBA_ADVISOR - Accept SQL Profiles - UKPRD666.xls
  • 34. 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 2. Examine Slow SQL Stats 1. Identify Slow Session(s) Context within Customized Tuning Process
  • 35. Use Case: Evaluate Index Recommendations ❖DBA_ADVISOR - Indexes.sql ❖Aggregates index recommendations from multiple STA runs ❖Provides ❖Details on benefit and applicable SQL’s, … ❖Create Index Commands, … ❖Example: USPRD008 INDEX_TAB_COLS MIN BENEFIT MAX BENEFIT CNT SQL SQL_LIST RD_FLUX8.FLUX_ACTION_RUN ("ACTION_TYPE","ACTION_NAME") 53 90 5 1h2ukn4qv9qpa, 203ukc9zfqzv4, a bq5mubzd6azdt, gyj3m3g4fruwa RD_FLUX8.FLUX_ACTION_RUN ("ACTION_NAME","ACTION_TYPE") 98 98 1 bq5mubzd6azdt RD_FLUX8.FLUX_ACTION_RUN ("ACTION_NAME") 77 77 1 bq5mubzd6azdt RD_FLUX8.FLUX_AUDIT_TRAIL (CASE INSTR("NAMESPACE",'$',1) WHEN 0 THEN "NAMESPACE" ELSE SUBSTR("NA 90 90 1 a1h14mu7wxbuz RD_FLUX8.FLUX_AUDIT_TRAIL ("EVENT",TO_NUMBER(SUBSTR("NAMESPACE",CASE INSTR("NAMESPACE",'$',-1,1) 53 90 3 1h2ukn4qv9qpa, 203ukc9zfqzv4, a RD_FLUX8.FLUX_AUDIT_TRAIL ("EVENT","CREATION","ACTION_NAME",CASE INSTR("NAMESPACE",'$',1) WHEN 0 TH 77 77 1 bq5mubzd6azdt RD_FLUX8.FLUX_AUDIT_TRAIL ("EVENT","CREATION") 67 78 2 203ukc9zfqzv4, gyj3m3g4fruwa RD_FLUX8.FLUX_AUDIT_TRAIL ("ACTION_NAME","NAMESPACE","EVENT",TO_NUMBER(SUBSTR("NAMESPACE",CA 77 98 1 bq5mubzd6azdt, bq5mubzd6azdt
  • 36. Use Case: Evaluate Parameter Recommendations ❖DBA_ADVISOR - Alter Parameter.sql ❖Leverages the fact that ADDM runs every hour ❖Example: USPRD025 PARAMETER ACTION COUNT MESSAGE cursor_sharing 27 Alternatively, you may set the parameter "cursor_sharing" to "force". pga_aggregate_target 7 Increase the size of the PGA by setting the value of parameter "pga_aggregate_target" to 174 pga_aggregate_target 1 Increase the size of the PGA by setting the value of parameter "pga_aggregate_target" to 154 pga_aggregate_target 137 Increase the size of the PGA by setting the value of parameter "pga_aggregate_target" to 116 session_cached_cursors 397 Consider increasing the session cursor cache size by increasing the value of parameter "sess sga_target 3 Increase the size of the SGA by setting the parameter "sga_target" to 32768 M. sga_target 3 Increase the size of the SGA by setting the parameter "sga_target" to 30720 M. sga_target 2 Increase the size of the SGA by setting the parameter "sga_target" to 28672 M. sga_target 10 Increase the size of the SGA by setting the parameter "sga_target" to 26624 M. sga_target 59 Increase the size of the SGA by setting the parameter "sga_target" to 24576 M. sga_target 63 Increase the size of the SGA by setting the parameter "sga_target" to 22528 M. sga_target 104 Increase the size of the SGA by setting the parameter "sga_target" to 20480 M. sga_target 299 Increase the size of the SGA by setting the parameter "sga_target" to 18432 M.
  • 37. 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 2. Examine Slow SQL Stats 1. Identify Slow Session(s) Context within Customized Tuning Process
  • 38. Use Case: Segment Tuning enmasse ❖DBA_ADVISOR - Segment Advisor.sql ❖When RCA suggests need for Segment Tuning ❖Extract Advice for specific or many runs ❖Example: UKPRD011 with sysstat observation: high: “table fetch continue row” msg %chained rows% <DBA_ADVISOR - Segment Advisor - UKPRD011.xls>
  • 39. 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 2. Examine Slow SQL Stats 1. Identify Slow Session(s) Context within Customized Tuning Process
  • 40. Use cases not instrumented – remaining work ❖Restructure SQL Finding: ❖An expensive Cartesian product operation was found … ❖add a join condition ❖Predicate contains an expression on an indexed column ❖Rewrite or create a function-based index on the expression. ❖Alternative Plan Finding ❖See “NUM_PLANS” column from DBA_ADVISOR - Top SQL from ADDM Reports.sql ❖Integrating findings: ❖Profiles ❖Indexes ❖Missing stats
  • 41. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 41
  • 42. Catalog of SQL Tools – TOAD / SQL Developer Versions ❖DBA_ADVISOR - Alter Parameter.sql ❖DBA_ADVISOR - Top SQL from ADDM Reports.sql ❖DBA_ADVISOR - Accept SQL Profiles.sql ❖DBA_ADVISOR – Indexes.sql ❖DBA_ADVISOR – GatherStats.sql ❖DBA_ADVISOR - Segment Advisor.sql ❖DBA_ADVISOR - SQL Access Advisor - Reporting.sql ❖SQL_Details_rpt.sql ❖SQLTUNE.sql
  • 43. Catalog of SQL Tools – SQL*Plus Versions Code Purpose sysmetric_pivot.sql multiple metrics pivoted across top advisor_params.sql Query the hourly ADDM runs to extract Init.ora parameter recommendations advisor_params_p.sql gives just the top parameter change recommendation from ADDM runs advisor_top_sql.sql Top SQL needing tuning from hourly ADDM runs stacmd.sql just get commands to run the STA (version of advisor_top_sql.sql) advisor_profiles.sql STA results containing Profiles and other data prof.sql query to generate accept SQL Profile commands: advisor_indexes.sql STA results containing INDEXES and other data indx.sql query to generate create index commands from SQL Tuning Advisor runs dba_hist_filestatxs_04.sql dba_hist_filestatxs IO stats agregated (sum) across files sqltune.sql Run the sql tuning advisor (20 min limit) sqltune_l.sql Run the sql tuning advisor (60 min limit) top_redo.sql sql/segments/objects with highest redo log generation top_wait_ash.sql Top wait events from dba_hist_active_sess_history - in 5 min intervals top_sql.sql Top SQL from dba_hist_sqlstat SQLPlus_cmds_csv.sql various SQL PLUS set commands to establish conditions for creating tab delimited data sets
  • 44. Agenda: Tuning Using the Advisor Framework ❑What is the Advisor Framework? ❑Why scale-up your use of the Advisor Framework? ❑Advisor tables ❑What is stored in the advisor tables? ❑Querying the advisor framework ❑Case Studies / Advisor framework in use ❑Catalog of SQL Tools ❑Questions Goal: Use Advisor framework to scale up performance tuning 44
  • 45. Performance Tuning Using the Advisor Framework RMOUG Virtual Training Days Conference February 7 – 11, 2022 Roger Cornejo Technology Innovation Senior Principal Accenture Enkitec Group Roger.Cornejo@Accenture.com @OracleDBTuning https://www.linkedin.com/in/roger-cornejo-1805642/ Questions?
  • 46. ELITE • World renown deep engineering skills in Oracle and cloud platforms • 1,000+ engineered systems configured / 200+ patched annually • 500+ clients served annually on Oracle technologies and solutions • Delivery Unit dedicated to Oracle (Accenture Oracle Practice) EXPERTISE • 120 people specializing in Oracle and other cloud providers • Average of 15+ years experience • 17 Oracle ACEs in Accenture Enkitec Group • 54,000 people in the Accenture Oracle Practice • Bare metal solutions for Azure and Google SUCCESS • Many awards and recognitions • Thousands of engineered systems configured and patched • Hundreds of clients • Massive library of performance and cloud assessment tools THOUGHT LEADERSHIP • Well-published in multiple subject areas • Many online resources curated • Sought after for conference presentations • Many white papers produce on advanced topics such as Oracle cloud performance and TCO on the Oracle cloud ENKITEC DATABASE ENGINEERING Architect, Engineer, Operate, Govern Hybrid, Multi-Cloud, Edge Distributed Physical & Virtual infrastructure “Everywhere”
  • 49. 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 2. Examine Slow SQL Stats 1. Identify Slow Session(s) Context within Customized Tuning Process
  • 50. 3. Analyze SQL Details 4. SQL Tuning Advisor 5. Confirm RCA / Solution(s) 6. Convey: - Observations - Root Cause(s) - Solution(s) 7. Implement / Monitor 0. Collate accurate problem description 2. Examine Slow SQL Stats 1. Identify Slow Session(s) Context within Customized Tuning Process