SlideShare a Scribd company logo
K E L L Y N P O T ’ V I N
S R . T E C H N I C A L C O N S U L T A N T
EM12c Performance Diagnosis
and Tuning Outside the Box
Kellyn Pot’Vin
 Westminster, Colorado
 Oracle ACE Director, Sr. Technical Specialist at
Enkitec
 Specialize in performance and management of large
enterprise environments.
 Board of directors for RMOUG, Director of Training
Days and Database Track Lead for KSCOPE 2013
 Blog: DBAKevlar.com
 Twitter: @DBAKevlar
Performance Diagnostics in EM12c
 Simple access to performance, resource usage and
demands.
 Data collection to investigate performance issues-
current, recent and historical.
 Capacity planning.
 Have the real answer, not assumptions.
Presentation Agenda
 Performance Out of the Box with EM12c
 Top Activity
 SQL Monitor
 ASH Analytics
 Real-time ADDM
 Compare ADDM
Tools at your Disposal
 Requires the
Diagnostics
Pack
Top Activity, “The Grid”
 Graphical display of performance usage.
 15 second refresh, manual refresh or historical.
When to Worry
 Out of the Ordinary Activity, (KNOW YOUR DB!)
 Colors outside of green and [some] blue.
 Large amounts of blue, (high IO)
 Remember that pink, (unknown) red,
(concurrency/application) tan, (network) and
orange, (commit) in the grid should be investigated.
 Brown or black? Run for the hills! (JK)
Here’s our spike, which waits?
 Commonly, focus on pink,
orange, red and brown for
issues.
 Network and queuing do
have opportunities for
tuning, as well.
 Green and blue are expected,
but also part of problems
when over utilized.
We’re in the Red, (Orange, too!)
 Inspect
High %
use.
 Note that
the update
and
execution
may be
impacting
each other.
Session Details
Seeing Red…
Next?
 Two sessions are executing
 Option to run an AWR or ASH report, (right hand side)
What ASH Tells Us
The Icing on the Cake
 Duh, add some memory to the EM12c box! 
SQL Monitor for Performance
• Elapsed Time
• SQL_ID, Beginning SQL Text.
• Parallel, Waits and Execution Time
Digging in
• Choose your session, SQL_ID or SQL_Text
• Shows active, completed sessions for amount of time chosen.
• Shows high level wait events, dbtime, IO usage and duration.
Digging Down
By SQL_ID, we can inspect:
• Duration
• DB Time
• PL/SQL Java time
• Wait Activity
• Buffer Gets
• IO Requests and IO Bytes
• If Exadata, Offload Efficiency
Monitoring Procedural Call
 All SQL_ID’s called will show, along with
duration so it’s simple to pinpoint trouble
statements.
SQL Details
• Note that the SQL Statement, along with elapsed time is
shown.
• Data sources from Top Activity, not AWR data.
And More Detail
 Session info, wait info, cursors and stats.
Added Data
 Along with the main stats-
 Activity information on the statement.
 The execution plan
 If there is a SQL Plan or outline in place.
 If there have been any tuning advisors run against the
statement
 And a direct link to SQL Monitoring
How to Use SQL Monitoring
 Active Monitoring of database processing.
 Investigation of performance.
 Save off reports, which provide a graphical image of
performance differing from Top Activity or ASH
Analytics.
 Distinct diagnosis at a session or statement level.
ASH Analytics
 Future of Top Activity
 Package installation to database.
 Always on, non-impact of Top Activity performance
data gathering.
 More defined, more accurate.
 Historical data enhanced over Top Activity historical
views.
Pick Your View
Ability to choose timelines by:
Hour Day
Week Month
Calendar Custom
Custom Review Pane
• You can choose to change the overview pane to display data for any
amount of time.
• Just click on the pane and drag it to the area you are interested in or
extend it to cover the areas you are interested to investigate.
• Choose your filters or view all data and you are ready to go!
Familiar Interface
 Similar to Top Activity when in “Activity”
mode.
Sql Details View
Pick Your Poison
 View data very similar to the SQL and Session data
in Top Activity.
 All data is sourced by AWR data and dependent on
samples and AWR retention/interval info in the
respository.
It’s All in the Details
Activity Details
 Activity shows wait detail over time.
 Processes, including parallel sessions involved
during shaded time.
 Option to run AWR or ASH report.
The Rest of the Story
 For standard SQL- Plan, Plan Control and Tuning
History is shown under individual tabs.
 SQL Monitor is minimized access to the SQL
Monitor view.
Load Map
New Visual Way of Showing Data, Multiple
Ways!
Data Break Down
 Display offers incredible diversity in wait, resource
usage and other critical event choices.
ASH Analytics – When to Use It
 Need the more defined ASH data for EM diagnostics.
 Want a second way to present data to less “DBA”
centric groups, (load map)
 Database level OR session/statement level
performance diagnosis.
 Dig down deep, present data in numerous formats to
get the most complete picture of a complex issue.
 Can be used for Real-time or historical analysis.
Real-Time ADDM
 Yes, it requires a PL/SQL installation for the view
data.
 Uses ADDM data for the source.
 Always on, low to no impact.
 Normal Mode or Emergency Mode when Emergency
Monitoring is required.
On Your Mark, Get Set…
 This is a recorded ADDM session, beginning from
the time you click “Start”.
In Progress Data
 Ability to stop
and restart.
 Findings
gathered during
progress.
 Check progress
notifies of any
issues.
Finished!
 Once finished, verify no failures/errors occurred in
the collection.
 Use the tabs to investigate findings, activity, hang
data and statistics.
 The number of findings are shown.
The Findings
 Example shows low priority SQL statements using
significant db time, but not other issues at this time.
 If any issues are found that are high priority, will be
listed in red and details below the main pane, (low,
medium, high priority levels.)
Activity Tab
 Activity Data, but sourced from ADDM.
 Similar output to Top Activity and ASH Analytics.
Wait Details
• By highlighting a wait link on the right, you can detail down to the actual wait
information for that wait event.
Hanging out
 If a database hang situation occurred and the real-
time ADDM was used to diagnose, then the HANG
DATA tab will show any diagnostic data it has
collected during the collection.
 Statistics Data:
Last but not Least…
 Initialization Parameter data for the database
instance.
 Any undocumented of non-recommended parameter
settings will be identified and listed in the findings
section.
Compare Period ADDM
 How is it different from Real-Time ADDM?
 Ability to compare TWO snapshots in time, side by side of
ADDM data.
 Compares ADDM snapshots against each other, (dependent on
snapshot intervals and retention.)
 All comparisons can be saved off or mailed from the console,
(mailed through EM12c settings)
Choosing a Comparison Time
Comparison Activity
• Clear comparison from previous day, same time to see performance issue vs.
the right hand side snapshot.
• Commonality comparison of the SQL for snapshots being compared.
• Note the concurrency, commits and increased application waits.
It’s all in the Details
 First tab shows any configuration differences
between the two snapshots and what the
configuration parameter is.
Findings Summary Detail
 Shows comparison increases or decreases in waits.
 Lists the percentage of change between each period
compared.
 Upon highlighting, details data regarding the
increase or decrease.
SQL Changes
 We can dig down into each of the SQL Statements
found to be the highest impacts to the system and
diagnose further.
Finding Detail Descriptions
 As shown above, the wait on Checkpoints to Tablespace are
describe below once you highlight the section in the findings
tab.
 And for RAC, some waits can be broken down by instance.
Resource Usage: CPU
 CPU Usage is viewable
by instance and total
usage.
 If no CPU bound wait
issues were seen, its
stated by comparison
snapshot.
Resource Usage: Memory
• If you note, Memory has a warning alert by the tab to point you to it after the
comparison is completed.
• The base and comparison is in red, meaning that Virtual paging was an issue
in both snapshots.
• Data is separated by instance in RAC, showing clear usage for better
diagnostics.
Resource Usage: IO
 I/O is separated by Throughput and Single block
read latency.
 Again, if there was an issue, a warning would be on
the IO tab and the Base and Comparison would show
in red instead of green.
Resource Usage: Interconnect
 As this is RAC, note that we also have an
interconnect tab with data on the speed and
performance.
 Total vs. rate on throughput is viewed through a
radio button choice.
So What Changed?
 The graphs show us where we need to focus:
How to Use the Comparison ADDM
 Excellent to diagnose “what has changed”.
 “Just the Facts” information on a comparison of
time.
 Dependent upon retention time settings and
intervals for AWR.
 Historical data, can be set by date, custom, by
previous snapshot.
 Will move to next snapshot window if mid-snapshot
time span is chosen.
EM12c blogs-
Leighton Nelson- http://blogs.griddba.com/
Rob Zoeteweij-http://oemgc.files.wordpress.com/
Gokhan Atil- http://www.gokhanatil.com/
Martin Bach- http://martincarstenbach.wordpress.com
Niall Litchfield- http://orawin.info/blog/
Info for Me!
Company Website: www.enkitec.com
Twitter: @DBAKevlar
RMOUG: www.rmoug.org
Linkedin: Kellyn Potvin and/or Rocky Mountain Oracle User Group
Email: dbakevlar@gmail.com or kpotvin@enkitec.com or
TrainingdaysDir@rmoug.org
Blog: https://dbakevlar.com
Reference
Kscope13 features more than 300
educational sessions, full-day
symposiums, hands-on training courses,
informal networking sessions, and a
plethora of chances to increase your
technical know-how by learning from the
best.
• Application Express
• ADF and Fusion Dev.
• Developer's Toolkit
• The Database
• Building Better Software
• Business Intelligence
• Essbase
• Planning
• Financial close
• EPM Reporting
• EPM Foundations and Data
Management
• EPM Business Content http://kscope13.com/registration

More Related Content

What's hot (6)

Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBA
Karan Kukreja
 
Data warehousing labs maunal
Data warehousing labs maunalData warehousing labs maunal
Data warehousing labs maunal
Education
 
V sphere perf_charts
V sphere perf_chartsV sphere perf_charts
V sphere perf_charts
Pierre-Juan Labeyrie
 
Performance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL DatabasePerformance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL Database
Tung Nguyen Thanh
 
Optimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise ManagerOptimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise Manager
Datavail
 
Calculation commands in essbase
Calculation commands in essbaseCalculation commands in essbase
Calculation commands in essbase
Shoheb Mohammad
 
Oracle Database 12c features for DBA
Oracle Database 12c features for DBAOracle Database 12c features for DBA
Oracle Database 12c features for DBA
Karan Kukreja
 
Data warehousing labs maunal
Data warehousing labs maunalData warehousing labs maunal
Data warehousing labs maunal
Education
 
Performance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL DatabasePerformance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL Database
Tung Nguyen Thanh
 
Optimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise ManagerOptimizing Alert Monitoring with Oracle Enterprise Manager
Optimizing Alert Monitoring with Oracle Enterprise Manager
Datavail
 
Calculation commands in essbase
Calculation commands in essbaseCalculation commands in essbase
Calculation commands in essbase
Shoheb Mohammad
 

Similar to Em12c performance tuning outside the box (20)

Sql Server Performance Tuning
Sql Server Performance TuningSql Server Performance Tuning
Sql Server Performance Tuning
Bala Subra
 
Query Store and live Query Statistics
Query Store and live Query StatisticsQuery Store and live Query Statistics
Query Store and live Query Statistics
SolidQ
 
Sherlock holmes for dba’s
Sherlock holmes for dba’sSherlock holmes for dba’s
Sherlock holmes for dba’s
Kellyn Pot'Vin-Gorman
 
Ash and awr deep dive hotsos
Ash and awr deep dive hotsosAsh and awr deep dive hotsos
Ash and awr deep dive hotsos
Kellyn Pot'Vin-Gorman
 
Early watch report
Early watch reportEarly watch report
Early watch report
cecileekove
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
udaymoogala
 
OOW13 Exadata and ODI with Parallel
OOW13 Exadata and ODI with ParallelOOW13 Exadata and ODI with Parallel
OOW13 Exadata and ODI with Parallel
Kellyn Pot'Vin-Gorman
 
SQL Server 2016 novelties
SQL Server 2016 noveltiesSQL Server 2016 novelties
SQL Server 2016 novelties
MSDEVMTL
 
ASH and AWR on DB12c
ASH and AWR on DB12cASH and AWR on DB12c
ASH and AWR on DB12c
Kellyn Pot'Vin-Gorman
 
Managing SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBAManaging SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBA
Concentrated Technology
 
Oracle database performance diagnostics - before your begin
Oracle database performance diagnostics  - before your beginOracle database performance diagnostics  - before your begin
Oracle database performance diagnostics - before your begin
Hemant K Chitale
 
Practical SQL query monitoring and optimization
Practical SQL query monitoring and optimizationPractical SQL query monitoring and optimization
Practical SQL query monitoring and optimization
Ivo Andreev
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
Ala Qunaibi
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
Ala Qunaibi
 
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and DatabricksSelf-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Grega Kespret
 
Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?
Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?
Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?
Jim Czuprynski
 
Getting to Know MySQL Enterprise Monitor
Getting to Know MySQL Enterprise MonitorGetting to Know MySQL Enterprise Monitor
Getting to Know MySQL Enterprise Monitor
Mark Leith
 
REAL TIME PROJECTS IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...
REAL TIME PROJECTS  IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...REAL TIME PROJECTS  IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...
REAL TIME PROJECTS IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...
Finalyear Projects
 
Scalable scheduling of updates in streaming data warehouses
Scalable scheduling of updates in streaming data warehousesScalable scheduling of updates in streaming data warehouses
Scalable scheduling of updates in streaming data warehouses
Finalyear Projects
 
Sap basis made_easy321761331053730
Sap basis made_easy321761331053730Sap basis made_easy321761331053730
Sap basis made_easy321761331053730
K Hari Shankar
 
Sql Server Performance Tuning
Sql Server Performance TuningSql Server Performance Tuning
Sql Server Performance Tuning
Bala Subra
 
Query Store and live Query Statistics
Query Store and live Query StatisticsQuery Store and live Query Statistics
Query Store and live Query Statistics
SolidQ
 
Early watch report
Early watch reportEarly watch report
Early watch report
cecileekove
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
udaymoogala
 
SQL Server 2016 novelties
SQL Server 2016 noveltiesSQL Server 2016 novelties
SQL Server 2016 novelties
MSDEVMTL
 
Managing SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBAManaging SQLserver for the reluctant DBA
Managing SQLserver for the reluctant DBA
Concentrated Technology
 
Oracle database performance diagnostics - before your begin
Oracle database performance diagnostics  - before your beginOracle database performance diagnostics  - before your begin
Oracle database performance diagnostics - before your begin
Hemant K Chitale
 
Practical SQL query monitoring and optimization
Practical SQL query monitoring and optimizationPractical SQL query monitoring and optimization
Practical SQL query monitoring and optimization
Ivo Andreev
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
Ala Qunaibi
 
Sql server lesson12
Sql server lesson12Sql server lesson12
Sql server lesson12
Ala Qunaibi
 
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and DatabricksSelf-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Self-serve analytics journey at Celtra: Snowflake, Spark, and Databricks
Grega Kespret
 
Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?
Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?
Autonomous Transaction Processing (ATP): In Heavy Traffic, Why Drive Stick?
Jim Czuprynski
 
Getting to Know MySQL Enterprise Monitor
Getting to Know MySQL Enterprise MonitorGetting to Know MySQL Enterprise Monitor
Getting to Know MySQL Enterprise Monitor
Mark Leith
 
REAL TIME PROJECTS IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...
REAL TIME PROJECTS  IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...REAL TIME PROJECTS  IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...
REAL TIME PROJECTS IEEE BASED PROJECTS EMBEDDED SYSTEMS PAPER PUBLICATIONS M...
Finalyear Projects
 
Scalable scheduling of updates in streaming data warehouses
Scalable scheduling of updates in streaming data warehousesScalable scheduling of updates in streaming data warehouses
Scalable scheduling of updates in streaming data warehouses
Finalyear Projects
 
Sap basis made_easy321761331053730
Sap basis made_easy321761331053730Sap basis made_easy321761331053730
Sap basis made_easy321761331053730
K Hari Shankar
 

More from Kellyn Pot'Vin-Gorman (20)

2024_sqlsat_Oregon_kgorman_aicantdothedishespptx
2024_sqlsat_Oregon_kgorman_aicantdothedishespptx2024_sqlsat_Oregon_kgorman_aicantdothedishespptx
2024_sqlsat_Oregon_kgorman_aicantdothedishespptx
Kellyn Pot'Vin-Gorman
 
ThePowerofWordsMisguidedDescriptionsUndermineWomen.pptx
ThePowerofWordsMisguidedDescriptionsUndermineWomen.pptxThePowerofWordsMisguidedDescriptionsUndermineWomen.pptx
ThePowerofWordsMisguidedDescriptionsUndermineWomen.pptx
Kellyn Pot'Vin-Gorman
 
Leveraging Instant Extracts with Azure Fabric
Leveraging Instant Extracts with Azure FabricLeveraging Instant Extracts with Azure Fabric
Leveraging Instant Extracts with Azure Fabric
Kellyn Pot'Vin-Gorman
 
Making the Second D in ADHD Stand for Dynamic in Tech
Making the Second D in ADHD Stand for Dynamic in TechMaking the Second D in ADHD Stand for Dynamic in Tech
Making the Second D in ADHD Stand for Dynamic in Tech
Kellyn Pot'Vin-Gorman
 
Silk_SQLSaturdayBatonRouge_kgorman_2024.pptx
Silk_SQLSaturdayBatonRouge_kgorman_2024.pptxSilk_SQLSaturdayBatonRouge_kgorman_2024.pptx
Silk_SQLSaturdayBatonRouge_kgorman_2024.pptx
Kellyn Pot'Vin-Gorman
 
Redgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptxRedgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptx
Kellyn Pot'Vin-Gorman
 
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptxSQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
Kellyn Pot'Vin-Gorman
 
Boston_sql_kegorman_highIO.pptx
Boston_sql_kegorman_highIO.pptxBoston_sql_kegorman_highIO.pptx
Boston_sql_kegorman_highIO.pptx
Kellyn Pot'Vin-Gorman
 
Oracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 UpdateOracle on Azure IaaS 2023 Update
Oracle on Azure IaaS 2023 Update
Kellyn Pot'Vin-Gorman
 
IaaS for DBAs in Azure
IaaS for DBAs in AzureIaaS for DBAs in Azure
IaaS for DBAs in Azure
Kellyn Pot'Vin-Gorman
 
Being Successful with ADHD
Being Successful with ADHDBeing Successful with ADHD
Being Successful with ADHD
Kellyn Pot'Vin-Gorman
 
Azure DBA with IaaS
Azure DBA with IaaSAzure DBA with IaaS
Azure DBA with IaaS
Kellyn Pot'Vin-Gorman
 
Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"
Kellyn Pot'Vin-Gorman
 
PASS Summit 2020
PASS Summit 2020PASS Summit 2020
PASS Summit 2020
Kellyn Pot'Vin-Gorman
 
DevOps in Silos
DevOps in SilosDevOps in Silos
DevOps in Silos
Kellyn Pot'Vin-Gorman
 
Azure Databases with IaaS
Azure Databases with IaaSAzure Databases with IaaS
Azure Databases with IaaS
Kellyn Pot'Vin-Gorman
 
How to Win When Migrating to Azure
How to Win When Migrating to AzureHow to Win When Migrating to Azure
How to Win When Migrating to Azure
Kellyn Pot'Vin-Gorman
 
Securing Power BI Data
Securing Power BI DataSecuring Power BI Data
Securing Power BI Data
Kellyn Pot'Vin-Gorman
 
Cepta The Future of Data with Power BI
Cepta The Future of Data with Power BICepta The Future of Data with Power BI
Cepta The Future of Data with Power BI
Kellyn Pot'Vin-Gorman
 
Pass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft ProfessionalPass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft Professional
Kellyn Pot'Vin-Gorman
 
2024_sqlsat_Oregon_kgorman_aicantdothedishespptx
2024_sqlsat_Oregon_kgorman_aicantdothedishespptx2024_sqlsat_Oregon_kgorman_aicantdothedishespptx
2024_sqlsat_Oregon_kgorman_aicantdothedishespptx
Kellyn Pot'Vin-Gorman
 
ThePowerofWordsMisguidedDescriptionsUndermineWomen.pptx
ThePowerofWordsMisguidedDescriptionsUndermineWomen.pptxThePowerofWordsMisguidedDescriptionsUndermineWomen.pptx
ThePowerofWordsMisguidedDescriptionsUndermineWomen.pptx
Kellyn Pot'Vin-Gorman
 
Leveraging Instant Extracts with Azure Fabric
Leveraging Instant Extracts with Azure FabricLeveraging Instant Extracts with Azure Fabric
Leveraging Instant Extracts with Azure Fabric
Kellyn Pot'Vin-Gorman
 
Making the Second D in ADHD Stand for Dynamic in Tech
Making the Second D in ADHD Stand for Dynamic in TechMaking the Second D in ADHD Stand for Dynamic in Tech
Making the Second D in ADHD Stand for Dynamic in Tech
Kellyn Pot'Vin-Gorman
 
Silk_SQLSaturdayBatonRouge_kgorman_2024.pptx
Silk_SQLSaturdayBatonRouge_kgorman_2024.pptxSilk_SQLSaturdayBatonRouge_kgorman_2024.pptx
Silk_SQLSaturdayBatonRouge_kgorman_2024.pptx
Kellyn Pot'Vin-Gorman
 
Redgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptxRedgate_summit_atl_kgorman_intersection.pptx
Redgate_summit_atl_kgorman_intersection.pptx
Kellyn Pot'Vin-Gorman
 
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptxSQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
SQLSatOregon_kgorman_keynote_NIAIMLEC.pptx
Kellyn Pot'Vin-Gorman
 
Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"Turning ADHD into "Awesome Dynamic Highly Dependable"
Turning ADHD into "Awesome Dynamic Highly Dependable"
Kellyn Pot'Vin-Gorman
 
Cepta The Future of Data with Power BI
Cepta The Future of Data with Power BICepta The Future of Data with Power BI
Cepta The Future of Data with Power BI
Kellyn Pot'Vin-Gorman
 
Pass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft ProfessionalPass Summit Linux Scripting for the Microsoft Professional
Pass Summit Linux Scripting for the Microsoft Professional
Kellyn Pot'Vin-Gorman
 

Recently uploaded (20)

Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersLinux Support for SMARC: How Toradex Empowers Embedded Developers
Linux Support for SMARC: How Toradex Empowers Embedded Developers
Toradex
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveDesigning Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep Dive
ScyllaDB
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.Greenhouse_Monitoring_Presentation.pptx.
Greenhouse_Monitoring_Presentation.pptx.
hpbmnnxrvb
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Cybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure ADCybersecurity Identity and Access Solutions using Azure AD
Cybersecurity Identity and Access Solutions using Azure AD
VICTOR MAESTRE RAMIREZ
 
Quantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur MorganQuantum Computing Quick Research Guide by Arthur Morgan
Quantum Computing Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfThe Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdf
Abi john
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 

Em12c performance tuning outside the box

  • 1. K E L L Y N P O T ’ V I N S R . T E C H N I C A L C O N S U L T A N T EM12c Performance Diagnosis and Tuning Outside the Box
  • 2. Kellyn Pot’Vin  Westminster, Colorado  Oracle ACE Director, Sr. Technical Specialist at Enkitec  Specialize in performance and management of large enterprise environments.  Board of directors for RMOUG, Director of Training Days and Database Track Lead for KSCOPE 2013  Blog: DBAKevlar.com  Twitter: @DBAKevlar
  • 3. Performance Diagnostics in EM12c  Simple access to performance, resource usage and demands.  Data collection to investigate performance issues- current, recent and historical.  Capacity planning.  Have the real answer, not assumptions.
  • 4. Presentation Agenda  Performance Out of the Box with EM12c  Top Activity  SQL Monitor  ASH Analytics  Real-time ADDM  Compare ADDM
  • 5. Tools at your Disposal  Requires the Diagnostics Pack
  • 6. Top Activity, “The Grid”  Graphical display of performance usage.  15 second refresh, manual refresh or historical.
  • 7. When to Worry  Out of the Ordinary Activity, (KNOW YOUR DB!)  Colors outside of green and [some] blue.  Large amounts of blue, (high IO)  Remember that pink, (unknown) red, (concurrency/application) tan, (network) and orange, (commit) in the grid should be investigated.  Brown or black? Run for the hills! (JK)
  • 8. Here’s our spike, which waits?  Commonly, focus on pink, orange, red and brown for issues.  Network and queuing do have opportunities for tuning, as well.  Green and blue are expected, but also part of problems when over utilized.
  • 9. We’re in the Red, (Orange, too!)  Inspect High % use.  Note that the update and execution may be impacting each other.
  • 11. Next?  Two sessions are executing  Option to run an AWR or ASH report, (right hand side)
  • 13. The Icing on the Cake  Duh, add some memory to the EM12c box! 
  • 14. SQL Monitor for Performance • Elapsed Time • SQL_ID, Beginning SQL Text. • Parallel, Waits and Execution Time
  • 15. Digging in • Choose your session, SQL_ID or SQL_Text • Shows active, completed sessions for amount of time chosen. • Shows high level wait events, dbtime, IO usage and duration.
  • 16. Digging Down By SQL_ID, we can inspect: • Duration • DB Time • PL/SQL Java time • Wait Activity • Buffer Gets • IO Requests and IO Bytes • If Exadata, Offload Efficiency
  • 17. Monitoring Procedural Call  All SQL_ID’s called will show, along with duration so it’s simple to pinpoint trouble statements.
  • 18. SQL Details • Note that the SQL Statement, along with elapsed time is shown. • Data sources from Top Activity, not AWR data.
  • 19. And More Detail  Session info, wait info, cursors and stats.
  • 20. Added Data  Along with the main stats-  Activity information on the statement.  The execution plan  If there is a SQL Plan or outline in place.  If there have been any tuning advisors run against the statement  And a direct link to SQL Monitoring
  • 21. How to Use SQL Monitoring  Active Monitoring of database processing.  Investigation of performance.  Save off reports, which provide a graphical image of performance differing from Top Activity or ASH Analytics.  Distinct diagnosis at a session or statement level.
  • 22. ASH Analytics  Future of Top Activity  Package installation to database.  Always on, non-impact of Top Activity performance data gathering.  More defined, more accurate.  Historical data enhanced over Top Activity historical views.
  • 23. Pick Your View Ability to choose timelines by: Hour Day Week Month Calendar Custom
  • 24. Custom Review Pane • You can choose to change the overview pane to display data for any amount of time. • Just click on the pane and drag it to the area you are interested in or extend it to cover the areas you are interested to investigate. • Choose your filters or view all data and you are ready to go!
  • 25. Familiar Interface  Similar to Top Activity when in “Activity” mode.
  • 27. Pick Your Poison  View data very similar to the SQL and Session data in Top Activity.  All data is sourced by AWR data and dependent on samples and AWR retention/interval info in the respository.
  • 28. It’s All in the Details
  • 29. Activity Details  Activity shows wait detail over time.  Processes, including parallel sessions involved during shaded time.  Option to run AWR or ASH report.
  • 30. The Rest of the Story  For standard SQL- Plan, Plan Control and Tuning History is shown under individual tabs.  SQL Monitor is minimized access to the SQL Monitor view.
  • 31. Load Map New Visual Way of Showing Data, Multiple Ways!
  • 32. Data Break Down  Display offers incredible diversity in wait, resource usage and other critical event choices.
  • 33. ASH Analytics – When to Use It  Need the more defined ASH data for EM diagnostics.  Want a second way to present data to less “DBA” centric groups, (load map)  Database level OR session/statement level performance diagnosis.  Dig down deep, present data in numerous formats to get the most complete picture of a complex issue.  Can be used for Real-time or historical analysis.
  • 34. Real-Time ADDM  Yes, it requires a PL/SQL installation for the view data.  Uses ADDM data for the source.  Always on, low to no impact.  Normal Mode or Emergency Mode when Emergency Monitoring is required.
  • 35. On Your Mark, Get Set…  This is a recorded ADDM session, beginning from the time you click “Start”.
  • 36. In Progress Data  Ability to stop and restart.  Findings gathered during progress.  Check progress notifies of any issues.
  • 37. Finished!  Once finished, verify no failures/errors occurred in the collection.  Use the tabs to investigate findings, activity, hang data and statistics.  The number of findings are shown.
  • 38. The Findings  Example shows low priority SQL statements using significant db time, but not other issues at this time.  If any issues are found that are high priority, will be listed in red and details below the main pane, (low, medium, high priority levels.)
  • 39. Activity Tab  Activity Data, but sourced from ADDM.  Similar output to Top Activity and ASH Analytics.
  • 40. Wait Details • By highlighting a wait link on the right, you can detail down to the actual wait information for that wait event.
  • 41. Hanging out  If a database hang situation occurred and the real- time ADDM was used to diagnose, then the HANG DATA tab will show any diagnostic data it has collected during the collection.  Statistics Data:
  • 42. Last but not Least…  Initialization Parameter data for the database instance.  Any undocumented of non-recommended parameter settings will be identified and listed in the findings section.
  • 43. Compare Period ADDM  How is it different from Real-Time ADDM?  Ability to compare TWO snapshots in time, side by side of ADDM data.  Compares ADDM snapshots against each other, (dependent on snapshot intervals and retention.)  All comparisons can be saved off or mailed from the console, (mailed through EM12c settings)
  • 45. Comparison Activity • Clear comparison from previous day, same time to see performance issue vs. the right hand side snapshot. • Commonality comparison of the SQL for snapshots being compared. • Note the concurrency, commits and increased application waits.
  • 46. It’s all in the Details  First tab shows any configuration differences between the two snapshots and what the configuration parameter is.
  • 47. Findings Summary Detail  Shows comparison increases or decreases in waits.  Lists the percentage of change between each period compared.  Upon highlighting, details data regarding the increase or decrease.
  • 48. SQL Changes  We can dig down into each of the SQL Statements found to be the highest impacts to the system and diagnose further.
  • 49. Finding Detail Descriptions  As shown above, the wait on Checkpoints to Tablespace are describe below once you highlight the section in the findings tab.  And for RAC, some waits can be broken down by instance.
  • 50. Resource Usage: CPU  CPU Usage is viewable by instance and total usage.  If no CPU bound wait issues were seen, its stated by comparison snapshot.
  • 51. Resource Usage: Memory • If you note, Memory has a warning alert by the tab to point you to it after the comparison is completed. • The base and comparison is in red, meaning that Virtual paging was an issue in both snapshots. • Data is separated by instance in RAC, showing clear usage for better diagnostics.
  • 52. Resource Usage: IO  I/O is separated by Throughput and Single block read latency.  Again, if there was an issue, a warning would be on the IO tab and the Base and Comparison would show in red instead of green.
  • 53. Resource Usage: Interconnect  As this is RAC, note that we also have an interconnect tab with data on the speed and performance.  Total vs. rate on throughput is viewed through a radio button choice.
  • 54. So What Changed?  The graphs show us where we need to focus:
  • 55. How to Use the Comparison ADDM  Excellent to diagnose “what has changed”.  “Just the Facts” information on a comparison of time.  Dependent upon retention time settings and intervals for AWR.  Historical data, can be set by date, custom, by previous snapshot.  Will move to next snapshot window if mid-snapshot time span is chosen.
  • 56. EM12c blogs- Leighton Nelson- http://blogs.griddba.com/ Rob Zoeteweij-http://oemgc.files.wordpress.com/ Gokhan Atil- http://www.gokhanatil.com/ Martin Bach- http://martincarstenbach.wordpress.com Niall Litchfield- http://orawin.info/blog/ Info for Me! Company Website: www.enkitec.com Twitter: @DBAKevlar RMOUG: www.rmoug.org Linkedin: Kellyn Potvin and/or Rocky Mountain Oracle User Group Email: [email protected] or [email protected] or [email protected] Blog: https://dbakevlar.com Reference
  • 57. Kscope13 features more than 300 educational sessions, full-day symposiums, hands-on training courses, informal networking sessions, and a plethora of chances to increase your technical know-how by learning from the best. • Application Express • ADF and Fusion Dev. • Developer's Toolkit • The Database • Building Better Software • Business Intelligence • Essbase • Planning • Financial close • EPM Reporting • EPM Foundations and Data Management • EPM Business Content http://kscope13.com/registration