42
Michael Sit Solution Specialists Manager Oracle Corporation

Michael Sit Solution Specialists Manager Oracle Corporation

Embed Size (px)

Citation preview

Page 1: Michael Sit Solution Specialists Manager Oracle Corporation

Michael SitSolution Specialists ManagerOracle Corporation

Page 2: Michael Sit Solution Specialists Manager Oracle Corporation

Oracle Database 10gDatabase Manageability

Page 3: Michael Sit Solution Specialists Manager Oracle Corporation

Manageability Vision

Self-Tuning Self-Managing

Database

Page 4: Michael Sit Solution Specialists Manager Oracle Corporation

Manageability Goal

½ Cost

Page 5: Michael Sit Solution Specialists Manager Oracle Corporation

Source: IOUG 2001 DBA Survey

Create & Configure

12 %

Load Data 6%

Ongoing System Management

55%

Software Maintenance

6%

Install 6%

Where DBA’s spend their time

Page 6: Michael Sit Solution Specialists Manager Oracle Corporation

Source: IOUG 2001 DBA Survey

Load Data 6%

Ongoing System Management

55%

Software Maintenance

6%

Install 6%

Create & Configure

12 %

Where DBA’s spend their time

Page 7: Michael Sit Solution Specialists Manager Oracle Corporation

Simplified Installation & Upgrade

Fast, Lightweight Install Automatic Pre & Post Install Validations Configure all administration tools &

components Silent mode for Embedded ISV’s Pre upgrade checks Post upgrade status checks Time estimator Re-startable

Page 8: Michael Sit Solution Specialists Manager Oracle Corporation

Simplified Creation & Configuration

Database Configuration Assistant (DBCA) Greatly reduced database creation time using

pre-configured, ready-to-use database 90% reduction of initialization parameters: < 30

Basic parameters Automatically setup common tasks, e.g. backups Automatically configures LDAP server Automatic Shared Server Set-up Easy Connect Naming

Page 9: Michael Sit Solution Specialists Manager Oracle Corporation

Out-of-the-Box Database Control

No separate install Fully functional

administration and monitoring after database creation

Listener discovery, configuration & monitoring

Page 10: Michael Sit Solution Specialists Manager Oracle Corporation

Source: IOUG 2001 DBA Survey

Load Data 6%

Ongoing System Management

55%

Software Maintenance

6%

Install 6%

Create & Configure

12 %

Where DBA’s spend their time

Page 11: Michael Sit Solution Specialists Manager Oracle Corporation

Efficient Data Load

Oracle Database 10g Data Pump

– 60% faster than Export (single stream)– 15X-20X faster than Import (single stream)– Automatic Parallelism – multiple streams– Re-startable– Size estimation on export dumpfiles

Cross Platform Transportable Tablespaces

Page 12: Michael Sit Solution Specialists Manager Oracle Corporation

Source: IOUG 2001 DBA Survey

Load Data 6%

Ongoing System Management

55%

Software Maintenance

6%

Install 6%

Create & Configure

12 %

Where DBA’s spend their time

Page 13: Michael Sit Solution Specialists Manager Oracle Corporation

Ongoing System Management

55% of DBA’s time is spent in ongoing management, monitoring and tuning

1. Performance Diagnosis & Troubleshooting

2. Space & Object Management

3. SQL & Application Tuning

4. System Resource Tuning

5. Backup and Recovery

Source: IOUG 2001 DBA Survey

Page 14: Michael Sit Solution Specialists Manager Oracle Corporation

Manageability Challenges - Today

External Storage Management

Disk Configuration Stripe Size Data Redistribution

Internal Space Management

Table growth trend Space fragmentation

Backup & Recovery ManagementTapes, MTTR

Disaster Recovery

Application & SQL ManagementOptimizer Stats Response time

Throughput Schema/Index

System ResourceManagement

CPU UtilizationMemory PoolsProcesses

Page 15: Michael Sit Solution Specialists Manager Oracle Corporation

Intelligent Infrastructure

Application & SQLManagement

System ResourceManagement

SpaceManagement

Backup & RecoveryManagement

StorageManagement

Database Control

Database Management

Oracle Database 10g – Self-Managing Database

Page 16: Michael Sit Solution Specialists Manager Oracle Corporation

Intelligent Infrastructure Automatic Workload

Repository – “Data Warehouse” of the

Database– Code instrumentation

Automatic Maintenance Tasks

– Pre-packaged, resource controlled

Server-generated Alerts– Push vs. Pull, Just-in-time,

Out-of-the-box Advisory Infrastructure

– Integrated, uniformity

Intelligent Infrastructure

Application & SQLManagement

System ResourceManagement

SpaceManagement

Backup & RecoveryManagement

StorageManagement

Database Management

Automatic Workload Repository

Automatic Maintenance Task Infrastructure

Server-generated Alert Infrastructure

Advisory Infrastructure

Page 17: Michael Sit Solution Specialists Manager Oracle Corporation

Automatically collect and compute important statistics, SQL workload, feature usage

Periodically flush snapshots to disk

Primarily build for automating internal components

Enable real-time and accurate self-management

Automatic Workload Repository

Automatic Workload Repository

Automatic Maintenance Task Infrastructure

Server-generated Alert Infrastructure

Advisory Infrastructure

Page 18: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Database Diagnostic Monitor (ADDM)

Performance expert in a box Provides database-wide

performance diagnostic, including RAC

Automatically runs at every capture of workload repository snapshot

Provides impact and benefit analysis

Provides Information vs. raw data

Integrates all components using the Time Model with common currency

Intelligent Infrastructure

Application & SQLManagement

System ResourceManagement

SpaceManagement

Backup & RecoveryManagement

StorageManagement

Database Management

Page 19: Michael Sit Solution Specialists Manager Oracle Corporation

ADDM’s Architecture

SQLAdvisor

High-load SQL

IO / CPU issues

RAC issues

Automatic Diagnostic Engine

Snapshots in

Automatic Workload

Repository

Self-Diagnostic Engine

System Resource

Advice

Network + DB config

Advice

Instrument database code paths to produce Time & Wait Model

Self-Diagnostic Engine in the database – Key to database performance

Classification Tree - based on decades of Oracle performance tuning expertise

Real-time results Pinpoints root cause and

non-problem areas Runs manually also

Page 20: Michael Sit Solution Specialists Manager Oracle Corporation

Application and SQL Management

Key to efficient SQL execution: Oracle Cost-based Optimizer

Proven Technology– Over 10 years of production

usage– Adopted by all top-tier

applications vendors

Sophisticated functionality– Automatically-gathered object

and system (CPU, IO, Caching) statistics

– Comprehensive set of access paths, adaptive search strategy

– Cost-based transformations– Automatic allocation of memory

and parallelism– Versioned optimizer statistics

Intelligent Infrastructure

Application & SQLManagement

System ResourceManagement

SpaceManagement

Backup & RecoveryManagement

StorageManagement

Database Management

Page 21: Michael Sit Solution Specialists Manager Oracle Corporation

Remaining Challenges How to quickly find optimal plans for complex

queries? – Sub-optimal plans caused by correlations, complex

predicate selectivity What is “bad” SQL? How to work-around ‘bad’ SQL in packaged

applications? How to ‘globally’ optimize an entire application’s

SQL statements? – Adding an index may help one statement, but what is

the impact on the rest of the application

Page 22: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Tuning Optimizer

Identify ‘bad’ SQL– Automatic workload

capture– Automatic

identification of high-load SQL by ADDM

– Top N highest resource-consuming SQL Statements

High-load SQL

PackagedApps

CustomizableApps

Page 23: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Tuning Optimizer

Automatic SQL Tuning

– Learn from past executions

– Dynamic sampling, partial execution techniques

– Profile the SQL statement to feedback to optimizer

– No change to SQL text

SQLProfile

PackagedApps

+

Well-tuned SQL

High-load SQL

PackagedApps

Customizable Apps

Automatic Tuning Optimizer

Auto SQL Tuning

Page 24: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Tuning Optimizer

Automatic SQL Analysis– Optimizer explains

decision points– Advises on badly

written SQL, stale statistics, bad schema

SQLAdvice

Customizable Apps

+

Well-tuned SQL

High-load SQL

PackagedApps

Customizable Apps

Automatic Tuning Optimizer

Auto SQL Analysis

Page 25: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Tuning Optimizer

SQL Access Advisor– Advise on access

paths– Indexes, Materialized

Views, Indexes on Materialized Views

– Consider entire workload

– Consider Impact on insert/update/delete

Indexes & MVs

Customizable Apps

+

Well-tuned SQL

High-load SQL

PackagedApps

Customizable Apps

Automatic Tuning Optimizer

AccessAdvisor

Page 26: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Tuning Optimizer

Complete SQL Management

– Automated workload capture, identification of high-load SQL

– Automatic SQL Tuning– Automatic SQL

Analysis – SQL Access Advisor

SQLProfile

PackagedApps

+

SQLAdvice

Customizable Apps

+Indexes &

MVs

Well-tuned SQL

High-load SQL

PackagedApps

Customizable Apps

Automatic Tuning Optimizer

Auto SQL Tuning

Auto SQL Analysis

AccessAdvisor

Customizable Apps

+

Page 27: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Tuning Optimizer

Complete SQL Management

– Automated workload capture, identification of high-load SQL

– Automatic SQL Tuning– Automatic SQL

Analysis – SQL Access Advisor

SQLProfile

PackagedApps

+

SQLAdvice

Customizable Apps

+Indexes &

MVs

Well-tuned SQL

High-load SQL

PackagedApps

Customizable Apps

Automatic Tuning Optimizer

Auto SQL Tuning

Auto SQL Analysis

AccessAdvisor

Customizable Apps

+

Page 28: Michael Sit Solution Specialists Manager Oracle Corporation

System Resource Management

Oracle 9i Resource Manager

controls and prioritizes CPU usage

Automatic SQL Memory Tuning

Intelligent Infrastructure

Application & SQLManagement

System ResourceManagement

SpaceManagement

Backup & RecoveryManagement

StorageManagement

Database Management

Page 29: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Shared Memory Tuning

Automatically resizes with changes in workload

Maximize usage of available memory

Only 2 memory parameters

SGA Pool

PGA Pool

Large Batch Jobs

sort

Java Pool

SQL Cache

Large Pool

Buffer Cache

SQL Cache

sort

Online

Users

Large Pool

Buffer Cache

Java Pool

Page 30: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Space Management

Oracle9i Eliminates external space

fragmentations – Locally Managed

Tablespace Eliminates space allocation

contention– Automatic Segment

Space Management Intelligent Infrastructure

Application & SQLManagement

System ResourceManagement

SpaceManagement

Backup & RecoveryManagement

StorageManagement

Database Management

Page 31: Michael Sit Solution Specialists Manager Oracle Corporation

Proactive Space Management

Automatically monitor, capture space usage at space allocation time - efficient

Advise and predict space growth trend, fragmentation

“Just-in-Time” Alerts on space pressure

Server-Generated

Alerts

Capacity Planning

Segment running out of space

Page 32: Michael Sit Solution Specialists Manager Oracle Corporation

Proactive Space Management

Online Segment Shrink– Reclaim space from

internal fragmentation

– Improve performance

– In-place shrinking of tables

– Wait on DML operations

Server-Generated

Alerts

Capacity Planning

Fragmented Segment

Segment running out of space

Online Segment

Shrink

Page 33: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Backup & Recovery Automatic Storage Management

Intelligent Infrastructure

Application & SQLManagement

System ResourceManagement

SpaceManagement

Backup & RecoveryManagement

StorageManagement

Database Management

Page 34: Michael Sit Solution Specialists Manager Oracle Corporation

Automatic Storage Management - Benefits

Automates daily storage administration

– Automatic I/O tuning– Eliminates disk fragmentation– Automatically selects allocation

policy per Oracle file type Automates storage re-configuration

– Automatic data copy on disk add/drop, no reconfiguring volume and re-striping

– Online migration to new storage hardwareAutomatic Storage

Management

Page 35: Michael Sit Solution Specialists Manager Oracle Corporation

Source: IOUG 2001 DBA Survey

Load Data 6%

Ongoing System Management

55%

Software Maintenance

6%

Install 6%

Create & Configure

12 %

Where DBA’s spend their time

Page 36: Michael Sit Solution Specialists Manager Oracle Corporation

Scalable Software Maintenance – Discover and Analyze Configurations

Complete inventory of all Oracle software– Versions– Patch levels

Oracle product configuration details Search and compare configurations Change tracking Reference configurations

Page 37: Michael Sit Solution Specialists Manager Oracle Corporation

Scalable Software Maintenance - Automated Software Cloning

Reduce manual labor in software life-cycle– From hours to minutes

Automate mass provisioning of reference systems

Update

Inventory

Clone to

Selected Targets

2

3

Select Software (and Instances) to Clone

1

Page 38: Michael Sit Solution Specialists Manager Oracle Corporation

Scalable Software Maintenance - Automated Patch Management Real-time discovery of new patches

– Security patch rapid deployment dramatically reduces vulnerabilities

Automatic staging and application– From hours to minutes

Rolling RAC upgrade

Update

Inventory

Determine

Applicability2

Apply Patch3

4Patch Published1

Page 39: Michael Sit Solution Specialists Manager Oracle Corporation

Scalable Software Maintenance - Automated Best Practice Checks

Security– Software installation

hardening– Excess user

privileges– Excess

services/ports

Parameter Usage Space New features

Page 40: Michael Sit Solution Specialists Manager Oracle Corporation

0

4

8

12

16

Num

ber of

Ste

ps

PerformanceDiagnostic

SQL Tuning ResourceManagement(Memory)

SpaceManagement

Backup &Recovery

StorageManagement

Oracle 10g

Oracle9i2

6

2

13

6

21

42

10

4

10

½ Cost - Oracle9i vs. Oracle 10g

Oracle 10g required 44% less time and 47% fewer steps than Oracle9i

Oracle 10g required 44% less time and 47% fewer steps than Oracle9i

Result SummaryResult Summary

Page 41: Michael Sit Solution Specialists Manager Oracle Corporation

Oracle Database 10gSimplified Creation & Configuration

Self-Managing Database

Enterprise Configuration Management

Efficient Data Load

Fast Lightweight Install ½ COST

Page 42: Michael Sit Solution Specialists Manager Oracle Corporation

Questions?