Presentation is loading. Please wait.

Presentation is loading. Please wait.

Michael Sit Solution Specialists Manager Oracle Corporation.

Similar presentations


Presentation on theme: "Michael Sit Solution Specialists Manager Oracle Corporation."— Presentation transcript:

1 Michael Sit Solution Specialists Manager Oracle Corporation

2 Database Manageability
Oracle Database 10g Database Manageability

3 Manageability Vision Self-Tuning Self-Managing Database

4 Manageability Goal ½ Cost

5 Where DBA’s spend their time
Install 6% Create & Configure 12 % Software Maintenance 6% Load Data 6% Ongoing System Management 55% Source: IOUG 2001 DBA Survey

6 Where DBA’s spend their time
Install 6% Create & Configure 12 % Software Maintenance 6% Load Data 6% Ongoing System Management 55% Source: IOUG 2001 DBA Survey

7 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

8 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

9 Out-of-the-Box Database Control
No separate install Fully functional administration and monitoring after database creation Listener discovery, configuration & monitoring

10 Where DBA’s spend their time
Install 6% Create & Configure 12 % Software Maintenance 6% Load Data 6% Ongoing System Management 55% Source: IOUG 2001 DBA Survey

11 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

12 Where DBA’s spend their time
Install 6% Create & Configure 12 % Software Maintenance 6% Load Data 6% Ongoing System Management 55% Source: IOUG 2001 DBA Survey

13 Ongoing System Management
55% of DBA’s time is spent in ongoing management, monitoring and tuning Performance Diagnosis & Troubleshooting Space & Object Management SQL & Application Tuning System Resource Tuning Backup and Recovery Base on the ranking to help focus 10i SM effort. 2 x IOUG ‘2000 12% - perf 9% - space 8% - sql 7% - instance, object, config ---> 50% 6% - ETL, B&R, install, SW mgmt Source: IOUG 2001 DBA Survey

14 Manageability Challenges - Today
Application & SQL Management Optimizer Stats Response time Throughput Schema/Index System Resource Management CPU Utilization Memory Pools Processes Backup & Recovery Management Tapes, MTTR Disaster Recovery Internal Space Management Table growth trend Space fragmentation External Storage Management Disk Configuration Stripe Size Data Redistribution

15 Oracle Database 10g – Self-Managing Database
Application & SQL Management Storage Management System Resource Management Space Management Backup & Recovery Management Database Management Database Control Intelligent Infrastructure

16 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 Automatic Workload Repository Automatic Maintenance Task Infrastructure Server-generated Alert Infrastructure Advisory Infrastructure Application & SQL Management Storage Management System Resource Management Backup & Recovery Management Space Management Database Management Intelligent Infrastructure

17 Automatic Workload Repository
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 Maintenance Task Infrastructure Server-generated Alert Infrastructure Advisory Infrastructure

18 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 & SQL Management System Resource Space Backup & Recovery Storage Database Management

19 ADDM’s Architecture 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 Snapshots in Automatic Workload Repository Self-Diagnostic Engine Automatic Diagnostic Engine High-load SQL IO / CPU issues RAC issues SQL Advisor System Resource Advice Network + DB config Advice

20 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 Application & SQL Management Storage Management System Resource Management Backup & Recovery Management Space Management Database Management Proven Technology – Cost-based Optimizer Honed in the real world for more than 10 years Execution Plan Selection Comprehensive set of access paths, adaptive search strategy SQL Transformations All cost-based transformations Cost Model and Statistics Automatically gathered object and system (CPU, IO, Caching) statistics Dynamic Runtime Optimizations Automatic memory allocations, automatic degree of parallelism Intelligent Infrastructure

21 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

22 Automatic Tuning Optimizer
High-load SQL Packaged Apps Customizable Apps Identify ‘bad’ SQL Automatic workload capture Automatic identification of high-load SQL by ADDM Top N highest resource-consuming SQL Statements

23 Automatic Tuning Optimizer
High-load SQL Packaged Apps Customizable Apps 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 Automatic Tuning Optimizer Auto SQL Tuning SQL Profile Packaged Apps + Well-tuned SQL

24 Automatic Tuning Optimizer
Packaged Apps Customizable Apps Automatic SQL Analysis Optimizer explains decision points Advises on badly written SQL, stale statistics, bad schema High-load SQL Automatic Tuning Optimizer Auto SQL Analysis Customizable Apps + SQL Advice Well-tuned SQL

25 Automatic Tuning Optimizer
Packaged Apps Customizable Apps SQL Access Advisor Advise on access paths Indexes, Materialized Views, Indexes on Materialized Views Consider entire workload Consider Impact on insert/update/delete High-load SQL Automatic Tuning Optimizer Access Advisor Customizable Apps + Indexes & MVs Well-tuned SQL

26 Automatic Tuning Optimizer
High-load SQL Packaged Apps Customizable Apps Complete SQL Management Automated workload capture, identification of high-load SQL Automatic SQL Tuning Automatic SQL Analysis SQL Access Advisor Automatic Tuning Optimizer Auto SQL Tuning Analysis Access Advisor SQL Profile Packaged Apps + SQL Advice Customizable Apps + Customizable Apps + Indexes & MVs Well-tuned SQL

27 Automatic Tuning Optimizer
High-load SQL Packaged Apps Customizable Apps Complete SQL Management Automated workload capture, identification of high-load SQL Automatic SQL Tuning Automatic SQL Analysis SQL Access Advisor Automatic Tuning Optimizer Auto SQL Tuning Analysis Access Advisor SQL Profile Packaged Apps + SQL Advice Customizable Apps + Customizable Apps + Indexes & MVs Well-tuned SQL

28 System Resource Management
Oracle 9i Resource Manager controls and prioritizes CPU usage Automatic SQL Memory Tuning Application & SQL Management Storage Management System Resource Management Backup & Recovery Management Space Management Database Management Proven Technology – Cost-based Optimizer Honed in the real world for more than 10 years Execution Plan Selection Comprehensive set of access paths, adaptive search strategy SQL Transformations All cost-based transformations Cost Model and Statistics Automatically gathered object and system (CPU, IO, Caching) statistics Dynamic Runtime Optimizations Automatic memory allocations, automatic degree of parallelism Intelligent Infrastructure

29 Automatic Shared Memory Tuning
SQL Cache sort Online Users Large Pool Buffer Cache Java Pool SGA Pool PGA Pool Large Batch Jobs sort Java Pool SQL Cache Large Pool Buffer Cache Automatically resizes with changes in workload Maximize usage of available memory Only 2 memory parameters Self-tune SGA Only 2 memory parameters (dynamic) Continual simulation enables adaptation to changing workload Sub-pool sizes vary with workload Maximizes memory use Advisors for each pool

30 Automatic Space Management
Oracle9i Eliminates external space fragmentations Locally Managed Tablespace Eliminates space allocation contention Automatic Segment Space Management Application & SQL Management Storage Management System Resource Management Backup & Recovery Management Space Management Database Management Automatic Undo Management Improves space usage and concurrency Bye bye Rollback Segments! Locally Managed Tablespaces Along with using uniform extent size, eliminate external space fragmentations Automatic Segment Management Remove free lists contention, reduce internal fragmentations Locally Managed System Tablespace (9iR2) No more excuses! Intelligent Infrastructure

31 Proactive Space Management
Segment running out of space 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

32 Proactive Space Management
Segment running out of space Fragmented Segment Online Segment Shrink Reclaim space from internal fragmentation Improve performance In-place shrinking of tables Wait on DML operations Server-Generated Alerts Online Segment Shrink Capacity Planning

33 Automatic Backup & Recovery Automatic Storage Management
Application & SQL Management Storage Management System Resource Management Backup & Recovery Management Space Management Database Management Automatic Undo Management Improves space usage and concurrency Bye bye Rollback Segments! Locally Managed Tablespaces Along with using uniform extent size, eliminate external space fragmentations Automatic Segment Management Remove free lists contention, reduce internal fragmentations Locally Managed System Tablespace (9iR2) No more excuses! Intelligent Infrastructure

34 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 hardware Portable, high performance cluster file system No volumes: just a pool of storage Partitions total disk space into uniform sized megabyte units Units assigned to a file are tracked using database oriented indexing techniques Indexing allows efficient add/remove of disk to stripe set with automatic rebalancing Data is spread across disks to balance load Integrated mirroring across disks Automatic Storage Management

35 Where DBA’s spend their time
Install 6% Create & Configure 12 % Software Maintenance 6% Load Data 6% Ongoing System Management 55% Source: IOUG 2001 DBA Survey

36 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

37 Scalable Software Maintenance - Automated Software Cloning
Reduce manual labor in software life-cycle From hours to minutes Automate mass provisioning of reference systems Clone to Selected Targets 2 Select Software (and Instances) to Clone 1 3 Update Inventory

38 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 2 Determine Applicability Apply Patch 3 4 Update Inventory 1 Patch Published

39 Scalable Software Maintenance - Automated Best Practice Checks
Security Software installation hardening Excess user privileges Excess services/ports Parameter Usage Space New features

40 ½ Cost - Oracle9i vs. Oracle 10g
2 6 13 1 4 10 Oracle 10g required 44% less time and 47% fewer steps than Oracle9i Result Summary

41 Simplified Creation & Configuration Self-Managing Database
Oracle Database 10g Simplified Creation & Configuration Fast Lightweight Install ½ COST Efficient Data Load Enterprise Configuration Management Self-Managing Database

42 Questions?


Download ppt "Michael Sit Solution Specialists Manager Oracle Corporation."

Similar presentations


Ads by Google