Acquiring data using a data dictionary and dynamic performance views
In the Oracle database, there are many views which can be queried to acquire data about the database state. They are divided into data dictionary views, with a name similar to DBA_*
, and dynamic performance views, named something similar to V$_*
.
Getting ready
When we use a standard template in Oracle DBCA to create a database, both data dictionary views and dynamic performance views are in place after database creation. If we prefer to use our own scripts to create the database, we need to launch at least the catalog.sql
and catproc.sql
scripts to populate the data dictionary with the views we need. These scripts are located in the rdbms/admin
subdirectory of the Oracle Home directory. ...
Get Oracle Database 11gR2 Performance Tuning Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.