Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Microsoft Access wikipedia , lookup
Tandem Computers wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Oracle Database wikipedia , lookup
Database model wikipedia , lookup
Clusterpoint wikipedia , lookup
Relational model wikipedia , lookup
Microsoft SQL Server wikipedia , lookup
Michael Sit Solution Specialists Manager Oracle Corporation Oracle Database 10g Database Manageability Manageability Vision Self-Tuning Self-Managing Database Manageability Goal ½ Cost 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 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 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 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 Out-of-the-Box Database Control No separate install Fully functional administration and monitoring after database creation Listener discovery, configuration & monitoring 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 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 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 Ongoing System Management 55% of DBA’s time is spent in ongoing management, monitoring and tuning 1. 2. 3. 4. 5. Performance Diagnosis & Troubleshooting Space & Object Management SQL & Application Tuning System Resource Tuning Backup and Recovery Source: IOUG 2001 DBA Survey Manageability Challenges - Today Application & SQL Management Optimizer Stats Response time Throughput Schema/Index System Resource Management Backup & Recovery Management CPU Utilization Memory Pools Processes Tapes, MTTR Disaster Recovery Internal Space Management Table growth trend Space fragmentation External Storage Management Disk Configuration Stripe Size Data Redistribution Oracle Database 10g – Self-Managing Database Application & SQL Management Storage Management Database Control System Resource Management Database Backup & Recovery Management Management Intelligent Infrastructure Space Management Intelligent Infrastructure Automatic Workload Repository Advisory Application & SQL Management Infrastructure – – Storage System Resource Server-generated Alert Management Management Infrastructure Automatic Maintenance Task Space Backup & Recovery Infrastructure Management Database Management Management Automatic Workload IntelligentRepository Infrastructure “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 Advisory Infrastructure Server-generated Alert Infrastructure Automatic Maintenance Task Infrastructure 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 Database Diagnostic Monitor (ADDM) Application & SQL Management Storage Management System Resource Management Backup & Recovery Database Management Space Management Management Intelligent Infrastructure 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 ADDM’s Architecture Snapshots in Automatic Workload Repository Automatic Diagnostic Engine Self-Diagnostic Engine High-load SQL SQL Advisor IO / CPU issues System Resource Advice RAC issues 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 Application and SQL Management Key to efficient SQL execution: Oracle Costbased Optimizer Proven Technology – Application & SQL Management – Storage Management System Resource Management Sophisticated functionality – Backup & Recovery Database Management Space Management Management Over 10 years of production usage Adopted by all top-tier applications vendors – Intelligent Infrastructure – – – 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 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 Automatic Tuning Optimizer Packaged Apps Customizable Apps High-load SQL Identify ‘bad’ SQL – – – Automatic workload capture Automatic identification of highload SQL by ADDM Top N highest resource-consuming SQL Statements Automatic Tuning Optimizer Packaged Apps Customizable Apps High-load SQL Automatic SQL Tuning – Automatic Tuning Optimizer – Auto SQL Tuning – Packaged Apps + SQL Profile – Well-tuned SQL 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 Packaged Apps Customizable Apps Automatic SQL Analysis High-load SQL Automatic Tuning Optimizer Auto SQL Analysis Customizable Apps + SQL Advice Well-tuned SQL – – Optimizer explains decision points Advises on badly written SQL, stale statistics, bad schema Automatic Tuning Optimizer Packaged Apps Customizable Apps SQL Access Advisor High-load SQL – Automatic Tuning Optimizer – Access Advisor – Customizable Apps + Indexes & MVs Well-tuned SQL – Advise on access paths Indexes, Materialized Views, Indexes on Materialized Views Consider entire workload Consider Impact on insert/update/delete Automatic Tuning Optimizer Packaged Apps Customizable Apps Complete SQL Management High-load SQL Automatic Tuning Optimizer Auto SQL Tuning Auto SQL Analysis – Access Advisor – – Packaged Apps + SQL Profile Customizable Customizable Apps Apps + + SQL Indexes & Advice MVs Well-tuned SQL – Automated workload capture, identification of high-load SQL Automatic SQL Tuning Automatic SQL Analysis SQL Access Advisor Automatic Tuning Optimizer Packaged Apps Customizable Apps Complete SQL Management High-load SQL Automatic Tuning Optimizer Auto SQL Tuning Auto SQL Analysis – Access Advisor – – Packaged Apps + SQL Profile Customizable Customizable Apps Apps + + SQL Indexes & Advice MVs Well-tuned SQL – Automated workload capture, identification of high-load SQL Automatic SQL Tuning Automatic SQL Analysis SQL Access Advisor System Resource Management Oracle 9i Application & SQL Management Storage Management System Resource Management Backup & Recovery Database Management Space Management Management Intelligent Infrastructure Resource Manager controls and prioritizes CPU usage Automatic SQL Memory Tuning Automatic Shared Memory Tuning Online Users Large Batch Jobs Buffer Cache Buffer Cache Large Pool Large Pool SQL Cache SQL Cache Java Pool Java Pool sort sort Automatically resizes with changes in workload Maximize usage of available SGA Pool memory Only 2 memory PGA Pool parameters Automatic Space Management Oracle9i Application & SQL Management Storage Management System Resource Management Backup & Recovery Database Management Space Management Management Intelligent Infrastructure Eliminates external space fragmentations – Locally Managed Tablespace Eliminates space allocation contention – Automatic Segment Space Management Proactive Space Management Segment running out of space Capacity Planning ServerGenerated Alerts Automatically monitor, capture space usage at space allocation time efficient Advise and predict space growth trend, fragmentation “Just-in-Time” Alerts on space pressure Proactive Space Management Segment running out of space Fragmented Segment Online Segment Shrink – – Capacity Planning ServerGenerated Alerts Online Segment Shrink – – Reclaim space from internal fragmentation Improve performance In-place shrinking of tables Wait on DML operations Automatic Backup & Recovery Automatic Storage Management Application & SQL Management Storage Management System Resource Management Backup & Recovery Database Management Space Management Management Intelligent Infrastructure Automatic Storage Management Benefits Automatic Storage Management 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 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 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 Scalable Software Maintenance - Automated Software Cloning Reduce manual labor in software life-cycle – From hours to minutes Automate mass provisioning of reference systems 1 Select Software (and Instances) to Clone Clone to Selected Targets 2 3 Update Inventory 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 3 Apply Patch 4 1 Patch Published Update Inventory Scalable Software Maintenance - Automated Best Practice Checks Security – – – Software installation hardening Excess user privileges Excess services/ports Parameter Usage Space New features ½ Cost - Oracle9i vs. Oracle 10g 13 16 Number of Steps 10 10 12 6 8 6 4 4 4 1 2 2 2 2 Oracle9i Oracle 10g 0 Performance Diagnostic SQL Tuning Resource Management (Memory) Space Management Backup & Recovery Storage Management Result Summary Oracle 10g required 44% less time and 47% fewer steps than Oracle9i Oracle Database 10g Simplified Creation & Configuration Fast Lightweight Install Enterprise Configuration Management ½ COST Self-Managing Database Efficient Data Load Questions?