Documente Academic
Documente Profesional
Documente Cultură
Edward Hayrabedian
Semantec Bulgaria OOD
Agenda
Oracle 10g and Oracle 9i Database Manageability Comparison
Self-Managing Database
Automatic Workload Repository (AWR)
Features
Configuration
Collection Process
Database Statistics
Metrics
Automatic Database Diagnostic Monitor (ADDM)
Features
Problems which can be detected
Using ADDM
Drawbacks
Test cases & Examples
Using literals instead of bind variables
Concurrent updates
Oracle 10g and Oracle 9i Database
Manageability Comparison
How to compare?
A set of basic and typical DBA tasks are measured on a common set of metrics
Category Weight
Installation and Simple “Out-of-Box” Setup 13%
Day-to-Day Database Administration 27%
Backup & Recovery 6%
Performance Diagnostics & Tuning 34%
Miscellaneous 20%
Examples #1 and #2
Automatic Workload Repository (AWR)
Collection Process
Collection Process –
the new MMON BG process
captures in-memory statistics
from SGA and transfers them
to the Workload repository
Time model –
Time is used as a common currency for comparing across modules. Most of the
advisors report their findings in time
The new most important “db_time” statistics –
The total time spent in db calls. The reduction of db_time can be used as a measure of
the effectiveness of the tuning efforts
Automatic Workload Repository (AWR)
Metrics
Metrics – delta values between the snapshots
begin
for i in 1..300 loop
update t set x = i;
dbms_lock.sleep(1);
commit;
end loop;
end;
/
Test Case #2 – Concurrent Updates
Movie #6 - Reactive tuning/monitoring
References
Oracle Database 10g and Oracle9 i Database Manageability Comparison February 2004
Copyright © 2004 Oracle Corporation
Oracle Database 10g New Features Oracle 10g Reference for Advanced Tuning & Administration
by Mike Ault, Daniel Liu and Madhu Tumma