|
 |
|
ss
Oracle Tips by Burleson |
Snapshots, Types, and
Indexes
Now that we know all about the views and
DPTs, let’s look at how they are used to monitor various database
table-related constructs.
Monitoring Tables with the V$ and DBA_ Views
Previously, when it came to tables, the DBA
had four major concerns: Who owns them? Where were they created? Are
they clustered? What is their space utilization? And, since Oracle8,
the DBA also has to be concerned with issues such as: Is the table
an object or relational table? Does the table contain REFs, VARRAYS,
or NESTED TABLES? Is the table (if relational) partitioned? The
scripts and techniques in this section will answer these types of
questions about tables.
The Oracle Administrator toolbar provides
the Schema Manager, which allows GUI-based management of database
schema objects. The screen for Oracle version 7.3 of this product is
shown in Figure 10.1. The Oracle Administrator product is great for
on-screen viewing of database objects, but lacks suitable report
capabilities, so the ability to monitor database objects via scripts
is still critical. To this end, we will examine a few simple
reports; first, though, take a look at Figure 10.2, which shows the
cluster of DBA_ views used to monitor tables.
See Code Depot

www.oracle-script.com |