SlideShare a Scribd company logo
Performing Oracle Health
Checks using APEX
Tools to Keep Your Database Humming
Presented by Chuck Ezell, Senior
Applications Tuner, Datavail
Datavail is the largest provider of remote database
administration in the U.S. with nearly 400 DBAs, 24/7 support
and onsite/offsite, onshore/offshore delivery.
Agenda
• Long Live The Reactive
• Proactive Health Checking
• Common Performance Problems
• Finding An Approach That Works
• Frequency, Consistency &
Correlation: The Key
• APEX Applied To Solve The Problem
Long Live The Reactive
Source: Causes of Failure in Web Applications, Soila Pertet and Priya Narasimhan
December 2005, Parallel Data Laboratory Carnegie Mellon University, Pittsburgh, PA 15213-3890
• “…into 2015 and beyond 80% of outages
impacting mission critical services will be caused
by people and process issues.
• More than 50% will be caused by change,
configuration, release integration and hand-off
issues.”
• Although 75% of the overall system problems are
often caused by 25% of the activity, there are
rarely “silver bullets” that provide the solution to
problems. Ultimately, tuning is a people and
process problem as well as the solution.
Thinking Proactively
“Every defect is a treasure, if the company can
uncover its cause and work to prevent it across the
corporation.” -Kilchiro Toyoda, founder of Toyota
“In an emergency, you rarely get one consistent
piece of advice. You usually have two or three
people with two or three different ideas. So you want
to have your own set of thoughts.
-Rudy Giuliani, Former Mayor NYC
Reactive vs Proactive
• Many approaches are from hardware/
architecture perspective or deal with daily
peripheral issues and monitoring.
• Many tools/approaches are thoughtfully created
to help us deal with reactive situations.
• What works in reactive situations often applies
when proactively planning (both cases are
mitigating.)
• We should go beyond “preparedness” and
“emergency response.”
• Proactivity is more than just “having a plan.”
Getting Ahead Of The Curve
Proactivity is having a plan
with a consistent baseline approach
that is a documented, repeatable process
focusing on results
and reducing or preventing downtime.
Finding An Approach That Works
• Think comprehensively; not “spot check”
isolated areas.
• There are rarely “silver bullets” that can be
located and found at the high level (or low
level for that matter) that can, at the turn of a
knob, fix all the problems.
• Problems develop over time it follows that
fixing these problems require a measured
approach to tuning the system back to a
healthy state.
Best Practices
• Become familiar with Oracle Recommendations.
• Data is so inter-woven, making corrections in one place affects
performance in others.
• For Example: Adding indexes can speed select performance
but it can slow DML or tuning one SQL statement can fix a
portion of a Concurrent Request or a single report but slow stats
job.
• It’s a “spotty” approach to fixing one problem today and
tomorrow you’ll have 10 more like it.
• Go beyond single SQL statements and parameter tweaks.
Baseline Your
Environment First
Common Performance Problems
“What are the Top 3 performance issues that
you encounter with your RDBMS database?”
– Stack Exchange User
The 5S Approach
1. SQL Code
2. Statistics
3. Segmentation
4. Sessions
5. Scheduled
Processes
Is Proactive
Beyond the 5S Approach
1. Drive Speeds
2. OS Parameters
3. Application Details (e.g. JVM
Sizing, Background Processes)
4. DB Parameters
5. Instance Details (e.g. SGA, DB
Version Features)
6. Table Space Naming
7. Redo/Undo Log Sizing &
Frequency
8. I/O Waits
9. Snapshot & AWR Retention
Tools for Insight: Bridging the Gap
• We need a tool that reflects the
proactive mindset and approach we
should take.
• The 5S Approach to Health Checks is a
great way to mitigate issues before they
occur.
The only “best practice” you
should be using all the time
is “Use Your Brain”. – Tom Kyte
Moving Beyond an Ideaology
Correlating details we’ve captured to proactively
manage the SQL execution and improve performance.
• Duplicate SQL Statements (reduce dups)
• Isolate bottlenecks in v$sql_plan table
(cardinality, full table scan, index skip scans)
• Blocking Session & Waits by Objects
• High Clustering Factor on indexes
• Row Chaining by table
• Package or Object change in -x days
• Review SQL History for multiple plan hashes
indicative of unstable plans.
Plan SQL Tuning Tasks for DBAs
Creating a Tool
• LAMP, Splunk, Nagios, Java/JSP/Oracle, BI,
Excel
• The solution doesn’t have to be elegant
• We need Consistency, Frequency &
Correlation
• Everyone has APEX
• APEX is a platform for developing ideas
• APEX provides the rapid development &
convenience for creating a repository
Apex 4.2.6
APEX as a Solution
• Development can be done by
broader team of capable
developers (don’t have to know
PLSQL)
• All the metadata and coding is
stored in the database
• Just need a web browser with
the Oracle DB (deployment,
development & runtime)
• Application like (EBS, SAP,
PeopleSoft, OEM etc) or
standalone
• Can have it’s own schema,
tables and can be tuned
accordingly
• Unlimited applications with
unlimited users can be built &
deployed at no cost
• All charting tools already
integrated
• Can be packaged & provided
as a one-click install
• APEX is a No Cost Feature: If you
have Oracle Maintenance
Agreement you can get APEX
support free at no additional
cost
Apex 4.2.6
Gathering Details
• An approach to capturing data into APEX
– Decide what needs to be captured
– Decide frequency for each item
– Build Repository Tables
– Create Select(s) across DBLink to APEX Project
– Collect Data from Source
– Additional Details to Capture
• dbname or hostname (both?)
• capture timestamp
Apex 4.2.6
What Do We Capture?
 ASH Blocks by SQL ID
 Duplicate SQL
Statements
 Long Operations
 V$SQL_PLAN activity
 V$PROCESS details
 V$SESSION details
 Index Health by
Clustering Factor
 Waits by Object
 Waits by Session & SQL
 Chained Rows
Example Script Library
Apex 4.2.6
Getting Started
Creating a dblink is the fastest way to get data in
using your scripts.
Apex 4.2.6
Getting Started: Create Tables
Build repository using create table method to save
time “create table as select”
Apex 4.2.6
Getting Started: Keep it Fresh
• Setup schedule to update repository
Apex 4.2.6
Getting Started: Keep it Fresh
• Setup schedule to update repository
Apex 4.2.6
APEX Reporting: Correlations
Apex 4.2.6
Problem SQL from Object Perspective
• SQL from v$sql activity (long running)
• Look in v$plan table for FTS & High Cardinality
• Limit by SQL ID in Locks & Waits
• Limit further by Long Operations
APEX Reporting: Simple Visuals
Apex 4.2.6
Problem SQL from Elapsed Time
• Long running SQL from v$sql activity
• Look in v$plan table for FTS & High Cardinality
• Limit by SQL ID in Locks & Waits
• Limit further by Long Operations
APEX Reporting: Simple Visuals
Apex 4.2.6
Problem Objects / Segmentation
• Start with table objects and index clustering
factors.
• Compare to Objects found in Locks
• Compare to Objects found in Row Chains
• Compare to high cardinality SQL in v$sql_plan
Solution for the Enterprise
How would we use this product for establishing
consistency across an enterprise where there are
multiple Oracle databases?
Apex 4.2.6
What, Why & How Often
Proactivity is having a plan with a consistent baseline
approach that is a documented, repeatable process,
focusing on results and reducing or preventing downtime.
• Full Assessments (130+ Points)
• Monthly Reviews
• Weekly/Daily/Hourly
Frequency &
Consistency
Thinking Proactively
“Every defect is a treasure, if the company can
uncover its cause and work to prevent it across the
corporation.” - Kilchiro Toyoda, founder of Toyota
“In an emergency, you rarely get one consistent
piece of advice. You usually have two or three
people with two or three different ideas. So you want
to have your own set of thoughts.
-Rudy Giuliani, Former Mayor NYC
Good Luck Treasure Hunting!
Questions & Resources
?
Download these resources at
www.Datavail.com
White Paper: The 5S Approach to Improving
Database Performance
Blog: Selecting Application Code Profiling
Tools
Webinar: Building a Database Monitoring
Tool Using Splunk.
Performance Monitoring & Profiling
Application Code
Chuck Ezell
Chuck.Ezell@datavail.com
Datavail.com
866-828-7843

More Related Content

What's hot

Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a ThirdTop 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
Original Software
 
Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...
Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...
Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...
Senturus
 
How to Build a Centralized Database Monitoring Solution - Never Miss a Backup
How to Build a Centralized Database Monitoring Solution - Never Miss a BackupHow to Build a Centralized Database Monitoring Solution - Never Miss a Backup
How to Build a Centralized Database Monitoring Solution - Never Miss a Backup
aspectconsult
 
Codes and standards
Codes and standardsCodes and standards
Codes and standards
sflaig
 
Taking Splunk to the Next Level - Management
Taking Splunk to the Next Level - ManagementTaking Splunk to the Next Level - Management
Taking Splunk to the Next Level - Management
Splunk
 
QuerySurge for DevOps
QuerySurge for DevOpsQuerySurge for DevOps
QuerySurge for DevOps
RTTS
 
How to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest GroupHow to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest Group
Qualitest
 
Whitepaper: Volume Testing Thick Clients and Databases
Whitepaper:  Volume Testing Thick Clients and DatabasesWhitepaper:  Volume Testing Thick Clients and Databases
Whitepaper: Volume Testing Thick Clients and Databases
RTTS
 
the Data World Distilled
the Data World Distilledthe Data World Distilled
the Data World Distilled
RTTS
 
Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...
Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...
Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...
Spark Summit
 
Taking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - ArchitectureTaking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - Architecture
Splunk
 
Toward Predictability and Stability
Toward Predictability and StabilityToward Predictability and Stability
Toward Predictability and Stability
Helena Edelson
 
Oracle migrations and upgrades
Oracle migrations and upgradesOracle migrations and upgrades
Oracle migrations and upgrades
Durga Gadiraju
 
RTTS - the Software Quality Experts
RTTS - the Software Quality ExpertsRTTS - the Software Quality Experts
RTTS - the Software Quality Experts
RTTS
 
Quelles nouveautés avec la version 6.5 de Splunk Enterprise
Quelles nouveautés avec la version 6.5 de Splunk EnterpriseQuelles nouveautés avec la version 6.5 de Splunk Enterprise
Quelles nouveautés avec la version 6.5 de Splunk Enterprise
Splunk
 
QuerySurge Slide Deck for Big Data Testing Webinar
QuerySurge Slide Deck for Big Data Testing WebinarQuerySurge Slide Deck for Big Data Testing Webinar
QuerySurge Slide Deck for Big Data Testing Webinar
RTTS
 
H2O World - Collaborative, Reproducible Research with H2O - Nick Elprin
H2O World - Collaborative, Reproducible Research with H2O - Nick ElprinH2O World - Collaborative, Reproducible Research with H2O - Nick Elprin
H2O World - Collaborative, Reproducible Research with H2O - Nick Elprin
Sri Ambati
 
How to Automate your Enterprise Application / ERP Testing
How to Automate your  Enterprise Application / ERP TestingHow to Automate your  Enterprise Application / ERP Testing
How to Automate your Enterprise Application / ERP Testing
RTTS
 
Washington DC DataOps Meetup -- Nov 2019
Washington DC DataOps Meetup   -- Nov 2019Washington DC DataOps Meetup   -- Nov 2019
Washington DC DataOps Meetup -- Nov 2019
DataKitchen
 
Designing dashboards for performance shridhar wip 040613
Designing dashboards for performance shridhar wip 040613Designing dashboards for performance shridhar wip 040613
Designing dashboards for performance shridhar wip 040613
Mrunal Shridhar
 

What's hot (20)

Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a ThirdTop 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
Top 5 Tips to Cut the Effort of your Oracle EBS R12 Project by a Third
 
Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...
Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...
Scaling Tableau to the Enterprise: The Perks and Pitfalls of Tableau Server W...
 
How to Build a Centralized Database Monitoring Solution - Never Miss a Backup
How to Build a Centralized Database Monitoring Solution - Never Miss a BackupHow to Build a Centralized Database Monitoring Solution - Never Miss a Backup
How to Build a Centralized Database Monitoring Solution - Never Miss a Backup
 
Codes and standards
Codes and standardsCodes and standards
Codes and standards
 
Taking Splunk to the Next Level - Management
Taking Splunk to the Next Level - ManagementTaking Splunk to the Next Level - Management
Taking Splunk to the Next Level - Management
 
QuerySurge for DevOps
QuerySurge for DevOpsQuerySurge for DevOps
QuerySurge for DevOps
 
How to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest GroupHow to Test Big Data Systems | QualiTest Group
How to Test Big Data Systems | QualiTest Group
 
Whitepaper: Volume Testing Thick Clients and Databases
Whitepaper:  Volume Testing Thick Clients and DatabasesWhitepaper:  Volume Testing Thick Clients and Databases
Whitepaper: Volume Testing Thick Clients and Databases
 
the Data World Distilled
the Data World Distilledthe Data World Distilled
the Data World Distilled
 
Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...
Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...
Spark in the Wild: An In-Depth Analysis of 50+ Production Deployments-(Arsala...
 
Taking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - ArchitectureTaking Splunk to the Next Level - Architecture
Taking Splunk to the Next Level - Architecture
 
Toward Predictability and Stability
Toward Predictability and StabilityToward Predictability and Stability
Toward Predictability and Stability
 
Oracle migrations and upgrades
Oracle migrations and upgradesOracle migrations and upgrades
Oracle migrations and upgrades
 
RTTS - the Software Quality Experts
RTTS - the Software Quality ExpertsRTTS - the Software Quality Experts
RTTS - the Software Quality Experts
 
Quelles nouveautés avec la version 6.5 de Splunk Enterprise
Quelles nouveautés avec la version 6.5 de Splunk EnterpriseQuelles nouveautés avec la version 6.5 de Splunk Enterprise
Quelles nouveautés avec la version 6.5 de Splunk Enterprise
 
QuerySurge Slide Deck for Big Data Testing Webinar
QuerySurge Slide Deck for Big Data Testing WebinarQuerySurge Slide Deck for Big Data Testing Webinar
QuerySurge Slide Deck for Big Data Testing Webinar
 
H2O World - Collaborative, Reproducible Research with H2O - Nick Elprin
H2O World - Collaborative, Reproducible Research with H2O - Nick ElprinH2O World - Collaborative, Reproducible Research with H2O - Nick Elprin
H2O World - Collaborative, Reproducible Research with H2O - Nick Elprin
 
How to Automate your Enterprise Application / ERP Testing
How to Automate your  Enterprise Application / ERP TestingHow to Automate your  Enterprise Application / ERP Testing
How to Automate your Enterprise Application / ERP Testing
 
Washington DC DataOps Meetup -- Nov 2019
Washington DC DataOps Meetup   -- Nov 2019Washington DC DataOps Meetup   -- Nov 2019
Washington DC DataOps Meetup -- Nov 2019
 
Designing dashboards for performance shridhar wip 040613
Designing dashboards for performance shridhar wip 040613Designing dashboards for performance shridhar wip 040613
Designing dashboards for performance shridhar wip 040613
 

Similar to Performing Oracle Health Checks Using APEX

Taming the shrew Power BI
Taming the shrew Power BITaming the shrew Power BI
Taming the shrew Power BI
Kellyn Pot'Vin-Gorman
 
Oracle performance project public
Oracle performance project publicOracle performance project public
Oracle performance project public
Carlos Oliveira
 
Taming the shrew, Optimizing Power BI Options
Taming the shrew, Optimizing Power BI OptionsTaming the shrew, Optimizing Power BI Options
Taming the shrew, Optimizing Power BI Options
Kellyn Pot'Vin-Gorman
 
Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...
Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...
Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...
eCapital Advisors
 
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
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
Aaron Shilo
 
Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...
Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...
Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...
Datavail
 
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
asifanw
 
Streamline it management
Streamline it managementStreamline it management
Streamline it management
DLT Solutions
 
Real World Performance - OLTP
Real World Performance - OLTPReal World Performance - OLTP
Real World Performance - OLTP
Connor McDonald
 
Presentation cloud control enterprise manager 12c
Presentation   cloud control enterprise manager 12cPresentation   cloud control enterprise manager 12c
Presentation cloud control enterprise manager 12c
xKinAnx
 
Taming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical EfficiencyTaming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical Efficiency
Datavail
 
The Real Value of Oracle Health Checks
The Real Value of Oracle Health ChecksThe Real Value of Oracle Health Checks
The Real Value of Oracle Health Checks
Datavail
 
Collaborate 2019 - How to Understand an AWR Report
Collaborate 2019 - How to Understand an AWR ReportCollaborate 2019 - How to Understand an AWR Report
Collaborate 2019 - How to Understand an AWR Report
Alfredo Krieg
 
Ioug oow12 em12c
Ioug oow12 em12cIoug oow12 em12c
Ioug oow12 em12c
Kellyn Pot'Vin-Gorman
 
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
AppDynamics
 
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The SequelVMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld
 
EM12c Monitoring, Metric Extensions and Performance Pages
EM12c Monitoring, Metric Extensions and Performance PagesEM12c Monitoring, Metric Extensions and Performance Pages
EM12c Monitoring, Metric Extensions and Performance Pages
Enkitec
 
Oracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12cOracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12c
solarisyougood
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learned
bpellot
 

Similar to Performing Oracle Health Checks Using APEX (20)

Taming the shrew Power BI
Taming the shrew Power BITaming the shrew Power BI
Taming the shrew Power BI
 
Oracle performance project public
Oracle performance project publicOracle performance project public
Oracle performance project public
 
Taming the shrew, Optimizing Power BI Options
Taming the shrew, Optimizing Power BI OptionsTaming the shrew, Optimizing Power BI Options
Taming the shrew, Optimizing Power BI Options
 
Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...
Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...
Managing Your Hyperion Environment – Performance Tuning, Problem Solving and ...
 
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...
 
שבוע אורקל 2016
שבוע אורקל 2016שבוע אורקל 2016
שבוע אורקל 2016
 
Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...
Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...
Collaborate 2018: Optimizing Your Robust Oracle EBS Footprint for Radical Eff...
 
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
Con7091 sql tuning for expert db as-oow17_oct2_1507314871265001m0x4
 
Streamline it management
Streamline it managementStreamline it management
Streamline it management
 
Real World Performance - OLTP
Real World Performance - OLTPReal World Performance - OLTP
Real World Performance - OLTP
 
Presentation cloud control enterprise manager 12c
Presentation   cloud control enterprise manager 12cPresentation   cloud control enterprise manager 12c
Presentation cloud control enterprise manager 12c
 
Taming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical EfficiencyTaming the Beast: Optimizing Oracle EBS for Radical Efficiency
Taming the Beast: Optimizing Oracle EBS for Radical Efficiency
 
The Real Value of Oracle Health Checks
The Real Value of Oracle Health ChecksThe Real Value of Oracle Health Checks
The Real Value of Oracle Health Checks
 
Collaborate 2019 - How to Understand an AWR Report
Collaborate 2019 - How to Understand an AWR ReportCollaborate 2019 - How to Understand an AWR Report
Collaborate 2019 - How to Understand an AWR Report
 
Ioug oow12 em12c
Ioug oow12 em12cIoug oow12 em12c
Ioug oow12 em12c
 
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
Database Visibility and Troubleshooting Hands-on Lab - AppSphere16
 
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The SequelVMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
 
EM12c Monitoring, Metric Extensions and Performance Pages
EM12c Monitoring, Metric Extensions and Performance PagesEM12c Monitoring, Metric Extensions and Performance Pages
EM12c Monitoring, Metric Extensions and Performance Pages
 
Oracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12cOracle enterprise manager cloud control 12c
Oracle enterprise manager cloud control 12c
 
Oracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons LearnedOracle R12 Upgrade Lessons Learned
Oracle R12 Upgrade Lessons Learned
 

More from Datavail

Journey to Cloud Analytics
Journey to Cloud Analytics Journey to Cloud Analytics
Journey to Cloud Analytics
Datavail
 
Accelerate SQL Server Migration to the AWS Cloud
Accelerate SQL Server Migration to the AWS Cloud Accelerate SQL Server Migration to the AWS Cloud
Accelerate SQL Server Migration to the AWS Cloud
Datavail
 
MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?
MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?
MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?
Datavail
 
Oracle Enterprise Manager Seven Robust Features to Put in Action final
Oracle Enterprise Manager Seven Robust Features to Put in Action finalOracle Enterprise Manager Seven Robust Features to Put in Action final
Oracle Enterprise Manager Seven Robust Features to Put in Action final
Datavail
 
Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora
Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora
Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora
Datavail
 
EPM 11.2: Lessons Learned and 2021 Preparedness
EPM 11.2: Lessons Learned and 2021 PreparednessEPM 11.2: Lessons Learned and 2021 Preparedness
EPM 11.2: Lessons Learned and 2021 Preparedness
Datavail
 
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major GainsOptimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Datavail
 
RMOUG 2020: Keeping Pace with Change
RMOUG 2020: Keeping Pace with Change RMOUG 2020: Keeping Pace with Change
RMOUG 2020: Keeping Pace with Change
Datavail
 
Upcoming Extended Support Deadlines & What They Mean for You
Upcoming Extended Support Deadlines & What They Mean for YouUpcoming Extended Support Deadlines & What They Mean for You
Upcoming Extended Support Deadlines & What They Mean for You
Datavail
 
SQL on Linux
SQL on LinuxSQL on Linux
SQL on Linux
Datavail
 
Reduce Cost by Tuning Queries on Azure DBaaS
Reduce Cost by Tuning Queries on Azure DBaaSReduce Cost by Tuning Queries on Azure DBaaS
Reduce Cost by Tuning Queries on Azure DBaaS
Datavail
 
MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...
MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...
MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...
Datavail
 
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and WhyEssbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Datavail
 
Is "Free" Good Enough for Your MySQL Environment?
Is "Free" Good Enough for Your MySQL Environment?Is "Free" Good Enough for Your MySQL Environment?
Is "Free" Good Enough for Your MySQL Environment?
Datavail
 
Critical Preflight Checks for Your EPM Applications
Critical Preflight Checks for Your EPM ApplicationsCritical Preflight Checks for Your EPM Applications
Critical Preflight Checks for Your EPM Applications
Datavail
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure Migrations
Datavail
 
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and WhyEssbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Datavail
 
3 Ways to Lead an Accidental DBA
3 Ways to Lead an Accidental DBA3 Ways to Lead an Accidental DBA
3 Ways to Lead an Accidental DBA
Datavail
 
Creating a Solid EPM Punch List
Creating a Solid EPM Punch ListCreating a Solid EPM Punch List
Creating a Solid EPM Punch List
Datavail
 
Why NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB AtlasWhy NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB Atlas
Datavail
 

More from Datavail (20)

Journey to Cloud Analytics
Journey to Cloud Analytics Journey to Cloud Analytics
Journey to Cloud Analytics
 
Accelerate SQL Server Migration to the AWS Cloud
Accelerate SQL Server Migration to the AWS Cloud Accelerate SQL Server Migration to the AWS Cloud
Accelerate SQL Server Migration to the AWS Cloud
 
MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?
MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?
MOUS 2020 - Hyperion 11.2 vs. Cloud: Should I Stay or Should I Go?
 
Oracle Enterprise Manager Seven Robust Features to Put in Action final
Oracle Enterprise Manager Seven Robust Features to Put in Action finalOracle Enterprise Manager Seven Robust Features to Put in Action final
Oracle Enterprise Manager Seven Robust Features to Put in Action final
 
Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora
Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora
Lessons from Migrating Oracle Databases to Amazon RDS or Amazon Aurora
 
EPM 11.2: Lessons Learned and 2021 Preparedness
EPM 11.2: Lessons Learned and 2021 PreparednessEPM 11.2: Lessons Learned and 2021 Preparedness
EPM 11.2: Lessons Learned and 2021 Preparedness
 
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major GainsOptimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
Optimizing Oracle Databases & Applications Gives Fast Food Giant Major Gains
 
RMOUG 2020: Keeping Pace with Change
RMOUG 2020: Keeping Pace with Change RMOUG 2020: Keeping Pace with Change
RMOUG 2020: Keeping Pace with Change
 
Upcoming Extended Support Deadlines & What They Mean for You
Upcoming Extended Support Deadlines & What They Mean for YouUpcoming Extended Support Deadlines & What They Mean for You
Upcoming Extended Support Deadlines & What They Mean for You
 
SQL on Linux
SQL on LinuxSQL on Linux
SQL on Linux
 
Reduce Cost by Tuning Queries on Azure DBaaS
Reduce Cost by Tuning Queries on Azure DBaaSReduce Cost by Tuning Queries on Azure DBaaS
Reduce Cost by Tuning Queries on Azure DBaaS
 
MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...
MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...
MOUS 2019 - Keeping Pace with Change: Prepare for Tomorrow & Advance Your Car...
 
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and WhyEssbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
 
Is "Free" Good Enough for Your MySQL Environment?
Is "Free" Good Enough for Your MySQL Environment?Is "Free" Good Enough for Your MySQL Environment?
Is "Free" Good Enough for Your MySQL Environment?
 
Critical Preflight Checks for Your EPM Applications
Critical Preflight Checks for Your EPM ApplicationsCritical Preflight Checks for Your EPM Applications
Critical Preflight Checks for Your EPM Applications
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure Migrations
 
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and WhyEssbase On-Prem to Oracle Analytics Cloud - How, When, and Why
Essbase On-Prem to Oracle Analytics Cloud - How, When, and Why
 
3 Ways to Lead an Accidental DBA
3 Ways to Lead an Accidental DBA3 Ways to Lead an Accidental DBA
3 Ways to Lead an Accidental DBA
 
Creating a Solid EPM Punch List
Creating a Solid EPM Punch ListCreating a Solid EPM Punch List
Creating a Solid EPM Punch List
 
Why NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB AtlasWhy NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB Atlas
 

Recently uploaded

[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
Kief Morris
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
Larry Smarr
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
Lidia A.
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
ishalveerrandhawa1
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
Adam Dunkels
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
ScyllaDB
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
Neo4j
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
ScyllaDB
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
Sally Laouacheria
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
Stephanie Beckett
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
Tatiana Al-Chueyr
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
SynapseIndia
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
welrejdoall
 

Recently uploaded (20)

[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
[Talk] Moving Beyond Spaghetti Infrastructure [AOTB] 2024-07-04.pdf
 
The Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive ComputingThe Rise of Supernetwork Data Intensive Computing
The Rise of Supernetwork Data Intensive Computing
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
WPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide DeckWPRiders Company Presentation Slide Deck
WPRiders Company Presentation Slide Deck
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
 
How to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptxHow to Build a Profitable IoT Product.pptx
How to Build a Profitable IoT Product.pptx
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 
Mitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing SystemsMitigating the Impact of State Management in Cloud Stream Processing Systems
Mitigating the Impact of State Management in Cloud Stream Processing Systems
 
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdfBT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
BT & Neo4j: Knowledge Graphs for Critical Enterprise Systems.pptx.pdf
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
Measuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at TwitterMeasuring the Impact of Network Latency at Twitter
Measuring the Impact of Network Latency at Twitter
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf20240702 Présentation Plateforme GenAI.pdf
20240702 Présentation Plateforme GenAI.pdf
 
What's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptxWhat's New in Copilot for Microsoft365 May 2024.pptx
What's New in Copilot for Microsoft365 May 2024.pptx
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
Best Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdfBest Practices for Effectively Running dbt in Airflow.pdf
Best Practices for Effectively Running dbt in Airflow.pdf
 
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptxRPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
RPA In Healthcare Benefits, Use Case, Trend And Challenges 2024.pptx
 
Manual | Product | Research Presentation
Manual | Product | Research PresentationManual | Product | Research Presentation
Manual | Product | Research Presentation
 

Performing Oracle Health Checks Using APEX

  • 1. Performing Oracle Health Checks using APEX Tools to Keep Your Database Humming Presented by Chuck Ezell, Senior Applications Tuner, Datavail Datavail is the largest provider of remote database administration in the U.S. with nearly 400 DBAs, 24/7 support and onsite/offsite, onshore/offshore delivery.
  • 2. Agenda • Long Live The Reactive • Proactive Health Checking • Common Performance Problems • Finding An Approach That Works • Frequency, Consistency & Correlation: The Key • APEX Applied To Solve The Problem
  • 3. Long Live The Reactive Source: Causes of Failure in Web Applications, Soila Pertet and Priya Narasimhan December 2005, Parallel Data Laboratory Carnegie Mellon University, Pittsburgh, PA 15213-3890 • “…into 2015 and beyond 80% of outages impacting mission critical services will be caused by people and process issues. • More than 50% will be caused by change, configuration, release integration and hand-off issues.” • Although 75% of the overall system problems are often caused by 25% of the activity, there are rarely “silver bullets” that provide the solution to problems. Ultimately, tuning is a people and process problem as well as the solution.
  • 4. Thinking Proactively “Every defect is a treasure, if the company can uncover its cause and work to prevent it across the corporation.” -Kilchiro Toyoda, founder of Toyota “In an emergency, you rarely get one consistent piece of advice. You usually have two or three people with two or three different ideas. So you want to have your own set of thoughts. -Rudy Giuliani, Former Mayor NYC
  • 5. Reactive vs Proactive • Many approaches are from hardware/ architecture perspective or deal with daily peripheral issues and monitoring. • Many tools/approaches are thoughtfully created to help us deal with reactive situations. • What works in reactive situations often applies when proactively planning (both cases are mitigating.) • We should go beyond “preparedness” and “emergency response.” • Proactivity is more than just “having a plan.”
  • 6. Getting Ahead Of The Curve Proactivity is having a plan with a consistent baseline approach that is a documented, repeatable process focusing on results and reducing or preventing downtime.
  • 7. Finding An Approach That Works • Think comprehensively; not “spot check” isolated areas. • There are rarely “silver bullets” that can be located and found at the high level (or low level for that matter) that can, at the turn of a knob, fix all the problems. • Problems develop over time it follows that fixing these problems require a measured approach to tuning the system back to a healthy state.
  • 8. Best Practices • Become familiar with Oracle Recommendations. • Data is so inter-woven, making corrections in one place affects performance in others. • For Example: Adding indexes can speed select performance but it can slow DML or tuning one SQL statement can fix a portion of a Concurrent Request or a single report but slow stats job. • It’s a “spotty” approach to fixing one problem today and tomorrow you’ll have 10 more like it. • Go beyond single SQL statements and parameter tweaks. Baseline Your Environment First
  • 9. Common Performance Problems “What are the Top 3 performance issues that you encounter with your RDBMS database?” – Stack Exchange User
  • 10. The 5S Approach 1. SQL Code 2. Statistics 3. Segmentation 4. Sessions 5. Scheduled Processes Is Proactive
  • 11. Beyond the 5S Approach 1. Drive Speeds 2. OS Parameters 3. Application Details (e.g. JVM Sizing, Background Processes) 4. DB Parameters 5. Instance Details (e.g. SGA, DB Version Features) 6. Table Space Naming 7. Redo/Undo Log Sizing & Frequency 8. I/O Waits 9. Snapshot & AWR Retention
  • 12. Tools for Insight: Bridging the Gap • We need a tool that reflects the proactive mindset and approach we should take. • The 5S Approach to Health Checks is a great way to mitigate issues before they occur. The only “best practice” you should be using all the time is “Use Your Brain”. – Tom Kyte
  • 13. Moving Beyond an Ideaology Correlating details we’ve captured to proactively manage the SQL execution and improve performance. • Duplicate SQL Statements (reduce dups) • Isolate bottlenecks in v$sql_plan table (cardinality, full table scan, index skip scans) • Blocking Session & Waits by Objects • High Clustering Factor on indexes • Row Chaining by table • Package or Object change in -x days • Review SQL History for multiple plan hashes indicative of unstable plans. Plan SQL Tuning Tasks for DBAs
  • 14. Creating a Tool • LAMP, Splunk, Nagios, Java/JSP/Oracle, BI, Excel • The solution doesn’t have to be elegant • We need Consistency, Frequency & Correlation • Everyone has APEX • APEX is a platform for developing ideas • APEX provides the rapid development & convenience for creating a repository Apex 4.2.6
  • 15. APEX as a Solution • Development can be done by broader team of capable developers (don’t have to know PLSQL) • All the metadata and coding is stored in the database • Just need a web browser with the Oracle DB (deployment, development & runtime) • Application like (EBS, SAP, PeopleSoft, OEM etc) or standalone • Can have it’s own schema, tables and can be tuned accordingly • Unlimited applications with unlimited users can be built & deployed at no cost • All charting tools already integrated • Can be packaged & provided as a one-click install • APEX is a No Cost Feature: If you have Oracle Maintenance Agreement you can get APEX support free at no additional cost Apex 4.2.6
  • 16. Gathering Details • An approach to capturing data into APEX – Decide what needs to be captured – Decide frequency for each item – Build Repository Tables – Create Select(s) across DBLink to APEX Project – Collect Data from Source – Additional Details to Capture • dbname or hostname (both?) • capture timestamp Apex 4.2.6
  • 17. What Do We Capture?  ASH Blocks by SQL ID  Duplicate SQL Statements  Long Operations  V$SQL_PLAN activity  V$PROCESS details  V$SESSION details  Index Health by Clustering Factor  Waits by Object  Waits by Session & SQL  Chained Rows Example Script Library Apex 4.2.6
  • 18. Getting Started Creating a dblink is the fastest way to get data in using your scripts. Apex 4.2.6
  • 19. Getting Started: Create Tables Build repository using create table method to save time “create table as select” Apex 4.2.6
  • 20. Getting Started: Keep it Fresh • Setup schedule to update repository Apex 4.2.6
  • 21. Getting Started: Keep it Fresh • Setup schedule to update repository Apex 4.2.6
  • 22. APEX Reporting: Correlations Apex 4.2.6 Problem SQL from Object Perspective • SQL from v$sql activity (long running) • Look in v$plan table for FTS & High Cardinality • Limit by SQL ID in Locks & Waits • Limit further by Long Operations
  • 23. APEX Reporting: Simple Visuals Apex 4.2.6 Problem SQL from Elapsed Time • Long running SQL from v$sql activity • Look in v$plan table for FTS & High Cardinality • Limit by SQL ID in Locks & Waits • Limit further by Long Operations
  • 24. APEX Reporting: Simple Visuals Apex 4.2.6 Problem Objects / Segmentation • Start with table objects and index clustering factors. • Compare to Objects found in Locks • Compare to Objects found in Row Chains • Compare to high cardinality SQL in v$sql_plan
  • 25. Solution for the Enterprise How would we use this product for establishing consistency across an enterprise where there are multiple Oracle databases? Apex 4.2.6
  • 26. What, Why & How Often Proactivity is having a plan with a consistent baseline approach that is a documented, repeatable process, focusing on results and reducing or preventing downtime. • Full Assessments (130+ Points) • Monthly Reviews • Weekly/Daily/Hourly Frequency & Consistency
  • 27. Thinking Proactively “Every defect is a treasure, if the company can uncover its cause and work to prevent it across the corporation.” - Kilchiro Toyoda, founder of Toyota “In an emergency, you rarely get one consistent piece of advice. You usually have two or three people with two or three different ideas. So you want to have your own set of thoughts. -Rudy Giuliani, Former Mayor NYC Good Luck Treasure Hunting!
  • 28. Questions & Resources ? Download these resources at www.Datavail.com White Paper: The 5S Approach to Improving Database Performance Blog: Selecting Application Code Profiling Tools Webinar: Building a Database Monitoring Tool Using Splunk. Performance Monitoring & Profiling Application Code Chuck Ezell Chuck.Ezell@datavail.com Datavail.com 866-828-7843

Editor's Notes

  1. Please mention the giveaway.
  2. First quote is more of a prepardness – emergency mindset. What will we do if the world ends preperation… The second quote is an offensive look at going out and looking for problems to fix.
  3. Drive Speeds are crucial to check. We want fast drive mounts not only for data tables but also for indexing and control files, redo logs, and system tables. Slow mounts on any of these points can be a tremendous bottleneck. Things change in the network all the time, cables go bad, drives go bad, network speeds degrade (sometimes depending on the time of day). Some simple scripted drive speed checks are tremendously helpful. Parameters: Some things never change: for some reason some things that shouldn’t change sometimes do. We should be watching the parameters for any change. Often we monitor the db but infrastructure maintains the server and os. We should be proactively checking that patches for example don’t break something. Application Details: this begins to look more like capacity planning but we should be proactive in our approach on sizing our java processes appropriately. It’s more about balancing the resources with demand. Background processes can block, break or kill system resources if we’re proactively reviewing for changes or need for changes we’re ahead of the game. DB Parameters: Table Space Naming: the future is now… if you’re distributing your table spaces across several different mount points then identical names for the table space will be a problem if (when) the table spaces are migrated to some new storage option (the names will conflict) plan better….