Datacentre Support Reference Guides
Visit our online shop for ALL your parts, components,
laptops, electronics and gadgets Oracle: Monitoring databases | |
| According to the Orace DBA Handbook, at a minimum, you should be monitoring for the following items in each instance of Oracle that you support:
The book describes setting up a new instance to monitor all other instances. This provides benefits such as:
I'm not going to go into the details of setting up the monitoring database. I'm more intested in making sure I have the sql statements required to get the data. Thusly: Free space in all tablespacesselect tablespace_name, count(blocks), sum(blocks), max(blocks) from dba_free_space group by tablespace_name; Number and size extents for all segmentsselect tablespace_name, owner, segment_name, segment_type, extents, bytes/1024 "K" from dba_segments where extents > 9 or lower(segment_type) = 'rollback';
| |