Professional Documents
Culture Documents
Performance
A Practical Approach to Diagnostics and Tuning
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Confidential Oracle Internal/Restricted/Highly Restricted
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Confidential Oracle Internal/Restricted/Highly Restricted
Program Agenda
1
Introduction
New Features
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Program Agenda
1
Introduction
New Features
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
%
52
%
45
%
37
Source: THE RAPIDLY ACCELERATING CLOUD-ENABLED ENTERPRISE: 2015 IOUG Survey On Database Manageability
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Program Agenda
1
Introduction
New Features
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Fundamental Concepts
For a single session
Browse
Books
Read Reviews
For One Book
Add to Cart
Checkout
TIME
9
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
10
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
11
Program Agenda
1
Introduction
New Features
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
12
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Confidential Oracle Internal/Restricted/Highly Restricted
13
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
14
Pre-change Trial
Post-change Trial
Compare SQL
Performance
Analysis Report
15
Optimized
Optimized for use on prod systems
Optimal Trial or Explain Plan mode
Disable multi-executions, full DML execute disabled
Controlled
Per SQL time limits
Change-Aware
Context-aware change testing workflows, such as,
Optimizer gather statistics & Init.ora parameter changes
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
16
Production
Clients
Test
Replay Driver
Storage
Storage
Capture
Process
Replay
Analysis &
Reporting
17
EM solution
ASH Analytics
ADDM
Real-Time SQL Monitoring
SQL Tuning Advisor
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
18
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
19
20
Demo
Using ASH Analytics for identifying
performance issues (4 min)
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal
21
22
23
Automatic / Manual
Compare
Period ADDM
In-depth
performance
comparison across
two periods
Real-Time
ADDM
Hung or extremely
slow databases
Manual
Manual
Enhanced
Real-Time
ADDM
Proactively detect
& diagnose
transient highimpact problems
Built inside the DB
Automatically runs
every 3 seconds
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
24
25
Real-Time ADDM
Automatic real-time problem detection and analysis
Database self-monitors for serious performance issues
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
26
Review SQL Monitor report of the problem SQL for in-depth analysis
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
27
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
28
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
29
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
30
Identifies alternate execution plans using real time and historical performance data
Statistics Analysis
SQL Profiling
Adopt Alternative
Execution Plan
SQL Tuning
Advisor
Administrator
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
31
32
33
OR calling dbms_perf.report_perfhub(.)
function
Single view of DB performance
ADDM, SQL Tuning, Real-Time SQL Monitoring,
ASH Analytics
Switch between ASH analytics, workload view,
ADDM findings and SQL monitoring seamlessly
Supports both real-time & historical mode
Historical view of SQL Monitoring reports
Copyright 2015, Oracle and/or its affiliates. All rights reserved. |
34
Demo
Generating Perfhub Report
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal
35
Program Agenda
1
Introduction
New Features
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
37
ADDM
Automatic Workload
Repository (AWR)
MMON Process
Foreground
Processes
SGA
DBA_HIST Views
In Memory
Statistics
OEM
V$ Views
Background
Processes
SQL*Plus
External Clients
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal
38
AWR
AWR
AWR
AWR
AWR
AWR
PDBs
AWR
CDB
Root
Multitenant Container Database
Copyright 2016, Oracle and/or its affiliates. All rights reserved. |
Enhanced content
More PDB-specific stats are collected and exposed
via v$con_sysstats, v$con_sysmetric,
v$con_sys_time_model
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
40
Solution
In Oracle Database 12.2, AWR framework enhanced to support capture of remote
snapshots from any generic database including Active Data Guard (ADG) databases.
A target catalog database collects snapshots from the remote databases (sources)
Snapshots can be collected automatically or manually
AWR tables on the catalog database accumulate snapshot data from all sources via database links
Source databases must be registered on the catalog via new
DBMS_WORKLOAD_REPOSITORY.REGISTER_REMOTE_DATABASE API
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
41
Standby
dblink_to_primary
All changes are done on primary and propagated from primary to standby by redo apply
Support for PDB level tuning
The tuning task is executed at the standby, with no CPU overhead in primary
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | 42
Classroom Training
Cloud
Learning Subscription
Technology
Applications
Training On Demand
Industries
education.oracle.com
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal
43