New scripts: vstat.sql & dstat.sql for showing Oracle Sysmetric history with 1-minute granularity
tanelpoder.com·11h
Flag this post

Here are two scripts for showing GV$SYSMETRIC_HISTORY contents in a simple tabular way:

  • vstat.sql - show up to one hour of current history at 1-minute granularity from memory
  • awr/dstat.sql - show 1-minute granularity sysmetric history across your entire AWR history

The database metrics infrastructure was introduced back in Oracle 10g, so you (and built-in tuning advisors) could use typically needed metrics in a standardized precomputed manner, without having to do various V$ snapshots and performance counter math yourself.

Some of the metric types (metric groups) are described in the [V$METRIC documentation](https://docs.oracle.com/…

Similar Posts

Loading similar posts...