from
WRM$_SNAPSHOT sn, WRH$_SYSSTAT s, DBA_HIST_STAT_NAME nm
SEE CODE DEPOT FOR FULL SCRIPT
select
s.snap_id, s.dbid, s.instance_number, s.statistic#,
s.statistic_hash,
nm.statistic_name, value
from
WRM$_SNAPSHOT sn, WRH$_SYSSTAT_BL s, DBA_HIST_STAT_NAME nm
SEE CODE DEPOT FOR FULL SCRIPT
The above text is
an excerpt from:
Easy Oracle Automation Oracle10g Automatic
Storage, Memory and Diagnostic Features