Escolar Documentos
Profissional Documentos
Cultura Documentos
Kevin C. Patterson
Solution Architect
The following is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decisions.
The development, release, and timing of any
features or functionality described for Oracle’s
products remains at the sole discretion of Oracle.
Agenda
Enterprise
Manager
Application Management
Application Service
Configuration
Automation Performance Level
Management
Management Management
CMDB
(Discover & Reconcile)
Oracle10g Enterprise Manager
Architecture
Grid Control
Console
HTTP(S) Firewall
HTTP(S)
HTTP(S)
10g/11g DatabaseOracle 10g/11g 10g Application Server
Oracle 8i/9i OS/ Third-Party Oracle 10g
Control Console Database Control Console
Database Application Application
Server Server Server
Deployment Options
Grid Control vs. Database Control
Enterprise Manager agent One per host in separate home One per 10g database home
Monitoring
Enterprise Health Status Automation - Job System
Targets Availability Create Job
All Targets Alerts: Critical. Warning, Monitor Job Status
Collection Errors Job Search
All Target Jobs Status
Host/DB Performance Overview EM Framework
Real Time Performance Monitoring Create/Delete EM Administrators
Application Server Monitoring Manage Preferred Credentials
Create/Modify/Delete Roles
Create/Modify/Delete Preferences
Administration SDK (Extensibility)
Database Administration Enterprise Reporting
Create/Manage Groups
Application Server Administration
8
Oracle Enterprise Manager 10g
Management For Today’s Data Center
Applications
• Configuration Management
• Service Level Management
Middleware
User-Defined Metrics
Oracle Grid Control 10.2.0.4
Why
• To protect confidential data in test
environments when the data is used
LAST_NAME SSN SALARY
by developers or offshore vendors ANSKEKSL 111—23-1111 40,000
• When customer data is shared with 3rd BKJHHEIEDK 111-34-1345 60,000
parties without revealing personally KDDEHLHESA 111-97-2749 80,000
identifiable information FPENZXIEK 111-49-3849 45,000
10gR4
Enterprise Manager
Data Masking Pack
k
s
a
M Test
Clone Clone
Test
Production Staging
Major features
• Automatic database referential
integrity when masking primary keys
• Implicit – database enforced
• Explicit – application enforced
• Data mask format library
• View sample data before masking
• Application masking templates
• Define once; execute multiple times
Application Management is critical
Reduce time to
Applications resolution
• Configuration Management
• Diagnose problems
• Service Level Management in production
Middleware
Adaptive
Auto-Tuning
d
Integrate
Advisory
t
Low Impac
Instrumentation
Replication
Recovery
RAC
Apps/SQL
Memory
Backup
Storage
Schema
Manageability Comparison of
Oracle Database 9i, 10g, and
11g
100%
75%
9i
50% 10g
11g
25%
0%
T ime Steps
Summary
Oracle 9i vs. 10g Oracle 10g vs. 11g
44% less time 26% less time
47% fewer steps 31% fewer steps
ADDM Enhancements
ADDM for RAC
Database-Level ADDM
Evaluate
Implement Recommendations
one hour
DBA
ADDM Invoke
Advisor SQL Tuning
AWR SQL Tuning Advisor
Candidates
Some meaningful automation,
but the DBA is still required
Automatic SQL Tuning in Oracle
Database 11g
Implement Test SQL Profiles
SQL Profiles
Workload
Generate
Recommendations
Choose
Candidate
SQL SQL Tuning
one Candidates
week It’s Automatic!
View Reports /
AWR Control
DBA Process
Partition Advisor
SQL Access Advisor:
Recommendations
SQL Access
Advisor
SQL cache
Workload
Hypothetical
STS
Filter
Options
DBA
Alert DBA
Auto incident creation
1 2 Targeted health checks
First failure capture Assisted SR filling
No Known
DBA bug?
Yes
EM Support Workbench:
4 Package incident info EM Support Workbench:
Data Repair
Apply patch / Data Repair DBA
3
Problems and Incidents
Problem ID
Critical
Error Problem
Problem
Incident Status
Aut Key
o ma
tica Collecting
Flood l ly
control Ready Automatic
Incident Tracking
transition
nu ally Incident ID
Data-Purged
Ma
Closed
DBA
Traces
ADR
MMON Auto-purge
Non-critical
Error
Package to be
sent to
Oracle Support
Incident Packaging Service
SQL Test Case Builder
Business Requirement
• Bug resolution
• Test case required for fast bug resolution
• Not always easy to provide a test case
• What information should be provided?
• How much data is need?
• Getting the test case to Oracle can be tricky
Solution
• Oracle automatically creates a test case
• Collects necessary information relating to a SQL incident
• Collected data is packaged to be sent to Oracle
• Collected data allows a developer to reproduce the problem
Automatic Diagnostic Repository
DIAGNOSTIC_DEST
Support Workbench
$ORACLE_BASE BACKGROUND_DUMP_DEST
CORE_DUMP_DEST
USER_DUMP_DEST
$ORACLE_HOME/log
ADR
Base
diag
rdbms
DB
Name
ADR metadata
SID
Home
incdir_1 … incdir_n
ADRCI
log.xml
V$DIAG_INFO
alert_SID.log
Recovery/ Repair
Automation
Data Recovery Advisor
Investigation
common
Time • Largest part of downtime is:
• Investigating the problem, planning a solution
• Data Recovery Advisor
• Automates investigation, reports all problems
Planning • Intelligently determines plan for recovery
Time • Handles multiple failure situations
Recovery • Presents only feasible recovery options
Time
• Are there backups, is there a standby?
• Ranked by repair time and data loss
Time to Repair • Can automatically apply recovery plan
Business Requirement
The most common types of SQL problems - exception, performance
regression etc., are hard to diagnose
A lot of time is spent trying to reproduce the problem
If a workaround is found it has to be applied to entire system
Solution
• Advisor
• Investigates the incident locally
• Automatically determines the root cause
• Provides a workaround (SQL Patch) for just the effected SQL
• If not, sends necessary diagnostic information to Oracle
SQL Repair Advisor Flow
SQL Generate
statement Execute Statement incident in ADR
crashes automatically
Trace files
SQL patch
generated SQL statement
patched
Learn More
Technology Overview
• Visit:
• www.oracle.com/enterprise_manager
• www.oracle.com/database
• View Whitepapers and webinars