EM12c Monitoring,
Metric Extensions and
 Performance Pages
          Kellyn Pot’Vin
     Sr. Techical Consultant
Kellyn Pot’Vin
• Westminster, Colorado
• Oracle ACE, Sr. Technical Specialist at Enkitec
• Multi-Platform DBA
• Specialize in performance and management of large
  enterprise environments.
• Board of directors for RMOUG, Director of Training
  Days 2013 and Database Track Committee for
  KSCOPE 2013
• Blog: DBAKevlar.com
• Twitter: @DBAKevlar
Why We Monitor our Databases

• Pro-active notification of issues before resulting in
  outages/impact to users.
• Awareness of performance, resource usage and
  demands.
• Data collection to investigate performance issues-
  current, recent and historical.
• Capacity planning.
• Automation of maintenance work.
Monitoring and Notification Downfalls

Yahoo News- “Over 70% of workers would give up
shower[ing] to eliminate unnecessary emails.”

•Paging with “Successful” and/or “I’m OK”.
•Not alerting for enough types of failures, instead
covering with when complete.
•Paging on “Warning”
•Setting Critical thresholds too high vs. giving time to
correct.
Presentation Agenda

•   EM Architecture
•   EM Incident Rules and the Incident Manager
•   Metric Extensions- The Why and the How.
•   Performance Pages
    •   Top Activity
    •   Diagnosing Issues
    •   SQL Monitor
    •   ASH Analytics
Simple EM Architecture

                         • Oracle Repository stores
                           data in an Oracle database.
                         • OMS (Oracle Management
                           Service)
                         • Targets with OMA(Oracle
                           Management Agent)/Plug-
                           ins upload data to OMS.
                         • Cloud Control Console, (aka
                           EM Console) Used to view
                           data through interaction
                           with OMS.
Effective Monitoring with Incident
Manager
Creating Incidents From Alerts
Incident Rules
From EM12c Console
•Setup
•Incidents
•Incident Rules/ Job Events
Incident Rule Sets




• Two Non-Editable, Main Rule Sets Come with EM12c
  Installation,
   •   Incident Management
   •   Event Management
Incident Management Rules- Broken
Down
• Incident Creation for metric alerts
• Auto- Clear rule for metric alert older then 7 days.
• Auto-Clear rule for job status change for terminal status events.
• SLA Incident Creation
• Incident Creation for Target Unreachable, Down and Error.
• Clear ADP, (Application Dependency and Performance) alerts
  without incident after 7 days.
• Incident creation rule for high-availability events.
Utilizing Existing Rule Sets

1. Disable existing, Non-editable, system generated,
   incident management rule set.
2. Pre-existing are Quality Rule Sets, but need to be
   editable.
3. Need to Copy the Incident Rule Sets.
4. Enhance or Add Additional Rules to the New Copy
   of a Rule Set.
Disabling and Copying Rule Sets
Copying a Rule Set




•   Fill in new name of Incident Rule Set.
•   Defaults to all targets, exclude, change to target types or specific types.
•   Enable if copying a disabled rule set.
Copying Rule Set, Rules Tab




• Click on the Rules Tab
   • You can Edit Existing rules, enhancing, updating or
     changing default settings.
   • Remove any unwanted rules.
   • Add specific rules for your environment.
Copying Rule Set, Co-authors
Rules vs. Metric Thresholds
• Rule are Set Globally.
• Rules are Independent of Database Metric Settings.
Metric Settings
• Set at database level unless using a template.
• In 12.0.1.0 BP1, only set with warning thresholds.
• Good reason to use a template.
What Are Metric Extensions?

• A dynamically configured extensions feature allowing
  to monitor environment specific conditions.
• Simplifies monitoring of operational processes that
  once only existed outside of the EM12c console.
• Eliminates requirements for secondary monitoring
  and management tools.
• Eliminate need for external scripting that may require
  more monitoring logic than EM Jobs can provide.
Metric Extensions Details
• Metric Extensions replace the formerly known “User
  Defined Metrics”
• User Defined Metrics were limited to database and
  host types, no longer with Metric Extensions.
• Ability to build a metric extensions library to utilize for
  your own environment.
• Full development cycle support
• Using specific protocols , the Oracle Integration
  Adapter gathers data about targets for use with
  metrics extensions.
The “More” of Metric Extensions

• A simple wizard allows for easy development and
  refinement of metric extensions.
• Ability to test metrics using the “Test Page” allows an
  ability to run real-time metric evaluations to ensure
  definitions and scripts are free of errors before
  deploying.
• Loved, stand-alone scripts, with small changes can
  become metric extensions, too!
Development Life Cycle
Enterprise > Monitoring > Metric
Extensions
The Creation
Creation, Part II
Creation, Part III

• Defaults meet the needs for example.
Creation, IV
Add Columns

• Columns
  • AGENT_PID with Description of “AGENT PID”
  • MEM_USG with Description of “MEMORY USAGE”
  • VAL_MEM with Description of “VALUE of MEMORY”

  • Number of occurrences before alerting=5, then click OK
Credentials

• Choose a pre-existing setup or new?
The Finale!

• Test, rinse, and repeat, (deploy/publish!)
Publishing/Deploying/Retaining
Metric Extensions Summary

• Create development metric extension, wizard will
  simplify process.
• Test with test page and verify that all steps, all
  features of the metric extension test correctly.
• Deploy to target separately or to groups.
• Utilize to fulfill any missing areas in monitoring
  environment.
EM12c Performance Pages

•   Summary Page
•   Top Activity
•   SQL Monitor
•   ASH Analytics
•   ASH/AWR Reports
•   SQL Tuning Advisor
•   Misc. Features
The Summary Page
Database Level Summary Page
Top Activity, “The Grid”

• Graphical display of performance usage.
• 15 second refresh, manual refresh or historical.
• Review up to time retained in AWR.
The low down of the Top Activity

• Top SQL on left.
• Top sessions, clients, etc. on right in drop down.
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.

                                   • Red, orange,
                                     brown and
                                     pink.
Session Details
Next?

• Two sessions are executing
• Option to run an ASH report, (right hand side)
What ASH Tells Us
The Icing on the Cake




• Duh, add some memory to the EM12c box! 
SQL Monitor
• Elapsed Time
• SQL_ID, Beginning SQL Text.
• Parallel, Waits and Execution Time
Top Activity, ASH style
  Ability to choose timelines by:
  Hour                Day
  Week                Month
  Calendar            Custom
Familiar Interface
Changes to interface were minimal for user comfort
Sql Details View
Load Map
  New Visual Way of Showing Data, Multiple
  Ways!
ASH Analytics Summary

• Future of “Top Activity”
• Easy Agent Deployment through EM12c Console
• Comfortable Interface for those familiar with Previous
  Versions.
• Cool new features, new learning curve for some.
• Oracle user DOES NOT need sudo, disregard the
  instructions.
Links
Step by Step to create a metric extension from Rob Zoeteweij-
http://oemgc.files.wordpress.com/2012/05/using-metric-extensions-in-em12c.pdf
EM12c blogs-
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
RMOUG Training Days– Feb. 11th-13th, 2013, Denver, CO
Linkedin: Kellyn Potvin and/or Rocky Mountain Oracle User Group
Email: dbakevlar@gmail.com or kpotvin@enkitec.com or
    TrainingdaysDir@rmoug.org
Blog: dbakevlar.com
SAVE THE DATE!

     COLLABORATE 13
      April 7-11, 2013
Colorado Convention Center
     Denver, Colorado

http://collaborate13.ioug.org

More Related Content

PDF
Sql Antipatterns Strike Back
PDF
Robot Framework Dos And Don'ts
PPTX
Hive and Apache Tez: Benchmarked at Yahoo! Scale
PDF
Serving ML easily with FastAPI
PPTX
Angular Unit Testing
PPT
Test automation workshop slideset
PDF
PPTX
Api Testing
Sql Antipatterns Strike Back
Robot Framework Dos And Don'ts
Hive and Apache Tez: Benchmarked at Yahoo! Scale
Serving ML easily with FastAPI
Angular Unit Testing
Test automation workshop slideset
Api Testing

What's hot (20)

PPTX
Angular Lazy Loading and Resolve (Route Resolver)
PPT
Postman.ppt
PPTX
Belajar Postman test runner
PPTX
ReadConcern and WriteConcern
PDF
How to Automate API Testing
PDF
Testing with Spring: An Introduction
PPTX
Introduction to Spring Boot
PDF
Getting Started With Cypress
PDF
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
PPTX
Clean code
PPTX
API Testing for everyone.pptx
PPTX
AI in UI automation using Helenium
PDF
How to Use JSON in MySQL Wrong
PDF
My first 90 days with ClickHouse.pdf
PPTX
API Testing Presentations.pptx
PDF
Models for hierarchical data
PPTX
Agile test-management-test-rail-lastest
PPTX
RESTful API Testing using Postman, Newman, and Jenkins
PPTX
Best practices for test automation
PDF
ATDD Using Robot Framework
Angular Lazy Loading and Resolve (Route Resolver)
Postman.ppt
Belajar Postman test runner
ReadConcern and WriteConcern
How to Automate API Testing
Testing with Spring: An Introduction
Introduction to Spring Boot
Getting Started With Cypress
POST/CON 2019 Workshop: Testing, Automated Testing, and Reporting APIs with P...
Clean code
API Testing for everyone.pptx
AI in UI automation using Helenium
How to Use JSON in MySQL Wrong
My first 90 days with ClickHouse.pdf
API Testing Presentations.pptx
Models for hierarchical data
Agile test-management-test-rail-lastest
RESTful API Testing using Postman, Newman, and Jenkins
Best practices for test automation
ATDD Using Robot Framework
Ad

Similar to EM12c Monitoring, Metric Extensions and Performance Pages (20)

PDF
Ioug oow12 em12c
PDF
Performance tuning Grails applications
PPTX
Oracle EBS Production Support - Recommendations
PPTX
V center operations standard presentation
PDF
Performance tuning Grails applications
PPTX
Common SQL Server Mistakes and How to Avoid Them with Tim Radney
PPTX
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
PDF
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
PDF
Proactive performance monitoring with adaptive thresholds
PDF
Adding Value in the Cloud with Performance Test
PDF
Building data intensive applications
PDF
Introducing Elevate Capacity Management
PPTX
Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...
PPTX
Scale net apps in aws
PPTX
Scale net apps in aws
PPTX
Extreme Makeover OnBase Edition
PPTX
Sql azure cluster dashboard public.ppt
PPTX
Managing Performance Globally with MySQL
PPTX
Performance tuning Grails Applications GR8Conf US 2014
PPTX
Mobile Shops Inventory Management System
Ioug oow12 em12c
Performance tuning Grails applications
Oracle EBS Production Support - Recommendations
V center operations standard presentation
Performance tuning Grails applications
Common SQL Server Mistakes and How to Avoid Them with Tim Radney
CON5451_Brydon-OOW2014_Brydon_CON5451 (1).pptx
Jeremy Edberg (MinOps ) - How to build a solid infrastructure for a startup t...
Proactive performance monitoring with adaptive thresholds
Adding Value in the Cloud with Performance Test
Building data intensive applications
Introducing Elevate Capacity Management
Oracle Management Cloud - introduction, overview and getting started (AMIS, 2...
Scale net apps in aws
Scale net apps in aws
Extreme Makeover OnBase Edition
Sql azure cluster dashboard public.ppt
Managing Performance Globally with MySQL
Performance tuning Grails Applications GR8Conf US 2014
Mobile Shops Inventory Management System
Ad

More from Enkitec (20)

PDF
Using Angular JS in APEX
PDF
Controlling execution plans 2014
PDF
Engineered Systems: Environment-as-a-Service Demonstration
PDF
Think Exa!
PDF
In Memory Database In Action by Tanel Poder and Kerry Osborne
PDF
In Search of Plan Stability - Part 1
PDF
Mini Session - Using GDB for Profiling
PDF
Profiling Oracle with GDB
PDF
Oracle Performance Tools of the Trade
PDF
Oracle Performance Tuning Fundamentals
PDF
SQL Tuning Tools of the Trade
PDF
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
PDF
Oracle GoldenGate Architecture Performance
PDF
OGG Architecture Performance
PDF
APEX Security Primer
PDF
How Many Ways Can I Manage Oracle GoldenGate?
PDF
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
PDF
Sql tuning made easier with sqltxplain (sqlt)
PDF
Profiling the logwriter and database writer
PDF
Fatkulin hotsos 2014
Using Angular JS in APEX
Controlling execution plans 2014
Engineered Systems: Environment-as-a-Service Demonstration
Think Exa!
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Search of Plan Stability - Part 1
Mini Session - Using GDB for Profiling
Profiling Oracle with GDB
Oracle Performance Tools of the Trade
Oracle Performance Tuning Fundamentals
SQL Tuning Tools of the Trade
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Oracle GoldenGate Architecture Performance
OGG Architecture Performance
APEX Security Primer
How Many Ways Can I Manage Oracle GoldenGate?
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Sql tuning made easier with sqltxplain (sqlt)
Profiling the logwriter and database writer
Fatkulin hotsos 2014

Recently uploaded (20)

PPTX
How to use fields_get method in Odoo 18
PPT
Storage Area Network Best Practices from HP
PDF
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
PPTX
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
PPTX
Report in SIP_Distance_Learning_Technology_Impact.pptx
PDF
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
PPTX
How to Convert Tickets Into Sales Opportunity in Odoo 18
PPTX
Information-Technology-in-Human-Society (2).pptx
PDF
Human Computer Interaction Miterm Lesson
PPTX
Blending method and technology for hydrogen.pptx
PPTX
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
PPTX
maintenance powerrpoint for adaprive and preventive
PPTX
CRM(Customer Relationship Managmnet) Presentation
PDF
Introduction to c language from lecture slides
PDF
Internet of Things (IoT) – Definition, Types, and Uses
PDF
Gestión Unificada de los Riegos Externos
PDF
Altius execution marketplace concept.pdf
PDF
Examining Bias in AI Generated News Content.pdf
PPTX
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
PDF
Data Virtualization in Action: Scaling APIs and Apps with FME
How to use fields_get method in Odoo 18
Storage Area Network Best Practices from HP
CCUS-as-the-Missing-Link-to-Net-Zero_AksCurious.pdf
Rise of the Digital Control Grid Zeee Media and Hope and Tivon FTWProject.com
Report in SIP_Distance_Learning_Technology_Impact.pptx
EGCB_Solar_Project_Presentation_and Finalcial Analysis.pdf
How to Convert Tickets Into Sales Opportunity in Odoo 18
Information-Technology-in-Human-Society (2).pptx
Human Computer Interaction Miterm Lesson
Blending method and technology for hydrogen.pptx
AQUEEL MUSHTAQUE FAKIH COMPUTER CENTER .
maintenance powerrpoint for adaprive and preventive
CRM(Customer Relationship Managmnet) Presentation
Introduction to c language from lecture slides
Internet of Things (IoT) – Definition, Types, and Uses
Gestión Unificada de los Riegos Externos
Altius execution marketplace concept.pdf
Examining Bias in AI Generated News Content.pdf
Strategic Picks — Prioritising the Right Agentic Use Cases [2/6]
Data Virtualization in Action: Scaling APIs and Apps with FME

EM12c Monitoring, Metric Extensions and Performance Pages

  • 1. EM12c Monitoring, Metric Extensions and Performance Pages Kellyn Pot’Vin Sr. Techical Consultant
  • 2. Kellyn Pot’Vin • Westminster, Colorado • Oracle ACE, Sr. Technical Specialist at Enkitec • Multi-Platform DBA • Specialize in performance and management of large enterprise environments. • Board of directors for RMOUG, Director of Training Days 2013 and Database Track Committee for KSCOPE 2013 • Blog: DBAKevlar.com • Twitter: @DBAKevlar
  • 3. Why We Monitor our Databases • Pro-active notification of issues before resulting in outages/impact to users. • Awareness of performance, resource usage and demands. • Data collection to investigate performance issues- current, recent and historical. • Capacity planning. • Automation of maintenance work.
  • 4. Monitoring and Notification Downfalls Yahoo News- “Over 70% of workers would give up shower[ing] to eliminate unnecessary emails.” •Paging with “Successful” and/or “I’m OK”. •Not alerting for enough types of failures, instead covering with when complete. •Paging on “Warning” •Setting Critical thresholds too high vs. giving time to correct.
  • 5. Presentation Agenda • EM Architecture • EM Incident Rules and the Incident Manager • Metric Extensions- The Why and the How. • Performance Pages • Top Activity • Diagnosing Issues • SQL Monitor • ASH Analytics
  • 6. Simple EM Architecture • Oracle Repository stores data in an Oracle database. • OMS (Oracle Management Service) • Targets with OMA(Oracle Management Agent)/Plug- ins upload data to OMS. • Cloud Control Console, (aka EM Console) Used to view data through interaction with OMS.
  • 7. Effective Monitoring with Incident Manager
  • 9. Incident Rules From EM12c Console •Setup •Incidents •Incident Rules/ Job Events
  • 10. Incident Rule Sets • Two Non-Editable, Main Rule Sets Come with EM12c Installation, • Incident Management • Event Management
  • 11. Incident Management Rules- Broken Down • Incident Creation for metric alerts • Auto- Clear rule for metric alert older then 7 days. • Auto-Clear rule for job status change for terminal status events. • SLA Incident Creation • Incident Creation for Target Unreachable, Down and Error. • Clear ADP, (Application Dependency and Performance) alerts without incident after 7 days. • Incident creation rule for high-availability events.
  • 12. Utilizing Existing Rule Sets 1. Disable existing, Non-editable, system generated, incident management rule set. 2. Pre-existing are Quality Rule Sets, but need to be editable. 3. Need to Copy the Incident Rule Sets. 4. Enhance or Add Additional Rules to the New Copy of a Rule Set.
  • 14. Copying a Rule Set • Fill in new name of Incident Rule Set. • Defaults to all targets, exclude, change to target types or specific types. • Enable if copying a disabled rule set.
  • 15. Copying Rule Set, Rules Tab • Click on the Rules Tab • You can Edit Existing rules, enhancing, updating or changing default settings. • Remove any unwanted rules. • Add specific rules for your environment.
  • 16. Copying Rule Set, Co-authors
  • 17. Rules vs. Metric Thresholds • Rule are Set Globally. • Rules are Independent of Database Metric Settings.
  • 18. Metric Settings • Set at database level unless using a template. • In 12.0.1.0 BP1, only set with warning thresholds. • Good reason to use a template.
  • 19. What Are Metric Extensions? • A dynamically configured extensions feature allowing to monitor environment specific conditions. • Simplifies monitoring of operational processes that once only existed outside of the EM12c console. • Eliminates requirements for secondary monitoring and management tools. • Eliminate need for external scripting that may require more monitoring logic than EM Jobs can provide.
  • 20. Metric Extensions Details • Metric Extensions replace the formerly known “User Defined Metrics” • User Defined Metrics were limited to database and host types, no longer with Metric Extensions. • Ability to build a metric extensions library to utilize for your own environment. • Full development cycle support • Using specific protocols , the Oracle Integration Adapter gathers data about targets for use with metrics extensions.
  • 21. The “More” of Metric Extensions • A simple wizard allows for easy development and refinement of metric extensions. • Ability to test metrics using the “Test Page” allows an ability to run real-time metric evaluations to ensure definitions and scripts are free of errors before deploying. • Loved, stand-alone scripts, with small changes can become metric extensions, too!
  • 23. Enterprise > Monitoring > Metric Extensions
  • 26. Creation, Part III • Defaults meet the needs for example.
  • 28. Add Columns • Columns • AGENT_PID with Description of “AGENT PID” • MEM_USG with Description of “MEMORY USAGE” • VAL_MEM with Description of “VALUE of MEMORY” • Number of occurrences before alerting=5, then click OK
  • 29. Credentials • Choose a pre-existing setup or new?
  • 30. The Finale! • Test, rinse, and repeat, (deploy/publish!)
  • 32. Metric Extensions Summary • Create development metric extension, wizard will simplify process. • Test with test page and verify that all steps, all features of the metric extension test correctly. • Deploy to target separately or to groups. • Utilize to fulfill any missing areas in monitoring environment.
  • 33. EM12c Performance Pages • Summary Page • Top Activity • SQL Monitor • ASH Analytics • ASH/AWR Reports • SQL Tuning Advisor • Misc. Features
  • 36. Top Activity, “The Grid” • Graphical display of performance usage. • 15 second refresh, manual refresh or historical. • Review up to time retained in AWR.
  • 37. The low down of the Top Activity • Top SQL on left. • Top sessions, clients, etc. on right in drop down.
  • 38. 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.
  • 39. We’re in the Red, (Orange, too!) • Inspect High % use. • Red, orange, brown and pink.
  • 41. Next? • Two sessions are executing • Option to run an ASH report, (right hand side)
  • 43. The Icing on the Cake • Duh, add some memory to the EM12c box! 
  • 44. SQL Monitor • Elapsed Time • SQL_ID, Beginning SQL Text. • Parallel, Waits and Execution Time
  • 45. Top Activity, ASH style Ability to choose timelines by: Hour Day Week Month Calendar Custom
  • 46. Familiar Interface Changes to interface were minimal for user comfort
  • 48. Load Map New Visual Way of Showing Data, Multiple Ways!
  • 49. ASH Analytics Summary • Future of “Top Activity” • Easy Agent Deployment through EM12c Console • Comfortable Interface for those familiar with Previous Versions. • Cool new features, new learning curve for some. • Oracle user DOES NOT need sudo, disregard the instructions.
  • 50. Links Step by Step to create a metric extension from Rob Zoeteweij- http://oemgc.files.wordpress.com/2012/05/using-metric-extensions-in-em12c.pdf EM12c blogs- 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 RMOUG Training Days– Feb. 11th-13th, 2013, Denver, CO Linkedin: Kellyn Potvin and/or Rocky Mountain Oracle User Group Email: [email protected] or [email protected] or [email protected] Blog: dbakevlar.com
  • 51. SAVE THE DATE! COLLABORATE 13 April 7-11, 2013 Colorado Convention Center Denver, Colorado http://collaborate13.ioug.org