Download as pdf or txt
Download as pdf or txt
You are on page 1of 38

1 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.

Oracle Database 12c


Manageability

Platform Technology Solutions


Oracle Server Technologies

2 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Oracle Database 12c Manageability
Deliver Highest Service Quality with Lowest Risk and Effort

120%

100%

80%

60%

40%

20%

0%

Proactive Latest
Embedded Performance Generation
Management Management Consolidation

3 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Oracle Enterprise Manager Database Express 12c
Integrated, GUI Management Tool for Database Administration

Comprehensive
Integrated Install Small Footprint
Point
Administration

• Pre-configured & installed • Disk: 20 MB • Basic admin support for:


with the database • Runtime: zero when idle • Storage management
• Runs inside database • Minimal CPU, memory • Security management
• No extra MW components overhead • Configuration
• Leverages XDB server • 100% of UI rendering management
inside db for web services performed in browser • Advanced performance
• Supports SI, RAC, SE, EE • DB Server only runs SQL diagnostics and tuning

4 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Architecture
Request Handling in EM Express

EM Express Servlet
• Authenticates and validates Oracle Web Server
• Serves the request by executing
queries inside DB EM Express
• Writes the output to response Servlet
stream

Shared Servers Browser


01001011001001001001011
10010010101001001010101 Dispatcher
0011010100101010010

Listener
Request

5 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Enterprise Manager Database Express Menus

6 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Enterprise Manager Express
Configuring with DBCA

7 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Enterprise Manager Express
Configuring the HTTP Port for EM Express Manually
Start Listener [Listener running on a non-standard port (other
than 1521) Init.ora Add Local_listener= <TNS String>]

Enable TCP Dispatchers


dispatchers=(PROTOCOL=TCP)(SERVICE=sample XDB)

Restart the Database

Enable XDB Port


exec DBMS_XDB.setHTTPPort(8080);

Access via http://database-hostname:portnumber/em

8 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Configuring EM Express in CDB/PDB
EM Express is configured by default at the root
container

For each PDB that you would like to monitor setup a


separate port using dbms_xdb_config.sethttpsport

Make sure the XDB port is unique for each PDB

9
9 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
EM Express – A Summary
• Basic Admin: Configuration, Storage, Security
Features • Performance: Covers Diagnostics & Tuning pack features

Supported • SI, RAC, XE, SE, EE


• CDB / PDB support
Configurations
• Out-of-box SSL (WIP), token security, sever side session
Security management

• Configured out-of-box by DBCA/DBUA


Other • Can run in addition to EMCC
• Fully localized, accessible (WIP)

10
10 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Oracle SQL Developer
Compliments Oracle EM Express for PDB management

Support for Oracle Database 12c


SQL Translation Framework
Data Redaction Support
Manage Pluggable Databases
APEX Administration
Cloud Database Support

11 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Oracle SQL Developer Overview

 Database IDE
 2,500,000+ users worldwide
 Windows, OS X, *NIX
 3.2 Ships with Database 12c
 Java 7 / JDK 1.7 ‘Safe’
 Administer APEX Listener
 Deploy to Oracle Cloud

12 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Oracle Database 12c: Pluggable Databases
SQL Developer Release 3.2

14 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Oracle Database 12c: Pluggable Databases

15 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Oracle Database 12c Manageability
Deliver Highest Service Quality with Lowest Risk and Effort

120%

100%

80%

60%

40%

20%

0%

Proactive Latest
Embedded Performance Generation
Management Management Consolidation

16 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Enterprise Manager Express
Database Performance Hub
Unified Performance Monitoring

• Single view of DB
performance
 ADDM, SQL Tuning, Real-
Time SQL Monitoring, ASH
Analytics
• Supports both real-time &
historical mode
• Dedicated tab for RAC

17 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Automatic Performance Diagnostics
Continuous Evolution in Database Performance Management

Compare Real-Time Enhanced


ADDM Period ADDM ADDM Real-Time ADDM

• Diagnose persistent • In-depth • Hung or extremely • Proactively detect &


performance issues performance slow databases diagnose transient
• Uses AWR comparison across • Uses a normal and high-impact
snapshots two periods diagnostic mode problems
• Relies on AWR data connection • Built inside the DB
• Regular interval • Automatically runs
• Automatic / Manual • Manual • Manual every 3 seconds

18 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Enhanced Real-Time ADDM
Database self-monitors for serious performance issues

• Proactive problem detection & analysis


• Very light weight check runs every 3 seconds
• When detects bad performance trends, triggers further analysis
• Identifies a problem before it threatens application performance

• For current spikes, Real-Time ADDM can be manually triggered


• For short duration (5-min) performance spikes, i.e. transient, high impact problems
• Actionable advice for critical issues
• Richer data set available for analysis

19 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Enhanced Real-Time ADDM
Triggering Conditions
# Rule Condition
1 High Load Average active sessions greater than 3 times the number of CPU
cores
2 I/O bound Impact on active sessions based on single block read performance
3 CPU bound Active sessions greater than 10% of total load and CPU utilization
great than 50%
4 Over-allocated Allocation over 95% of physical memory
memory
5 Interconnect bound Single block interconnect transfer time based
6 Session Limit Session limit close to 100%
7 Process Limit Process limit close to 100%
8 Hung Session Significant number of hung sessions. If this number is greater than
10% of total sessions
9 Deadlock Detected Any deadlock detected by hang analyzer
20 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Monitoring Complex Database Operations
What’s Really Happening inside the Database

Challenge Solution

• SQL & PL/SQL • Real-Time Database


Monitoring only Operations Monitoring
monitors a single
execution
• Benefit:
• How does a DBA Allows DBAs to
monitor a composite analyze and tune
operation such as a complex composite DB
batch job? operations

21 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Real-Time Database Operations Monitoring
Know What’s Happening and Resolve Issues Faster.
• Database monitoring of application jobs
• Grouping of SQLs, sessions for the application jobs
• Key scenarios: ETL operations, Quarter End Close jobs

• Real-time monitoring driven by application specified tagging


• Oracle Data Pump jobs automatically monitored
• Tagging ability in PL/SQL, OCI, JDBC

• Avoids the overhead of SQL*Trace

• Visibility of top SQL statements, system and session performance


metrics

22 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Real-Time Database Operations Monitoring
How to enable
 Oracle Data Pump jobs automatically monitored
 Tagging ability in PL/SQL, OCI, JDBC

– PL/SQL DBMS_MONITOR.BEGIN_OPERATION

– OCI OCIAttrSet(… OCI_ATTR_DBOP)

– Java conn.setClientInfo (….DBOP tag)

23 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Monitoring Application Jobs
Real Time Database Operation Monitoring

 Monitoring driven by
application specified
tagging
– Automatically tag
DataPump, RMAN jobs in
the server
– Custom tags also possible

 Key scenarios
– ETL operations,
– Quarter End Close job

24
24 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Automatic Report Persistence to Disk
• Save Real-Time SQL Monitoring, DBOP
MMON slave samples every
minute and Real-time-ADDM reports automatically
into the AWR
• Top 5 reports in each sample gets written
Identifies top 5 based on to disk
elapsed time
• View persisted reports using SQL
Monitoring in EM Cloud Control or EM
Report data compressed Express
and written to disk • SQL Monitoring data no longer lost
• Provides the ability to go back in time and
Short duration reports that find issues in SQL execution
are not written eventually
age out from the queue • Data purged based on AWR retention
policy

26 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


EXTREME DATABASE MANAGEMENT

120%

100%

80%

60%

40%

20%

0%

Proactive Latest
Embedded Performance Generation
Management Management Consolidation

Deliver Highest Service Quality with Lowest Risk & Effort

27 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Consolidation ROI by Tiers
Greatest Consolidation, Maximum ROI

ROI Database Schema


Cloud
Database

OS

Infrastructure Storage
Cloud
Servers
Consolidation
28 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Database Consolidation
Full Support Across Entire Consolidation Lifecycle

Real
Consolidation
Planner/Advisor
PLAN TEST Consolidation
Testing

Database
Consolidation
CDB &
Pluggable Pluggable
Databases TUNE MIGRATE Database
Performance
Tuning

29 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Pluggable Databases
Database Consolidation Using Oracle Database 12c

Schemas
Container Database

Pluggable DBs Users, Roles &


CRM ERP
Seed HR
Services
DB

Data Dictionary
Managed Globally
PDBAs
by CDBA and
Locally by PDBAs Tablespaces

30 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Management of Pluggable Databases
Separation of Duties—CDBA vs. PDBA

Administration
Performance Backup &
& Tuning Recovery

Storage Users & SQL and Resource


Migration System
Management Roles Session Management

CDB Only CDB Management: PDB Management:


CDB and PDB Holistic database and instance Application centric management
management

31 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Testing

32 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Getting onto the Cloud
Real Application Testing

ERP

Container Database

CRM

ERP CRM DW

DW

33 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Consolidated Database Replay
Maximize ROI while Reducing Effort and Risk

SALES • Enables DB consolidation


testing
HR • Allows workload captured
on different databases to
ERP
be replayed concurrently

Consolidated • Works for schema


CRM Workload consolidated databases or
Replay pluggable databases
Workload

34 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Workload Scale Up for Capacity Planning
SALES

HR

ERP

CRM

• Enables capacity planning by scaling up workload replay


• Time-shifting: Align workload peaks for maximum concurrency
• Workload folding: Split single capture into multiple pieces and replay them concurrently
• Schema duplication: Duplicate and replay workload in each schema concurrently

35 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Workload Scale Up for Capacity Planning

Workload Folding

8 9 10 11 12 13 14 15 16

• Enables capacity planning by scaling up workload replay


• Workload folding: Split single capture into multiple pieces and replay them concurrently

36 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Management
Extras

37 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.


Enterprise Manager Cloud Control 12c
Support for Pluggable Databases

38 Copyright © 2012, Oracle and/or its affiliates. All rights reserved.


39 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.
Graphic Section Divider

40 Copyright © 2013 Oracle and/or its affiliates. All rights reserved.

You might also like