SlideShare a Scribd company logo
1 of 54
Download to read offline
Winning Performance Challenges
in Oracle Standard Editions
Product Manager for Database Monitoring
Feb 21st , 2019
Pini Dibask
RMOUG
Training Days
2019
2
• Pini Dibask, Product Manager for Database Monitoring, Quest Software
• Oracle ACE
• Oracle Certified Professional DBA (OCP)
• Public Speaker )Oracle OpenWorld, IOUG Collaborate, RMOUG, DOAG, OUGN, AOUG)
• Blogger: OracleDBPro.BlogSpot.com
Pini.Dibask@Quest.com
http://Linkedin.com/in/pinidibask
@pini_dibask
About the Speaker
3
Where Am I From?
 Israel, Tel Aviv
4
Who is Quest Software?
9 0 % o f
F o r t u n e 1 0 0
using our
software
1 , 5 0 0
engineers building
quality products
4 M
c o m m u n i t y
m e m b e r s
sharing best practices
3 , 5 0 0
employees focused
on customers
Quest is a global software provider trusted by
100,000 customers and 6,000 partners in 100
countries.
We help IT organizations spend less time on
administration and more time on innovation.
6 , 0 0 0
partners selling
our software
5
• Toad database development &
management tools
• Foglight for cross-platform
database performance
monitoring solution
• SharePlex for database
replication
Quest Database Management Solutions
6
Agenda
 Introduction to Oracle database performance tuning
 Common challenges when using standard editions
 Winning performance challenges in standard editions
 Q&A
Introductions01
Confidential8
Performance Tuning could be complicated…
Data Dictionary
Adaptive
Plans
ASH
Time-
Based
Analysis
Change
Tracking
SGA
KPIs
Blocking
Locks
Optimizer
Statistics
Historical
Activity
AWR
Statspack
Advisories
Plan Stability
ADDM
AMM
Baselines
Statistics
Feedback
Plan Analysis
Confidential9
Instance
Tuning
Memory
Allocations
I/O
Requirements
CPU Resources
Files
Configurations
Initialization
Parameters
Common Performance Diagnostics Approaches
SQL
Tuning
Optimizer
Statistics
Plan
Analysis
Object
Analysis
Plan
Stability
Initialization
Parameters
Confidential10
Instance Tuning - Common Things to Consider
 Initialization Parameters - (e.g. MEMORY_TARGET, STATISTICS_LEVEL)
 Files configuration - redo logs, undo tablespace
 Memory structures - ASMM, AMM, min size for buffer pools
 Hardware configuration - memory, storage characteristics, network
 ASM configuration - disk groups and failure groups
 Connection management - both app level and DB level
Confidential11
 Schema Modeling and Object analysis - Indexes, partitions, materialized views
 Effective use of bind variables
 Oracle CBO features which may impact execution plans
• SQL Profiles (10g)
• Extended Statistics (11gR1)
• SQL plan management (11gR1)
• Adaptive Cursor Sharing (11gR2)
• Cardinality Feedback (11gR2) / Statistics Feedback (12c)
• Dynamic Sampling (10g) / Dynamic Statistics (12cR1)
• Adaptive Plans (12cR1)
SQL Tuning - Common Things to Consider
Confidential12
1. Determine the most significant bottleneck – i.e. best tuning opportunities
2. Improve/Fix it
3. Repeat until performance is good
My Blog Post:
http://oracledbpro.blogspot.com/2015/09/simple-performance-tuning-methodology.html
Simplified Performance Tuning Methodology
Confidential13
Time Based Analysis - Which statements should we address first?
 X Axis - db time (CPU time + Non idle wait events)
 Y Axis - number of executions
Confidential14
Time Based Analysis - Which statements should we address first?
 X Axis - db time (CPU time + Non idle wait events)
 Y Axis - number of executions
Confidential15
OK, we found the problematic statements - what’s next?
 What is the statement doing and why?
• Execution plan + optimizer statistics
• Most significant wait-events (DB Time standpoint)
)e.g. “checkpoint not complete”, “db file scattered read”)
Confidential16
How can we find them with enterprise edition & diagnostics pack?
 AWR
 ADDM
 ASH
 ASH Analytics
 SQL Tuning Advisory
Confidential17
How can we find them with enterprise edition & diagnostics pack?
 AWR
 ADDM
 ASH
 ASH Analytics
 SQL Tuning Advisory
Confidential18
How can we find them with enterprise edition & diagnostics pack?
 AWR
 ADDM
 ASH
 ASH Analytics
 SQL Tuning Advisory
Confidential19
How can we find them with enterprise edition & diagnostics pack?
 AWR
 ADDM
 ASH
 ASH Analytics
 SQL Tuning Advisory
Confidential20
How can we find them with enterprise edition & diagnostics pack?
 AWR
 ADDM
 ASH
 ASH Analytics
 SQL Tuning Advisory
Oracle Standard
Editions02
Confidential22
Why Standard Editions?
 Less expensive than enterprise edition (but with less capabilities)
 What’s the main challenge when it comes to performance diagnostics?
• Best performance tuning features are part of Diagnostics & Tuning packs
• Diagnostics & Tuning packs – only available with Enterprise Edition
Confidential23
Which standard editions are available?
 12.1.0.1 and earlier
• Standard Edition – support for RAC, maximum 4 CPU Sockets
• Standard Edition One – no support for RAC, maximum 2 CPU sockets
 12.1.0.2 and above
• Standard Edition 2
For more info:
http://www.oracle.com/us/products/database/oracle-db-se2-brief-2680836.pdf
Confidential24
Performance Tuning Challenges for DBAs
Feature No Diagnostics Pack Diagnostics Pack Diagnostics & Tuning Packs
Statspack   
Dictionary Views *
(most of them…)
 
AWR х  
ASH х  
ASH Analytics х  
ADDM/Compare Period ADDM х  
SQL Tuning Advisor х х 
SQL Access Advisor х х 
Winning Performance
Challenges in Oracle
Standard Editions03
26
So what our options when diagnostics pack not available?
 Statspack - available since Oracle 8i (1998)
 Dictionary Views (below are my favorites…)
• DB statistics – V$SESSTAT, V$SYSSTAT
• SQL statistics – V$SQLAREA, V$SQL
• Execution plan information – V$SQL_PLAN, V$SQL_SHARED_CURSOR
• Object level statistics – V$SEGMENT_STATISTICS
• File level statistics – V$FILESTAT
• Wait events – V$SESSION, V$SESSION_WAIT, V$SYSTEM_EVENT
• Time model statistics – V$SYS_TIME_MODEL, V$SES_TIME_MODEL
27
Statspack
 Oracle 8i and above
 “Poor man’s AWR”
 Text based report - no easy navigation
 Less comprehensive than AWR
 Less metrics
 No ASH data
28
Monitoring locks via Oracle Dictionary Views Cont’d
SQL> SELECT DECODE (blocking_session, null, null, 'BLOCKED') status,
sid,
lmode,
request,
ctime duration,
USER,
program,
blocking_session,
DECODE (request, 0, NULL, SQL_TEXT) SQL_TEXT
FROM v$lock l
JOIN v$session s USING (sid)
LEFT JOIN v$sqlarea USING (sql_id)
WHERE block = 1 OR request > 0
ORDER BY status
STATUS SID LMODE REQUEST DURATION USER PROGRAM BLOCKING_SESSION SQL_TEXT
----------- ---------- ---------- ---------- ---------- ------- ----------- ---------------------------- ------------------------------------------------
BLOCKED 195 4 5 16581 SALES sqlplus.exe 385 lock table employees in share row exclusive mode
BLOCKED 13 0 3 10129 SALES Toad.exe 385 insert into employees values (1, 'Jason')
385 4 0 16575 SALES sqlplus.exe
Real-Time
Monitoring
29
Using Dictionary Views - Example
30
Execution Plan Analysis – Estimated vs. Actual
 GATHER_PLAN_STATISTICS hint
 DBMS_XPLAN.DISPLAY_CURSOR(FORMAT=>'ALLSTATS LAST')
Example:
31
Execution Plan Analysis – Example
Actual cardinality
almost 10 time
higher than
estimated!
32
What are the challenges with these approaches?
 Statspack
• Text format - less intuitive to navigate compared to AWR html format
• Not as feature-rich as AWR
 Dictionary Views
• Limited history
• Cumulative statistics - since startup
But most importantly… no visualization
What do these three things have in common?
They all provide a clearer perspective -
You can’t fix what you can’t see!
What if you could…
Gain complete visibility into the health
and performance of your cross-
platform database environments
Confidential35
Workload Analysis using OEM ASH Analytics
Only with
Enterprise Edition +
Diagnostics Pack
Confidential36
Foglight for Databases: Cross Platform Visibility
Confidential37
 Foglight for Oracle - the Oracle Diagnostics pack alternative
 Analysis tool-set for deep visibility into database performance
 Supports all editions and configurations
 Remote (“agentless”) collector
Supports all database editions and configurations!
Get Performance Diagnostics Without Spending a Fortune!
38
Baseline visualization in Foglight
No baseline
deviation
Deep-dive Multi-Dimensional workload analysis
The alternative to OEM Active Session History Analytics
Drilldown,
slice, and dice
operations
Comprehensive
set of
dimensions
Investigate Multi-Dimensional wait-events & statistics
41
Quickly identifying Blocking locks issues
42
Quickly identifying Blocking locks issues
43
Quickly identifying Blocking locks issues
44
Quickly identifying Blocking locks issues
45
Quickly identifying Blocking locks issues
Track Changes & Correlate them with your workload
Filter by
Execution Plan
Changes
Correlate
between changes
to the actual
workload
See the SQL
statements which
have new plans
Compare between different Execution Plans
Compare different Instances or Dimensions
Compare different Instances or Dimensions
50
Advisories
51
What our customers say?
52
Additional Resources
Foglight for Oracle Website
https://www.quest.com/products/foglight-for-oracle/
Foglight for Oracle Product Overview Video
https://youtu.be/J9olUZx3YaQ
Questions?
Thank you

More Related Content

What's hot

Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Pini Dibask
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecturePini Dibask
 
RMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedRMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedPini Dibask
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesSatishbabu Gunukula
 
OUGN winning performnace challenges in oracle Multitenant
OUGN   winning performnace challenges in oracle MultitenantOUGN   winning performnace challenges in oracle Multitenant
OUGN winning performnace challenges in oracle MultitenantPini Dibask
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Markus Michalewicz
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantPini Dibask
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)Satishbabu Gunukula
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle MultitenantJitendra Singh
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesGustavo Rene Antunez
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACSolarWinds
 
Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Mari Kupatadze
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?Gustavo Rene Antunez
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?DLT Solutions
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresJakkrapat S.
 

What's hot (20)

Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...Collaborate 17 - Database consolidation using the oracle multitenant architec...
Collaborate 17 - Database consolidation using the oracle multitenant architec...
 
OOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architectureOOW 17 - database consolidation using the oracle multitenant architecture
OOW 17 - database consolidation using the oracle multitenant architecture
 
RMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism DemystifiedRMOUG 18 - Oracle Database Locking Mechanism Demystified
RMOUG 18 - Oracle Database Locking Mechanism Demystified
 
Oracle golden gate 12c New Features
Oracle golden gate 12c New FeaturesOracle golden gate 12c New Features
Oracle golden gate 12c New Features
 
OUGN winning performnace challenges in oracle Multitenant
OUGN   winning performnace challenges in oracle MultitenantOUGN   winning performnace challenges in oracle Multitenant
OUGN winning performnace challenges in oracle Multitenant
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 
Oracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAsOracle GoldenGate for Oracle DBAs
Oracle GoldenGate for Oracle DBAs
 
Database Consolidation using Oracle Multitenant
Database Consolidation using Oracle MultitenantDatabase Consolidation using Oracle Multitenant
Database Consolidation using Oracle Multitenant
 
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)What's new in Oracle 19c & 18c Recovery Manager (RMAN)
What's new in Oracle 19c & 18c Recovery Manager (RMAN)
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
Migration to Oracle Multitenant
Migration to Oracle MultitenantMigration to Oracle Multitenant
Migration to Oracle Multitenant
 
Oracle 12c and its pluggable databases
Oracle 12c and its pluggable databasesOracle 12c and its pluggable databases
Oracle 12c and its pluggable databases
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RAC
 
Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )Oracle GoldenGate Microservices Overview ( with Demo )
Oracle GoldenGate Microservices Overview ( with Demo )
 
Oracle 12c
Oracle 12cOracle 12c
Oracle 12c
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
How DBAs can garner the power of the Oracle Public Cloud?
How DBAs can garner the  power of the Oracle Public  Cloud?How DBAs can garner the  power of the Oracle Public  Cloud?
How DBAs can garner the power of the Oracle Public Cloud?
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?Why Upgrade to Oracle Database 12c?
Why Upgrade to Oracle Database 12c?
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 

Similar to Winning Performance Challenges in Oracle Standard Editions

DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateDB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateBaha Majid
 
Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002jucaab
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the fieldJoAnna Cheshire
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learnedbpellot
 
Beyond SQL Tuning: Insider's Guide to Maximizing SQL Performance
Beyond SQL Tuning: Insider's Guide to Maximizing SQL PerformanceBeyond SQL Tuning: Insider's Guide to Maximizing SQL Performance
Beyond SQL Tuning: Insider's Guide to Maximizing SQL PerformanceAshish Agrawal
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part isqlserver.co.il
 
Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001jucaab
 
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...BobBullman
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Aaron Shilo
 
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
 
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 -  Using SQL Plan Baselines for Performance TestingOUG Harmony 2012 -  Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 - Using SQL Plan Baselines for Performance TestingMaris Elsins
 
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Performance Tuning Corporation
 
Benchmark Showdown: Which Relational Database is the Fastest on AWS?
Benchmark Showdown: Which Relational Database is the Fastest on AWS?Benchmark Showdown: Which Relational Database is the Fastest on AWS?
Benchmark Showdown: Which Relational Database is the Fastest on AWS?Clustrix
 
Sql Server tips from the field
Sql Server tips from the fieldSql Server tips from the field
Sql Server tips from the fieldInnoTech
 
Oracle Database Performance Tuning Basics
Oracle Database Performance Tuning BasicsOracle Database Performance Tuning Basics
Oracle Database Performance Tuning Basicsnitin anjankar
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?Markus Flechtner
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016Aaron Shilo
 

Similar to Winning Performance Challenges in Oracle Standard Editions (20)

Tips and Tricks for Toad
Tips and Tricks for ToadTips and Tricks for Toad
Tips and Tricks for Toad
 
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools UpdateDB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
DB2 Real-Time Analytics Meeting Wayne, PA 2015 - IDAA & DB2 Tools Update
 
Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002Ebs performance tune2_con9030_pdf_9030_0002
Ebs performance tune2_con9030_pdf_9030_0002
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the field
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learned
 
Beyond SQL Tuning: Insider's Guide to Maximizing SQL Performance
Beyond SQL Tuning: Insider's Guide to Maximizing SQL PerformanceBeyond SQL Tuning: Insider's Guide to Maximizing SQL Performance
Beyond SQL Tuning: Insider's Guide to Maximizing SQL Performance
 
1 extreme performance - part i
1   extreme performance - part i1   extreme performance - part i
1 extreme performance - part i
 
Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001Ebs performance tune_con9030_pdf_9030_0001
Ebs performance tune_con9030_pdf_9030_0001
 
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
 
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
 
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 -  Using SQL Plan Baselines for Performance TestingOUG Harmony 2012 -  Using SQL Plan Baselines for Performance Testing
OUG Harmony 2012 - Using SQL Plan Baselines for Performance Testing
 
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
 
Benchmark Showdown: Which Relational Database is the Fastest on AWS?
Benchmark Showdown: Which Relational Database is the Fastest on AWS?Benchmark Showdown: Which Relational Database is the Fastest on AWS?
Benchmark Showdown: Which Relational Database is the Fastest on AWS?
 
Sql Server tips from the field
Sql Server tips from the fieldSql Server tips from the field
Sql Server tips from the field
 
Oracle Database Performance Tuning Basics
Oracle Database Performance Tuning BasicsOracle Database Performance Tuning Basics
Oracle Database Performance Tuning Basics
 
Should I stay or should I go?
Should I stay or should I go?Should I stay or should I go?
Should I stay or should I go?
 
Exploring sql server 2016
Exploring sql server 2016Exploring sql server 2016
Exploring sql server 2016
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 
SQL Tuning 101
SQL Tuning 101SQL Tuning 101
SQL Tuning 101
 

More from Pini Dibask

Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for BeginnersPini Dibask
 
Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)Pini Dibask
 
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)Pini Dibask
 
DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified Pini Dibask
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitecturePini Dibask
 
Ensuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - PresentationEnsuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - PresentationPini Dibask
 
Best New Features of Oracle Database 12c
Best New Features of Oracle Database 12cBest New Features of Oracle Database 12c
Best New Features of Oracle Database 12cPini Dibask
 
Ensuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback FeaturesEnsuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback FeaturesPini Dibask
 

More from Pini Dibask (8)

Oracle Data Guard for Beginners
Oracle Data Guard for BeginnersOracle Data Guard for Beginners
Oracle Data Guard for Beginners
 
Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)Oracle database locking mechanism demystified (AOUG)
Oracle database locking mechanism demystified (AOUG)
 
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
Pini Dibask - Oracle Database Locking Mechanism Demystified (Presentation)
 
DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified DOAG - Oracle Database Locking Mechanism Demystified
DOAG - Oracle Database Locking Mechanism Demystified
 
Database Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant ArchitectureDatabase Consolidation using the Oracle Multitenant Architecture
Database Consolidation using the Oracle Multitenant Architecture
 
Ensuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - PresentationEnsuring Data Protection Using Oracle Flashback Features - Presentation
Ensuring Data Protection Using Oracle Flashback Features - Presentation
 
Best New Features of Oracle Database 12c
Best New Features of Oracle Database 12cBest New Features of Oracle Database 12c
Best New Features of Oracle Database 12c
 
Ensuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback FeaturesEnsuring Data Protection Using Oracle Flashback Features
Ensuring Data Protection Using Oracle Flashback Features
 

Recently uploaded

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetEnjoy Anytime
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Hyundai Motor Group
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 

Recently uploaded (20)

Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your BudgetHyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
Hyderabad Call Girls Khairatabad ✨ 7001305949 ✨ Cheap Price Your Budget
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2Next-generation AAM aircraft unveiled by Supernal, S-A2
Next-generation AAM aircraft unveiled by Supernal, S-A2
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 

Winning Performance Challenges in Oracle Standard Editions

  • 1. Winning Performance Challenges in Oracle Standard Editions Product Manager for Database Monitoring Feb 21st , 2019 Pini Dibask RMOUG Training Days 2019
  • 2. 2 • Pini Dibask, Product Manager for Database Monitoring, Quest Software • Oracle ACE • Oracle Certified Professional DBA (OCP) • Public Speaker )Oracle OpenWorld, IOUG Collaborate, RMOUG, DOAG, OUGN, AOUG) • Blogger: OracleDBPro.BlogSpot.com Pini.Dibask@Quest.com http://Linkedin.com/in/pinidibask @pini_dibask About the Speaker
  • 3. 3 Where Am I From?  Israel, Tel Aviv
  • 4. 4 Who is Quest Software? 9 0 % o f F o r t u n e 1 0 0 using our software 1 , 5 0 0 engineers building quality products 4 M c o m m u n i t y m e m b e r s sharing best practices 3 , 5 0 0 employees focused on customers Quest is a global software provider trusted by 100,000 customers and 6,000 partners in 100 countries. We help IT organizations spend less time on administration and more time on innovation. 6 , 0 0 0 partners selling our software
  • 5. 5 • Toad database development & management tools • Foglight for cross-platform database performance monitoring solution • SharePlex for database replication Quest Database Management Solutions
  • 6. 6 Agenda  Introduction to Oracle database performance tuning  Common challenges when using standard editions  Winning performance challenges in standard editions  Q&A
  • 8. Confidential8 Performance Tuning could be complicated… Data Dictionary Adaptive Plans ASH Time- Based Analysis Change Tracking SGA KPIs Blocking Locks Optimizer Statistics Historical Activity AWR Statspack Advisories Plan Stability ADDM AMM Baselines Statistics Feedback Plan Analysis
  • 9. Confidential9 Instance Tuning Memory Allocations I/O Requirements CPU Resources Files Configurations Initialization Parameters Common Performance Diagnostics Approaches SQL Tuning Optimizer Statistics Plan Analysis Object Analysis Plan Stability Initialization Parameters
  • 10. Confidential10 Instance Tuning - Common Things to Consider  Initialization Parameters - (e.g. MEMORY_TARGET, STATISTICS_LEVEL)  Files configuration - redo logs, undo tablespace  Memory structures - ASMM, AMM, min size for buffer pools  Hardware configuration - memory, storage characteristics, network  ASM configuration - disk groups and failure groups  Connection management - both app level and DB level
  • 11. Confidential11  Schema Modeling and Object analysis - Indexes, partitions, materialized views  Effective use of bind variables  Oracle CBO features which may impact execution plans • SQL Profiles (10g) • Extended Statistics (11gR1) • SQL plan management (11gR1) • Adaptive Cursor Sharing (11gR2) • Cardinality Feedback (11gR2) / Statistics Feedback (12c) • Dynamic Sampling (10g) / Dynamic Statistics (12cR1) • Adaptive Plans (12cR1) SQL Tuning - Common Things to Consider
  • 12. Confidential12 1. Determine the most significant bottleneck – i.e. best tuning opportunities 2. Improve/Fix it 3. Repeat until performance is good My Blog Post: http://oracledbpro.blogspot.com/2015/09/simple-performance-tuning-methodology.html Simplified Performance Tuning Methodology
  • 13. Confidential13 Time Based Analysis - Which statements should we address first?  X Axis - db time (CPU time + Non idle wait events)  Y Axis - number of executions
  • 14. Confidential14 Time Based Analysis - Which statements should we address first?  X Axis - db time (CPU time + Non idle wait events)  Y Axis - number of executions
  • 15. Confidential15 OK, we found the problematic statements - what’s next?  What is the statement doing and why? • Execution plan + optimizer statistics • Most significant wait-events (DB Time standpoint) )e.g. “checkpoint not complete”, “db file scattered read”)
  • 16. Confidential16 How can we find them with enterprise edition & diagnostics pack?  AWR  ADDM  ASH  ASH Analytics  SQL Tuning Advisory
  • 17. Confidential17 How can we find them with enterprise edition & diagnostics pack?  AWR  ADDM  ASH  ASH Analytics  SQL Tuning Advisory
  • 18. Confidential18 How can we find them with enterprise edition & diagnostics pack?  AWR  ADDM  ASH  ASH Analytics  SQL Tuning Advisory
  • 19. Confidential19 How can we find them with enterprise edition & diagnostics pack?  AWR  ADDM  ASH  ASH Analytics  SQL Tuning Advisory
  • 20. Confidential20 How can we find them with enterprise edition & diagnostics pack?  AWR  ADDM  ASH  ASH Analytics  SQL Tuning Advisory
  • 22. Confidential22 Why Standard Editions?  Less expensive than enterprise edition (but with less capabilities)  What’s the main challenge when it comes to performance diagnostics? • Best performance tuning features are part of Diagnostics & Tuning packs • Diagnostics & Tuning packs – only available with Enterprise Edition
  • 23. Confidential23 Which standard editions are available?  12.1.0.1 and earlier • Standard Edition – support for RAC, maximum 4 CPU Sockets • Standard Edition One – no support for RAC, maximum 2 CPU sockets  12.1.0.2 and above • Standard Edition 2 For more info: http://www.oracle.com/us/products/database/oracle-db-se2-brief-2680836.pdf
  • 24. Confidential24 Performance Tuning Challenges for DBAs Feature No Diagnostics Pack Diagnostics Pack Diagnostics & Tuning Packs Statspack    Dictionary Views * (most of them…)   AWR х   ASH х   ASH Analytics х   ADDM/Compare Period ADDM х   SQL Tuning Advisor х х  SQL Access Advisor х х 
  • 25. Winning Performance Challenges in Oracle Standard Editions03
  • 26. 26 So what our options when diagnostics pack not available?  Statspack - available since Oracle 8i (1998)  Dictionary Views (below are my favorites…) • DB statistics – V$SESSTAT, V$SYSSTAT • SQL statistics – V$SQLAREA, V$SQL • Execution plan information – V$SQL_PLAN, V$SQL_SHARED_CURSOR • Object level statistics – V$SEGMENT_STATISTICS • File level statistics – V$FILESTAT • Wait events – V$SESSION, V$SESSION_WAIT, V$SYSTEM_EVENT • Time model statistics – V$SYS_TIME_MODEL, V$SES_TIME_MODEL
  • 27. 27 Statspack  Oracle 8i and above  “Poor man’s AWR”  Text based report - no easy navigation  Less comprehensive than AWR  Less metrics  No ASH data
  • 28. 28 Monitoring locks via Oracle Dictionary Views Cont’d SQL> SELECT DECODE (blocking_session, null, null, 'BLOCKED') status, sid, lmode, request, ctime duration, USER, program, blocking_session, DECODE (request, 0, NULL, SQL_TEXT) SQL_TEXT FROM v$lock l JOIN v$session s USING (sid) LEFT JOIN v$sqlarea USING (sql_id) WHERE block = 1 OR request > 0 ORDER BY status STATUS SID LMODE REQUEST DURATION USER PROGRAM BLOCKING_SESSION SQL_TEXT ----------- ---------- ---------- ---------- ---------- ------- ----------- ---------------------------- ------------------------------------------------ BLOCKED 195 4 5 16581 SALES sqlplus.exe 385 lock table employees in share row exclusive mode BLOCKED 13 0 3 10129 SALES Toad.exe 385 insert into employees values (1, 'Jason') 385 4 0 16575 SALES sqlplus.exe Real-Time Monitoring
  • 30. 30 Execution Plan Analysis – Estimated vs. Actual  GATHER_PLAN_STATISTICS hint  DBMS_XPLAN.DISPLAY_CURSOR(FORMAT=>'ALLSTATS LAST') Example:
  • 31. 31 Execution Plan Analysis – Example Actual cardinality almost 10 time higher than estimated!
  • 32. 32 What are the challenges with these approaches?  Statspack • Text format - less intuitive to navigate compared to AWR html format • Not as feature-rich as AWR  Dictionary Views • Limited history • Cumulative statistics - since startup But most importantly… no visualization
  • 33. What do these three things have in common?
  • 34. They all provide a clearer perspective - You can’t fix what you can’t see! What if you could… Gain complete visibility into the health and performance of your cross- platform database environments
  • 35. Confidential35 Workload Analysis using OEM ASH Analytics Only with Enterprise Edition + Diagnostics Pack
  • 36. Confidential36 Foglight for Databases: Cross Platform Visibility
  • 37. Confidential37  Foglight for Oracle - the Oracle Diagnostics pack alternative  Analysis tool-set for deep visibility into database performance  Supports all editions and configurations  Remote (“agentless”) collector Supports all database editions and configurations! Get Performance Diagnostics Without Spending a Fortune!
  • 38. 38 Baseline visualization in Foglight No baseline deviation
  • 39. Deep-dive Multi-Dimensional workload analysis The alternative to OEM Active Session History Analytics Drilldown, slice, and dice operations Comprehensive set of dimensions
  • 46. Track Changes & Correlate them with your workload Filter by Execution Plan Changes Correlate between changes to the actual workload See the SQL statements which have new plans
  • 47. Compare between different Execution Plans
  • 52. 52 Additional Resources Foglight for Oracle Website https://www.quest.com/products/foglight-for-oracle/ Foglight for Oracle Product Overview Video https://youtu.be/J9olUZx3YaQ