Duration
5 days
What you will learn
In the Oracle Database 12c: Performance Management and Tuning course, learn about the performance analysis and tuning tasks expected of a DBA: proactive management through built-in performance analysis features and tools, diagnosis and tuning of the Oracle Database instance components, and diagnosis and tuning of SQL-related performance issues.
Learn To:
Use the Oracle tuning methodology.
Use Oracle-supplied tools for monitoring and diagnosing SQL and instance performance issues.
Use database advisors to proactively correct performance problems.
Identify and tune problem SQL statements.
Monitor instance performance by using Enterprise Manager.
Tune instance components.
Benefits To You:
The DBA will analyze the SQL performance with available tools. The DBA will be introduced to various methods of identifying the SQL statements that require tuning and the diagnostic tools used to find ways to improve performance.
This will include the use of statistics, profiles to influence the optimizer, and using the SQL Advisors.
Maintain SQL Performance
A major task of DBAs is to maintain SQL performance across changes. This course introduces Database Replay and
SQL Performance Analyzer which help the DBA test and minimize the impact of change.
Influence Instance Behavior
Instance tuning uses the same general method of observing a problem, diagnosing the problem, and implementing a solution. The instance tuning lessons cover the details of major tunable components and describe how you can influence the instance behavior. For each lesson, we will examine the relevant components of the architecture.
The course only discusses the architecture to the level required to understand the symptoms and solutions. More detailed explanations are left to other courses, reference material, and the Oracle documentation.
Audience
Data Warehouse Administrator
Database Administrators
Related Training
Required Prerequisites
Oracle Database 12c: Administration Workshop
Suggested Prerequisites
Oracle Database 12c: Install and Upgrade Workshop
Course Objectives
Use the Oracle Database tuning methodology appropriate to the available tools
Utilize database advisors to proactively tune an Oracle Database Instance
Use the tools based on the Automatic Workload Repository to tune the database
Diagnose and tune common SQL related performance problems
Diagnose and tune common Instance related performance problems
Use Enterprise Manager performance-related pages to monitor an Oracle Database
Gain an understanding of the Oracle Database Cloud Service
Introduction
- Topics Not Included in the Course
- How to Tune
- Who Tunes?
Course Objectives
- Course Agenda
- Tuning Methodology
- Course Organization
- What Does the DBA Tune?
- Basic Tuning Diagnostics
- Time Model
- DB Time
- Top Timed Events
- Tuning Objectives
- CPU and Wait Time Tuning Dimensions
- Dynamic Performance Views
- Performance Tuning Tools
- Performance Tuning Diagnostics
- Using Automatic Workload Repository
- Enterprise Manager Cloud Control and AWR
- Automatic Workload Repository Overview
- Compare Periods
- Automatic Workload Repository Data
- Snapshots
- Reports
- Defining the Scope of Performance Issues
- Defining the Problem
- Common Tuning Problems
- Top SQL Reports
- Tuning During the Life Cycle
- Performance Versus Business Requirements
- ADDM Tuning Session
- Limiting the Scope
- Setting the Priority
- Using Metrics and Alerts
- Metrics and Alerts Overview
- Setting Thresholds
- Benefits of Metrics
- Limitation of Base Statistics
- Viewing Metric History Information
- Server-Generated Alerts
- Metrics and Alerts Views
- Viewing Histograms
- Using Baselines
- Creating AWR Baselines
- Automatic Workload Repository Baselines
- Managing Baselines with PL/SQL
- Comparative Performance Analysis with AWR Baselines
- AWR Baseslines
- Baselines in Performance Page Settings
- Moving Window Baseline
- Baseline Templates
- Using AWR-Based Tools
- Using Compare Periods ADDM
- Active Session History
- New or Enhanced Automatic Workload Repository Views
- ADDM Performance Monitoring
- Real-time ADDM
- Emergency Monitoring
- Automatic Maintenance Tasks
- Real-Time Database Operation Monitoring
- Use Cases
- Database Operation Concepts
- Identifying a Database Operation
- Defining a Database Operation
- Scope of a Composite Database Operation
- Enabling Monitoring of Database Operations
Overview
- Identifying, Starting, and Completing a Database Operation
- Monitoring Applications
- Service Types
- Services and Pluggable Databases
- Managing Services in a Single-Instance Environment
- Using Services with Client Applications
- Service Attributes
- What is a Service?
- Where are Services Used?
- Creating Services
- Identifying Problem SQL Statements
- Uses of Execution Plans
- Role of the Oracle Optimizer
- Top SQL Reports
- Identifying Bad SQL
- SQL Statement Processing Phases
- What is an Execution Plan?
- Methods for Viewing Execution Plans
- SQL Monitoring
- Influencing the Optimizer
- Changing Optimizer Behavior
- Cardinality and Cost
- Enabling Query Optimizer Features
- Controlling the Behavior of the Optimizer with Parameters
- Optimizer Statistics
- Selectivity
- Extended Statistics
- Functions of the Query Optimizer
- Reducing the Cost of SQL Operations
- Extent Management
- Data Storage
- Index Maintenance
- Space Management
- Reducing the Cost
- Table Maintenance for Performance
- Table Reorganization Methods
- SQL Access Advisor
- Using SQL Performance Analyzer
- Real Application Testing: Use Cases
- SQL Performance Analyzer Task Page
- Creating a SQL Performance Analyzer Task
- Capturing the SQL Workload
- Parameter Change
- Real Application Testing: Overview
- SQL Performance Analyzer: Process
- SQL Performance Analyzer: Tasks
- SQL Performance Management
- Maintaining SQL Performance
- Automated Maintenance Tasks
- Deferred Statistics Publishing
- Maintaining Optimizer Statistics
- Setting Statistic Preferences
- Statistic Gathering Options
- Restore Statistics
- Automatic SQL Tuning
- Using Database Replay
- System Architecture
- Using Database Replay
- The Big Picture
- Replay Options
- Replay Analysis
- Capture Considerations
- Replay Considerations
- Replay Considerations: Preparation
- Tuning the Shared Pool
- Latch and Mutex
- Avoiding Hard Parses
- Sizing the Shared Pool
- Shared Pool Architecture
- The Library Cache
- Diagnostic Tools for Tuning the Shared Pool
- Reducing the Cost of Soft Parses
- Shared Pool Operation
- Tuning the Buffer Cache
- Buffer Cache Tuning Goals and Techniques
- Oracle Database Architecture: Buffer Cache
- Working Sets
- Buffer Cache: Highlights
- Database Buffers
- Buffer Hash Table for Lookups
- Buffer Cache Performance Solutions
- Buffer Cache Performance Symptoms
- Tuning PGA and Temporary Space
- Performance Impact
- Configuring Automatic PGA Memory
- Automatic PGA Memory
- Limiting the size of the Program Global Area (PGA)
- SQL Memory Usage
- SQL Memory Manager
- Setting PGA_AGGREGATE_TARGET Initially
- Automatic Memory
- Dynamic SGA
- SGA Sizing Parameters: Overview
- Increasing the Size of an SGA Component
- Memory Advisories
- Granule
- Manually Adding Granules to Components
- Oracle Database Architecture
- Automatic Shared Memory Management: Overview
- Performance Tuning Summary with Waits
- Commonly Observed Wait Events
- Symptoms
- Additional Statistics
- Top 10 Mistakes Found in Customer Systems
- Oracle Database Cloud Service: Overview
- Accessing the Oracle Database Cloud Service Console & Automated Database Provisioning
- Managing Network Access to Database as a Service & Scaling a Database Deployment
- Performance Management in the Database Cloud Environment
- Managing the Compute Node Associated With a Database Deployment
- What Can be Tuned in a DBCS Environment?
- Database as a Service Architecture, Features and Tooling
- Performance Monitoring and Tuning
- Software Editions: Included Database Options and Management Packs
Programme scope, delivery arrangements and suitability are confirmed during enquiry.