SlideShare une entreprise Scribd logo
1  sur  56
Télécharger pour lire hors ligne
Oracle Enterprise Manager Cloud 
Control 12c 
(Setting up Metrics and Monitoring) 
Top 10 Features for DBAs 
Prepared by: 
Leighton L. Nelson
About Me 
@leight0nn
About Me
Agenda 
■ Setting up Metrics and Monitoring 
▪ What, Why, How 
▪ Five step process 
■ Top 10 Database Features 
▪ Database Lifecycle Management 
▪ Real-Time Database Operations 
▪ EMCLI 
▪ ASH Analytics 
▪ Backup & Recovery 
▪ Metric Extensions 
▪ Compare Period and Real-Time ADDM 
▪ Corrective Actions 
▪ DBaaS 
▪ AWR Data Warehouse
Setting up Metrics and Monitoring 
WHY 
DO 
WE 
MONITOR?
Setting up Metrics and Monitoring
Setting up Metrics and Monitoring 
WHAT 
SHOULD 
WE 
MONITOR? 
<insert 
list 
here>
Setting up Metrics and Monitoring 
HOW 
DO 
WE 
MONITOR?
Setting up Metrics and Monitoring
Setting up Metrics and Monitoring 
INSTALL 
OEM 
12C
Setting up Metrics and Monitoring 
1. Add 
Targets 
• Deploy 
EM 
Agent 
to 
Hosts 
• Promote 
Targets 
2. Add 
Metrics 
and 
Metric 
Extensions 
• Set 
Thresholds 
• Monitoring 
Templates 
and 
Template 
CollecLons 
3. AdministraLon 
Groups 
• Automate 
sePng 
of 
metrics 
and 
incident 
rule 
sets 
4. Create 
Incident 
Rules/Rule 
sets 
• Availability 
Rules 
• Metric 
Rules 
5. Job 
Library 
• Automate 
everything
Setting up Metrics and Monitoring 
1. Add 
Targets 
• Deploy 
EM 
Agent 
to 
Hosts 
• Promote 
Targets 
2. Add 
Metrics 
and 
Metric 
Extensions 
• Monitoring 
Templates 
and 
Template 
CollecLons 
3. AdministraLon 
Groups 
• Automate 
sePng 
of 
metrics 
and 
incident 
rule 
sets 
4. Create 
Incident 
Rules/Rule 
sets 
• Availability 
Rules 
• Metric 
Rules 
5. Job 
Library 
• Automate 
everything
Setting up Metrics and Monitoring 
1. Add 
Targets 
• Deploy 
EM 
Agent 
to 
Hosts 
• Promote 
Targets 
2. Add 
Metrics 
and 
Metric 
Extensions 
• Monitoring 
Templates 
and 
Template 
CollecLons 
3. AdministraLon 
Groups 
• Automate 
sePng 
of 
metrics 
and 
incident 
rule 
sets 
4. Create 
Incident 
Rules/Rule 
sets 
• Availability 
Rules 
• Metric 
Rules 
5. Job 
Library 
• Automate 
everything
Setting up Metrics and Monitoring 
Metric 
Thresholds
Setting up Metrics and Monitoring 
Monitoring 
Templates 
and 
Template 
CollecLons 
!
Setting up Metrics and Monitoring 
1. Add 
Targets 
• Deploy 
EM 
Agent 
to 
Hosts 
• Promote 
Targets 
2. Add 
Metrics 
and 
Metric 
Extensions 
• Monitoring 
Templates 
and 
Template 
CollecLons 
3. AdministraLon 
Groups 
• Automate 
sePng 
of 
metrics 
and 
incident 
rule 
sets 
4. Create 
Incident 
Rules/Rule 
sets 
• Availability 
Rules 
• Metric 
Rules 
5. Job 
Library 
• Automate 
everything
Setting up Metrics and Monitoring 
AdministraLon 
Groups
Setting up Metrics and Monitoring 
1. Add 
Targets 
• Deploy 
EM 
Agent 
to 
Hosts 
• Promote 
Targets 
2. Add 
Metrics 
and 
Metric 
Extensions 
• Monitoring 
Templates 
and 
Template 
CollecLons 
3. AdministraLon 
Groups 
• Automate 
sePng 
of 
metrics 
and 
incident 
rule 
sets 
4. Create 
Incident 
Rules/Rule 
sets 
• Availability 
Rules 
• Metric 
Rules 
5. Job 
Library 
• Automate 
everything
Setting up Metrics and Monitoring 
Create 
Incident 
Rules/Rule 
sets
Setting up Metrics and Monitoring 
1. Add 
Targets 
• Deploy 
EM 
Agent 
to 
Hosts 
• Promote 
Targets 
2. Add 
Metrics 
and 
Metric 
Extensions 
• Monitoring 
Templates 
and 
Template 
CollecLons 
3. AdministraLon 
Groups 
• Automate 
sePng 
of 
metrics 
and 
incident 
rule 
sets 
4. Create 
Incident 
Rules/Rule 
sets 
• Availability 
Rules 
• Metric 
Rules 
5. Job 
Library 
• Automate 
everything
Setting up Metrics and Monitoring
Setting up Metrics and Monitoring 
• Create 
central 
administrator 
to 
own 
Incident 
Rule 
Sets, 
Templates 
and 
Jobs 
• OEM_ADMIN 
• Test 
Incident 
Rule 
Sets 
periodically 
• Create 
Like 
or 
Use 
Private 
Rule 
Sets 
• Use 
the 
Metric 
threshold 
test 
• Use 
CorrecLve 
AcLons 
• Incident 
Manager 
• Extend 
monitoring 
• Storage 
Plug-­‐ins 
• EM 
Extensibility 
Exchange 
• Automate 
rouLne 
tasks 
using 
EMCLI
Setting up Metrics and Monitoring
Top 10 Features for DBAs
1/ Database Lifecycle Management 
■ Database Patching & Updates 
▪ Patch Types 
— PSU 
— CPU 
— One-offs 
— Opatch 
▪ Manual patching 
— Time consuming 
— Complex 
— Risky 
— Requires downtime
1/ Database Lifecycle Management 
■ Database Upgrades 
▪ Upgrades can be scary 
— Pre-requisites 
— Backups 
— Down-time 
— Cross-fingers
1/ Database Lifecycle Management 
■ Database Patching & Updates 
▪ Use Patch Plans 
▪ Out of Place Patching support 
▪ Integrates with MOS
1/ Database Lifecycle Management
1/ Database Lifecycle Management 
■ Database Patching & Updates 
▪ 5 Step Process to patch many DBs 
— Patch Description 
— Select the patches to apply and the targets 
— Deployment options 
— Patch Validation & Analysis 
— Review and Deploy 
▪ More automation with EMCLI 
— emcli submit_patch_plan
2/ Real-Time Database Operations 
Monitoring 
■ Simple Statements 
▪ SQL Monitoring 
▪ PL/SQL Monitoring 
■ Composite Database Operations 
▪ Enabled by default when 
STATISTICS_LEVEL=TYPICAL/ALL 
■ Define DB Operation 
▪ DBMS_SQL_MONITOR.BEGIN_OPERATION 
▪ DBMS_SQL_MONITOR.END_OPERATION
2/ Real-Time Database Operations 
Monitoring 
■ SQL Monitoring
3/ EM Command Line Interface 
■ Turbo charges EM! 
■ Enables Script Automation 
■ Install from OEM Console 
■ Standard or Advanced with Scripting Option
3/ EM Command Line Interface
3/ EM Command Line Interface 
• emcli 
help 
• emcli 
verb 
help
4/ ASH Analytics 
■ Multi-dimensional view of ASH data 
■ DB-Time Analysis 
■ Top Activity + 
▪ Resize sample window 
▪ More dimensions 
▪ Load map tree
4/ ASH Analytics
5/ Backup & Recovery 
When I ask the sysadmins, “The backups are making it to tape, 
right?” 
-DBA Reactions
5/ Backup & Recovery 
■ RMAN Backup 
▪ Target-based RMAN backup 
— Wizard-driven interface 
— Oracle-Suggested or Customized Backup 
▪ Job System based RMAN backup 
— Use existing RMAN scripts 
▪ Group Backups using deployment procedure 
— Backup multiple databases, homes and filesystems in a single 
operation
5/ Backup & Recovery
6/ Corrective Actions 
■ Resolve Incidents, Automagically! 
■ Automate routine administrative tasks 
■ Triggered in response to metric alerts 
■ Runs on the target on which alerts are triggered 
■ Agent-side response actions can execute single commands 
or scripts on host
7/ Automatic Database Diagnostics Monitor 
ADDM 
Compare Period ADDM 
“Why is the database slower today than yesterday?” 
Compares database activity over two periods of time
7/ Automatic Database Diagnostics Monitor 
ADDM 
■ Real-Time ADDM 
▪ Analyzes hung or very slow DB 
▪ Finds sources of contention 
▪ Performs DB Time Analysis 
▪ Uses 2 connection modes 
— Normal JDBC connection 
— Latch-less connection 
▪ Enhanced Real-Time ADDM (DB 12c)
7/ Automatic Database Diagnostics Monitor 
ADDM 
Real-time ADDM Active 
Reports
8/ Database-as-a-Service 
■ Schema-as-a-Service 
■ DBCA Template 
■ RMAN Backup 
■ Snap Clone 
▪ Storage Agnostic (ZFS) 
▪ Vendor Specific (NetApp, Oracle ZFSSA, EMC) 
■ Pluggable Databases (12c)
8/ Database-as-a-Service 
■ Database-as-a-Service
8/ Database-as-a-Service 
■ Database-as-a-Service
9/ Metric Extensions 
Not satisfied with out-of-the-box metrics? 
BYOM… 
…Build Your Own Metrics
9/ Metric Extensions
9/ Metric Extensions 
• Many 
out-­‐of-­‐the 
box 
metrics 
available 
• If 
there 
isn’t 
you 
can 
create 
your 
own 
• Create 
using 
adapters 
• SQL 
• PL/SQL 
• Shell 
Scripts 
• Useful 
for 
re-­‐using 
exisLng 
scripts
9/ Metric Extensions 
Example 
• Flash 
Recovery 
Area 
(FRA) 
being 
used 
• Archived 
Used 
(%) 
doesn’t 
trigger 
• Recovery 
Area 
(%) 
Used 
not 
modifiable 
• Warning 
85% 
• CriLcal 
97% 
• Create 
new 
FRA 
Used 
(%) 
Metric 
• See 
New 
EM12c 
Extensibility 
Exchange 
for 
examples
10/ AWR Warehouse (AWRW) 
■ Used for consolidation of AWR from multiple databases 
■ Provides long term historical information for AWR 
■ Data is moved from source to targets system via ETL jobs 
■ Retention period can be modified 
■ See MOS note 1907335.1 for patches and requirements
10/ AWR Warehouse (AWRW)
10/ AWR Warehouse (AWRW)
Summary 
Questions? 
EM 
12c 
Rocks!!!
Thank You 
Questions?
Contact Information 
h)p://blogs.griddba.com 
linkedin.com/pub/leighton-­‐nelson/4/6b8/a7a 
@leight0nn 
leightonn@gmail.com

Contenu connexe

Tendances

Tendances (20)

Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
 
Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!Oracle Active Data Guard and Global Data Services in Action!
Oracle Active Data Guard and Global Data Services in Action!
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
Christo kutrovsky oracle rac solving common scalability problems
Christo kutrovsky   oracle rac solving common scalability problemsChristo kutrovsky   oracle rac solving common scalability problems
Christo kutrovsky oracle rac solving common scalability problems
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
 
SQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cSQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12c
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
 
Oracle Client Failover - Under The Hood
Oracle Client Failover - Under The HoodOracle Client Failover - Under The Hood
Oracle Client Failover - Under The Hood
 
Crating a Robust Performance Strategy
Crating a Robust Performance StrategyCrating a Robust Performance Strategy
Crating a Robust Performance Strategy
 
Expert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RACExpert performance tuning tips for Oracle RAC
Expert performance tuning tips for Oracle RAC
 
Oracle Drivers configuration for High Availability
Oracle Drivers configuration for High AvailabilityOracle Drivers configuration for High Availability
Oracle Drivers configuration for High Availability
 
Oracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&TricksOracle Rac Performance Tunning Tips&Tricks
Oracle Rac Performance Tunning Tips&Tricks
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Get the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW versionGet the most out of Oracle Data Guard - OOW version
Get the most out of Oracle Data Guard - OOW version
 
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HAGalera Cluster: Synchronous Multi-Master Replication for MySQL HA
Galera Cluster: Synchronous Multi-Master Replication for MySQL HA
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
12 Things about Oracle WebLogic Server 12c
12 Things	 about Oracle WebLogic Server 12c12 Things	 about Oracle WebLogic Server 12c
12 Things about Oracle WebLogic Server 12c
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
 
Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.Migrating to Oracle Database 12c: 300 DBs in 300 days.
Migrating to Oracle Database 12c: 300 DBs in 300 days.
 

En vedette

[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...
[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...
[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...
Bharat Paliwal
 

En vedette (20)

Machines and the Magic of Fast Learning - Strata Keynote
Machines and the Magic of Fast Learning - Strata KeynoteMachines and the Magic of Fast Learning - Strata Keynote
Machines and the Magic of Fast Learning - Strata Keynote
 
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
Database-as-a-Service with Oracle Enterprise Manager Cloud Control 12c and Or...
 
Install oracle grid infrastructure on linux 6.6
Install oracle grid infrastructure on linux 6.6Install oracle grid infrastructure on linux 6.6
Install oracle grid infrastructure on linux 6.6
 
Oracle Enterprise Manager 12c: updates and upgrades.
Oracle Enterprise Manager 12c: updates and upgrades.Oracle Enterprise Manager 12c: updates and upgrades.
Oracle Enterprise Manager 12c: updates and upgrades.
 
[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...
[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...
[CON6985]Expanding DBaaS Beyond Data Centers Hybrid Cloud Onboarding via Orac...
 
EM13c: Write Powerful Scripts with EMCLI
EM13c: Write Powerful Scripts with EMCLIEM13c: Write Powerful Scripts with EMCLI
EM13c: Write Powerful Scripts with EMCLI
 
Oracle Enterprise manager 13c Installation
Oracle Enterprise manager 13c InstallationOracle Enterprise manager 13c Installation
Oracle Enterprise manager 13c Installation
 
An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3
An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3
An introduction into Oracle Enterprise Manager Cloud Control 12c Release 3
 
Enterprise manager 13c -let's connect to the Oracle Cloud
Enterprise manager 13c -let's connect to the Oracle CloudEnterprise manager 13c -let's connect to the Oracle Cloud
Enterprise manager 13c -let's connect to the Oracle Cloud
 
12c on RHEL7
12c on RHEL712c on RHEL7
12c on RHEL7
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
 
OUG Ireland Meet-up - Updates from Oracle Open World 2016
OUG Ireland Meet-up - Updates from Oracle Open World 2016OUG Ireland Meet-up - Updates from Oracle Open World 2016
OUG Ireland Meet-up - Updates from Oracle Open World 2016
 
OUG Ireland Meet-up 12th January
OUG Ireland Meet-up 12th JanuaryOUG Ireland Meet-up 12th January
OUG Ireland Meet-up 12th January
 
Oracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid CloudOracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid Cloud
 
Building the Ideal Stack for Real-Time Analytics
Building the Ideal Stack for Real-Time AnalyticsBuilding the Ideal Stack for Real-Time Analytics
Building the Ideal Stack for Real-Time Analytics
 
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
OOW16 - Oracle Enterprise Manager 13c Cloud Control for Managing Oracle E-Bus...
 
Agile scrum roles
Agile scrum rolesAgile scrum roles
Agile scrum roles
 
Oracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAsOracle Enterprise Manager Cloud Control 13c for DBAs
Oracle Enterprise Manager Cloud Control 13c for DBAs
 
Comparing 30 MongoDB operations with Oracle SQL statements
Comparing 30 MongoDB operations with Oracle SQL statementsComparing 30 MongoDB operations with Oracle SQL statements
Comparing 30 MongoDB operations with Oracle SQL statements
 
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
Introducing NoSQL and MongoDB to complement Relational Databases (AMIS SIG 14...
 

Similaire à Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitoring (Top 10 Features for DBAs v1.1)

SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1
sqlserver.co.il
 
Geek Sync | Intro to Query Store
Geek Sync | Intro to Query StoreGeek Sync | Intro to Query Store
Geek Sync | Intro to Query Store
IDERA Software
 
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
 
Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502
kaziul Islam Bulbul
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera Cluster
Abdul Manaf
 

Similaire à Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitoring (Top 10 Features for DBAs v1.1) (20)

Lessons Learned Replatforming A Large Machine Learning Application To Apache ...
Lessons Learned Replatforming A Large Machine Learning Application To Apache ...Lessons Learned Replatforming A Large Machine Learning Application To Apache ...
Lessons Learned Replatforming A Large Machine Learning Application To Apache ...
 
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 ...
 
SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1SQL Explore 2012: P&T Part 1
SQL Explore 2012: P&T Part 1
 
Optimising Queries - Series 1 Query Optimiser Architecture
Optimising Queries - Series 1 Query Optimiser ArchitectureOptimising Queries - Series 1 Query Optimiser Architecture
Optimising Queries - Series 1 Query Optimiser Architecture
 
Ioug oow12 em12c
Ioug oow12 em12cIoug oow12 em12c
Ioug oow12 em12c
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning Techniques
 
Presentation cloud control enterprise manager 12c
Presentation   cloud control enterprise manager 12cPresentation   cloud control enterprise manager 12c
Presentation cloud control enterprise manager 12c
 
EDB Postgres DBA Best Practices
EDB Postgres DBA Best PracticesEDB Postgres DBA Best Practices
EDB Postgres DBA Best Practices
 
Geek Sync | Intro to Query Store
Geek Sync | Intro to Query StoreGeek Sync | Intro to Query Store
Geek Sync | Intro to Query Store
 
My sql cluster case study apr16
My sql cluster case study apr16My sql cluster case study apr16
My sql cluster case study apr16
 
6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning
 
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
 
Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502Collaborate 2011-tuning-ebusiness-416502
Collaborate 2011-tuning-ebusiness-416502
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High Availability
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera Cluster
 
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Silicon Valley Code Camp 2015 - Advanced MongoDB - The SequelSilicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
Silicon Valley Code Camp 2015 - Advanced MongoDB - The Sequel
 
collab2011-tuning-ebusiness-421966.pdf
collab2011-tuning-ebusiness-421966.pdfcollab2011-tuning-ebusiness-421966.pdf
collab2011-tuning-ebusiness-421966.pdf
 
MySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & TuneMySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & Tune
 
MySQL Performance Schema in Action
MySQL Performance Schema in ActionMySQL Performance Schema in Action
MySQL Performance Schema in Action
 
MySQL Performance Schema in Action: the Complete Tutorial
MySQL Performance Schema in Action: the Complete TutorialMySQL Performance Schema in Action: the Complete Tutorial
MySQL Performance Schema in Action: the Complete Tutorial
 

Plus de Leighton Nelson

Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsOracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Leighton Nelson
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Leighton Nelson
 
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White PaperConfiguring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Leighton Nelson
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Leighton Nelson
 
Learning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox WhitepaperLearning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox Whitepaper
Leighton Nelson
 
Learning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBoxLearning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBox
Leighton Nelson
 

Plus de Leighton Nelson (11)

Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAsOracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
 
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle ClusterwareManaging Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
Managing Oracle Enterprise Manager Cloud Control 12c with Oracle Clusterware
 
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
UPGRADING FROM ORACLE ENTERPRISE MANAGER 10G TO CLOUD CONTROL 12C WITH ZERO D...
 
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White PaperConfiguring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
Configuring Oracle Enterprise Manager Cloud Control 12c for HA White Paper
 
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
Configuring Oracle Enterprise Manager Cloud Control 12c for High AvailabilityConfiguring Oracle Enterprise Manager Cloud Control 12c for High Availability
Configuring Oracle Enterprise Manager Cloud Control 12c for High Availability
 
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud ControlMigrating from Oracle Enterprise Manager 10g to 12c Cloud Control
Migrating from Oracle Enterprise Manager 10g to 12c Cloud Control
 
Learning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox WhitepaperLearning Oracle with Oracle VM VirtualBox Whitepaper
Learning Oracle with Oracle VM VirtualBox Whitepaper
 
Learning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBoxLearning Oracle with Oracle VM VirtualBox
Learning Oracle with Oracle VM VirtualBox
 
Looking at RAC, GI/Clusterware Diagnostic Tools
Looking at RAC,   GI/Clusterware Diagnostic Tools Looking at RAC,   GI/Clusterware Diagnostic Tools
Looking at RAC, GI/Clusterware Diagnostic Tools
 
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One NodeOracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 

Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitoring (Top 10 Features for DBAs v1.1)

  • 1. Oracle Enterprise Manager Cloud Control 12c (Setting up Metrics and Monitoring) Top 10 Features for DBAs Prepared by: Leighton L. Nelson
  • 4. Agenda ■ Setting up Metrics and Monitoring ▪ What, Why, How ▪ Five step process ■ Top 10 Database Features ▪ Database Lifecycle Management ▪ Real-Time Database Operations ▪ EMCLI ▪ ASH Analytics ▪ Backup & Recovery ▪ Metric Extensions ▪ Compare Period and Real-Time ADDM ▪ Corrective Actions ▪ DBaaS ▪ AWR Data Warehouse
  • 5. Setting up Metrics and Monitoring WHY DO WE MONITOR?
  • 6. Setting up Metrics and Monitoring
  • 7. Setting up Metrics and Monitoring WHAT SHOULD WE MONITOR? <insert list here>
  • 8. Setting up Metrics and Monitoring HOW DO WE MONITOR?
  • 9. Setting up Metrics and Monitoring
  • 10. Setting up Metrics and Monitoring INSTALL OEM 12C
  • 11. Setting up Metrics and Monitoring 1. Add Targets • Deploy EM Agent to Hosts • Promote Targets 2. Add Metrics and Metric Extensions • Set Thresholds • Monitoring Templates and Template CollecLons 3. AdministraLon Groups • Automate sePng of metrics and incident rule sets 4. Create Incident Rules/Rule sets • Availability Rules • Metric Rules 5. Job Library • Automate everything
  • 12. Setting up Metrics and Monitoring 1. Add Targets • Deploy EM Agent to Hosts • Promote Targets 2. Add Metrics and Metric Extensions • Monitoring Templates and Template CollecLons 3. AdministraLon Groups • Automate sePng of metrics and incident rule sets 4. Create Incident Rules/Rule sets • Availability Rules • Metric Rules 5. Job Library • Automate everything
  • 13. Setting up Metrics and Monitoring 1. Add Targets • Deploy EM Agent to Hosts • Promote Targets 2. Add Metrics and Metric Extensions • Monitoring Templates and Template CollecLons 3. AdministraLon Groups • Automate sePng of metrics and incident rule sets 4. Create Incident Rules/Rule sets • Availability Rules • Metric Rules 5. Job Library • Automate everything
  • 14. Setting up Metrics and Monitoring Metric Thresholds
  • 15. Setting up Metrics and Monitoring Monitoring Templates and Template CollecLons !
  • 16. Setting up Metrics and Monitoring 1. Add Targets • Deploy EM Agent to Hosts • Promote Targets 2. Add Metrics and Metric Extensions • Monitoring Templates and Template CollecLons 3. AdministraLon Groups • Automate sePng of metrics and incident rule sets 4. Create Incident Rules/Rule sets • Availability Rules • Metric Rules 5. Job Library • Automate everything
  • 17. Setting up Metrics and Monitoring AdministraLon Groups
  • 18. Setting up Metrics and Monitoring 1. Add Targets • Deploy EM Agent to Hosts • Promote Targets 2. Add Metrics and Metric Extensions • Monitoring Templates and Template CollecLons 3. AdministraLon Groups • Automate sePng of metrics and incident rule sets 4. Create Incident Rules/Rule sets • Availability Rules • Metric Rules 5. Job Library • Automate everything
  • 19. Setting up Metrics and Monitoring Create Incident Rules/Rule sets
  • 20. Setting up Metrics and Monitoring 1. Add Targets • Deploy EM Agent to Hosts • Promote Targets 2. Add Metrics and Metric Extensions • Monitoring Templates and Template CollecLons 3. AdministraLon Groups • Automate sePng of metrics and incident rule sets 4. Create Incident Rules/Rule sets • Availability Rules • Metric Rules 5. Job Library • Automate everything
  • 21. Setting up Metrics and Monitoring
  • 22. Setting up Metrics and Monitoring • Create central administrator to own Incident Rule Sets, Templates and Jobs • OEM_ADMIN • Test Incident Rule Sets periodically • Create Like or Use Private Rule Sets • Use the Metric threshold test • Use CorrecLve AcLons • Incident Manager • Extend monitoring • Storage Plug-­‐ins • EM Extensibility Exchange • Automate rouLne tasks using EMCLI
  • 23. Setting up Metrics and Monitoring
  • 24. Top 10 Features for DBAs
  • 25. 1/ Database Lifecycle Management ■ Database Patching & Updates ▪ Patch Types — PSU — CPU — One-offs — Opatch ▪ Manual patching — Time consuming — Complex — Risky — Requires downtime
  • 26. 1/ Database Lifecycle Management ■ Database Upgrades ▪ Upgrades can be scary — Pre-requisites — Backups — Down-time — Cross-fingers
  • 27. 1/ Database Lifecycle Management ■ Database Patching & Updates ▪ Use Patch Plans ▪ Out of Place Patching support ▪ Integrates with MOS
  • 28. 1/ Database Lifecycle Management
  • 29. 1/ Database Lifecycle Management ■ Database Patching & Updates ▪ 5 Step Process to patch many DBs — Patch Description — Select the patches to apply and the targets — Deployment options — Patch Validation & Analysis — Review and Deploy ▪ More automation with EMCLI — emcli submit_patch_plan
  • 30. 2/ Real-Time Database Operations Monitoring ■ Simple Statements ▪ SQL Monitoring ▪ PL/SQL Monitoring ■ Composite Database Operations ▪ Enabled by default when STATISTICS_LEVEL=TYPICAL/ALL ■ Define DB Operation ▪ DBMS_SQL_MONITOR.BEGIN_OPERATION ▪ DBMS_SQL_MONITOR.END_OPERATION
  • 31. 2/ Real-Time Database Operations Monitoring ■ SQL Monitoring
  • 32. 3/ EM Command Line Interface ■ Turbo charges EM! ■ Enables Script Automation ■ Install from OEM Console ■ Standard or Advanced with Scripting Option
  • 33. 3/ EM Command Line Interface
  • 34. 3/ EM Command Line Interface • emcli help • emcli verb help
  • 35. 4/ ASH Analytics ■ Multi-dimensional view of ASH data ■ DB-Time Analysis ■ Top Activity + ▪ Resize sample window ▪ More dimensions ▪ Load map tree
  • 37. 5/ Backup & Recovery When I ask the sysadmins, “The backups are making it to tape, right?” -DBA Reactions
  • 38. 5/ Backup & Recovery ■ RMAN Backup ▪ Target-based RMAN backup — Wizard-driven interface — Oracle-Suggested or Customized Backup ▪ Job System based RMAN backup — Use existing RMAN scripts ▪ Group Backups using deployment procedure — Backup multiple databases, homes and filesystems in a single operation
  • 39. 5/ Backup & Recovery
  • 40. 6/ Corrective Actions ■ Resolve Incidents, Automagically! ■ Automate routine administrative tasks ■ Triggered in response to metric alerts ■ Runs on the target on which alerts are triggered ■ Agent-side response actions can execute single commands or scripts on host
  • 41. 7/ Automatic Database Diagnostics Monitor ADDM Compare Period ADDM “Why is the database slower today than yesterday?” Compares database activity over two periods of time
  • 42. 7/ Automatic Database Diagnostics Monitor ADDM ■ Real-Time ADDM ▪ Analyzes hung or very slow DB ▪ Finds sources of contention ▪ Performs DB Time Analysis ▪ Uses 2 connection modes — Normal JDBC connection — Latch-less connection ▪ Enhanced Real-Time ADDM (DB 12c)
  • 43. 7/ Automatic Database Diagnostics Monitor ADDM Real-time ADDM Active Reports
  • 44. 8/ Database-as-a-Service ■ Schema-as-a-Service ■ DBCA Template ■ RMAN Backup ■ Snap Clone ▪ Storage Agnostic (ZFS) ▪ Vendor Specific (NetApp, Oracle ZFSSA, EMC) ■ Pluggable Databases (12c)
  • 45. 8/ Database-as-a-Service ■ Database-as-a-Service
  • 46. 8/ Database-as-a-Service ■ Database-as-a-Service
  • 47. 9/ Metric Extensions Not satisfied with out-of-the-box metrics? BYOM… …Build Your Own Metrics
  • 49. 9/ Metric Extensions • Many out-­‐of-­‐the box metrics available • If there isn’t you can create your own • Create using adapters • SQL • PL/SQL • Shell Scripts • Useful for re-­‐using exisLng scripts
  • 50. 9/ Metric Extensions Example • Flash Recovery Area (FRA) being used • Archived Used (%) doesn’t trigger • Recovery Area (%) Used not modifiable • Warning 85% • CriLcal 97% • Create new FRA Used (%) Metric • See New EM12c Extensibility Exchange for examples
  • 51. 10/ AWR Warehouse (AWRW) ■ Used for consolidation of AWR from multiple databases ■ Provides long term historical information for AWR ■ Data is moved from source to targets system via ETL jobs ■ Retention period can be modified ■ See MOS note 1907335.1 for patches and requirements
  • 54. Summary Questions? EM 12c Rocks!!!
  • 56. Contact Information h)p://blogs.griddba.com linkedin.com/pub/leighton-­‐nelson/4/6b8/a7a @leight0nn leightonn@gmail.com