Make Single Database Easy to Manage Make RAC Easy Oracle Collab Suite Oracle eBus Suite to Manage Enable the Grid For Application ISV Partners For End Users For All Types of Workloa
Trang 1ORACLE
Trang 2Session id: 40090
Oracle Database 10g : The Self-Managing Database
Richard Sarwal Vice President
Oracle Corporation
ORACLE
ORACLE
Trang 3Agenda
Key Manageability Challenges Oracle's Management Approach Manageability Revolution - Oracle Database 10g
What Does It Mean to You?
Q&A
ORACLE
Trang 4Why Is
Manageability
important?
Trang 5Managing IT is Managing the Business
For Customers Increase in Size & Complexity High Administration Cost
Unacceptable Failure Cost
For ISV Partners
Increase in Deployment Complexity
Increase in Development Cost High Support Cost
and it is getting narder!
ORACLE
Trang 6Oracle’s
Vianagement
Approach
Trang 7Complete Manageability Solution
3
Oracle ¡AS
Trang 8
Make Single Database Easy to Manage
Make RAC Easy Oracle Collab Suite Oracle eBus Suite
to Manage Enable the Grid For Application
ISV Partners For End Users
For All Types of Workload
Trang 9
Manageability
Revolution
ORACLE 1 0 g
DATABASE
Trang 10Unprecedented Development Effort
single, biggest effort
~ 50% of the architects in the organization
—~ 200+ engineers
~ Gathered customers feedback
— Active, focused development
— Not just research!
Wide-spread effort
— Projects span entire technology stack Long term commitment
ORACLE
Trang 11Where DBA’s Spene their time
Trang 12Where DBA’s siaeias their time
Trang 13Software Installation
Fast lightweight install
Major redesign of installation process
single CD, 20 Minutes
CPU, memory, disk space consumption greatly reduced Extremely lightweight client install (3 files) using Oracle
Instant Client
Automation of All Pre and Post Install Steps
etc
OMS, OID etc.) for automatic startup and shutdown
Enhanced silent install
ORACLE
Trang 14Simplified Creation &
Easy Connect Naming
ORACLE
Trang 15Basic Parameters
compatible cluster database db create online log dest_n processes db block size db create file dest
pga_aggregate_ target control files log archive dest _state_n nls language db name remote_login_passwordfile nis_ territory db recovery file dest db unique name
db domain remote_listener shared servers db recovery file dest size instance_ number
ORACLE
Trang 16ORACLE
Trang 17Out-of-the-Box Database Control
Space Usage i High Availability
Ta a ine R Estimated Crash Recovery Tir nds) 10
oracle.com Host Filesystem
ORACLE
Trang 18Seamless Out-of-the-Box
Experience
Fast, lightweight Install simplified Create & Configure oimplified Upgrade
Out-of-the-box Database Control
ORACLE
Trang 19Where DBA’s bà their time
Trang 20Efficient 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 dumprfiles
Cross Platform Transportable Tablespaces
ORACLE
Trang 21Where DBA’s bà their time
Trang 22Ongoing 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
Source: IOUG 2001 DBA Survey ORACLE
Trang 23Manageability Challenges - Today
Application & SQL Management
Optimizer Stats Response time Throughput Schema/Index
re Resou >
Management
Disaster Recovery yy \ Processes
Internal Space Management
Trang 24Oracle Database 10g — Self-Managing Database
Trang 25oe dhe xả:
Advisory Infrastructure
— Integrated, uniformity
ORACLE
Trang 26Automatic Database
Diagnostic Monitor (ADDM)
Performance expert in a box
` tnïk — Integrate all components
Intelligent Nhi” Runs proactively
Real-time results using the Time Model
Trang 27Instrument database code
paths to produce Time &
Active Session History — snapshot of session activity
every second
Runs proactively & manually
ORACLE
Trang 28Performance Diagnostic: Before and Now
Look at wait events
see “parse time elapsed” > “parse time cpu” and #hard parses greater than normal
Enable cursor sharing
ORACLE
Trang 29a
Key to efficient SQL execution:
Oracle Cost-based Optimizer
Comprehensive set of access paths, adaptive search strategy
Cost-based transformations
Automatic allocation of memory and parallelism Versioned optimizer statistics
Trang 30impact on the rest of the application
ORACLE
Trang 31Automatic Tuning Optimizer
SQL Statements
ORACLE
Trang 32Automatic Tuning Optimizer
Trang 33Automatic Tuning Optimizer
Packaged Customizable Apps Apps
Automatic Tuning Optimizer
ụ
Well-tuned SQL
ORACLE
Trang 34Automatic Tuning Optimizer
Packaged Customizable Apps Apps
Consider Impact on insert/update/delete
ORACLE
Trang 35Automatic Tuning Optimizer
Packaged Customizable Apps Apps
SQL Access Advisor
ORACLE
Trang 36SQL Tuning: Before and Now
Look at wait events See wait on DB scattered read
Determine scope — system wide, module-dependent, user-
« Identifying sessions with high DB scattered read waits and SQL Tunin
Identify the problem Contact packaged app vendor Produce test case for vendor Vendor produces patch/upgrade Patch/upgrade installed in customer's next maintenance cycle
ORACLE
Trang 37System Resource Management
ỐC N Oracle 9i
Storage ‘ System Resource Oe us5ag€
se Nf _ » Automatic SQL
Backup & Recovery Space Management Database“ Management
Management
Intelligent Infrastructure
oe
Trang 38Automatic Shared Memory
Single Parameter
makes It easier to use
Helps eliminate out
of memory errors
Can help improve
performance
ORACLE
Trang 39
SGA Memory Management: Before and Now
Scenario: Out-of-memory Errors (ORA-4031)
Before
Launch Buffer Pool Advisor Examine output; check if Buffer Pool is over allocated
If so, reduce size of Buffer Pool
Launch Shared Pool Advisor Examine output; check if Shared Pool is under allocated
If so, increase size of Shared Pool
Oracle10q
(This space is intentionally left blank — No manual steps needed with Automatic Shared Memory Tuning)
ORACLE
Trang 40
Automatic Space Management
Backup & Recovery Space
Trang 41Proactive Space Management
Advise and predict space growth trend, fragmentation
“Just-in- Time’ Alerts on Space pressure
ORACLE
Trang 42Proactive Space Management
Improve performance In-place shrinking of
tables
Wait on DML operations
ORACLE
Trang 43Space Management : Before and Now
Before
Check to see which objects in the tablespace have pockets
of wasted space due to deletion:
1 Create a script that looks at DBA_TABLES view to compare the total space allocated for each object (BLOCKS * DB_BLOCK_ SIZE) in a tablespace to the estimated space used by the object (AVG ROW LEN
*“NUM_ ROWS) (assumes objects have been analyzed) Review script output and identify target objects for reorganization
Identify/Create “scratch” tablespace For each object to be reorganized, use the Enterprise Manager Reorg wizard to recreate each object along with its
Oracle10c
Launch Segment Advisor to advise on which object(s) to shrink
Accept the recommendations
to shrink the objects online and in-place
ORACLE
Trang 44
Automatic Backup & Recovery
Backup & Recovery Space
Management tabase' Management
Trang 45Automatic Backup and Recovery
Fully automatic disk based backup and recovery
— Set and Forget
Nightly incremental backup rolls forward recovery area backup
— Changed blocks are
Trang 46— Flashback Table restores rows
in a set of tables to time
¢ Uses UNDO in database
dropped table or a index
¢ Recycle bin for DROPs
Trang 47Database Recovery: Before and Now
Scenario: Recovering mistakenly dropped a Table
Before
(Tablespace Point-in-time Recovery)
Prepare an auxiliary instance by first creating an Oracle password file
Create parameter file for auxiliary instance
Start auxiliary instance in NOMOUNT mode using SQL*Plus
Using RMAN interface to perform TSPITR Using RMAN, connect to target database and bring tablespace in question online
Shutdown the auxiliary instance
Delete auxiliary instance data files, control files, and redo log
Oracle10g
single Command Recovery:
FLASHBACK TABLE
<table name> TO BEFORE DROP ;
ORACLE
Trang 48
Automatic Storage Management
Trang 49Automatic Storage Management - Benefits
Automatic Storage
Management
Automatic I/O tuning Eliminates disk fragmentation
Automatically selects allocation policy per Oracle file type
Automatic data copy on disk add/drop, no reconfiguring volume and re-striping Online migration to new storage hardware
ORACLE
Trang 50Open Interfaces for ISV Partners
Trang 51Where DBA’s bà their time
Trang 53Simplified Creation & Configuration
=
Ly S7
Self-Managing Database
%= Efficient
= Data Load
ORACLE
Trang 54Oracle 10g : Twice as Manageable as Oracle9i
Trang 55What Does it Viean to You?
Trang 56DBA of the Future Does
sleep at nights!
weekends off!
databases applications: OLTP, DW, OCS, iAS users, larger databases
mission-critical applications proactive and strategic
important and valuable!
ORACLE
Trang 57LESS Cost for Businesses
For customers
Less Administration Cost Less Capital Expenditure Less Failures
For Application ISV Partners
Less Deployment Cost
Less Development Cost Less Support Cost
ORACLE
Trang 58Next Steps
Recommended hands-on labs
Oracle Database 10g : Manage the Oracle Environment Hands-On Lab
Campground Demos
self-Managing Database : Easy Upgrade
oelf-Managing Database: Invisible Installation & Deployment oelf-Managing Database: Proactive Performance
Trang 59The Invisible Oracle: Deploying Oracle Database in
Embedded Environment (Wednesday, 4:30 PM) The Self-Managing Database: Proactive Space and schema Object Management (Thursday, 8:30 AM) The Self-Managing Database: Automatic Health Monitoring (Thursday, 11 AM)
ORACLE
Trang 60Reminder —
please complete the
OracleWorld online session
SUFVey
Session ID : 40090
Thank you
ORACLE
Trang 61QUESTIONS
ANSWERS
ORACLE
Trang 62ORACLE