DBA Undo Statistics

Description

Categories
Enginatics
Repository
GitHub
Undo generation, longest running query and undo errors per 10-minute interval from gv$undostat, which keeps about four days of history.

All sizes are shown in MB, Undo Per Second in MB per second.

ORA-01555 snapshot too old occurs when a query needs undo that has already been overwritten. Compare the Longest Query Seconds with the Tuned Undo Retention Seconds: unexpired steal attempts and blocks show undo that was overwritten before its retention expired because the undo tablespace was too small.

SQL 39 lines

Parameters 3

ParameterTypeList of values SQL
Errors onlyLOV
(gu.ssolderrcnt>0 or gu.nospaceerrcnt>0)
Hours BackNumber
gu.end_time>=sysdate-:hours_back/24
Instance IdLOV
gu.inst_id=:inst_id