Oracle® Database Reference 10g Release 2 (10.2) Part Number B14237-02 |
|
|
View PDF |
Data dictionary tables are not directly accessible, but you can access information in them through data dictionary views. To list the data dictionary views available to you, query the view DICTIONARY
.
Many data dictionary tables have three corresponding views:
An ALL_
view displays all the information accessible to the current user, including information from the current user's schema as well as information from objects in other schemas, if the current user has access to those objects by way of grants of privileges or roles.
A DBA_
view displays all relevant information in the entire database. DBA_
views are intended only for administrators. They can be accessed only by users with the SELECT ANY TABLE
privilege. This privilege is assigned to the DBA
role when the system is initially installed.
A USER_
view displays all the information from the schema of the current user. No special privileges are required to query these views.
The columns of the ALL_
, DBA_
, and USER_
views corresponding to a single data dictionary table are usually nearly identical. Therefore, these views are described in full only once in this chapter, at their first occurrence alphabetically, and are listed without full descriptions at their other occurrences.
A number of data dictionary views are relevant only if you are using Oracle Replication. Table 2-1 lists these views.
The following are additional Oracle Replication data dictionary views:
DEFCALL
DEFCALLDEST
DEFDEFAULTDEST
DEFERRCOUNT
DEFERROR
DEFLOB
DEFPROPAGATOR
DEFSCHEDULE
DEFTRAN
DEFTRANDEST
See Also:
Oracle Database Advanced Replication Management API Reference for information about these viewsA number of data dictionary views are relevant only if you are using Oracle Workspace Manager. Table 2-2 lists these views.
Table 2-2 Oracle Workspace Manager Data Dictionary Views
ALL_ Views | DBA_ Views | USER_ Views |
---|---|---|
|
The following are additional Oracle Workspace Manager data dictionary views:
ROLE_WM_PRIVS
WM_INSTALLATION
WM_REPLICATION_INFO
See Also:
Oracle Database Application Developer's Guide - Workspace Manager for information about these viewsThe following data dictionary views are only available after you create an optional recovery catalog (which contains schemas containing information about backups) for use with Recovery Manager:
RC_ARCHIVED_LOG
RC_BACKUP_CONTROLFILE
RC_BACKUP_CORRUPTION
RC_BACKUP_DATAFILE
RC_BACKUP_FILES
RC_BACKUP_PIECE
RC_BACKUP_REDOLOG
RC_BACKUP_SET
RC_BACKUP_SPFILE
RC_CHECKPOINT
RC_CONTROLFILE_COPY
RC_COPY_CORRUPTION
RC_DATABASE
RC_DATABASE_BLOCK_CORRUPTION
RC_DATABASE_INCARNATION
RC_DATAFILE
RC_DATAFILE_COPY
RC_LOG_HISTORY
RC_OFFLINE_RANGE
RC_PROXY_CONTROLFILE
RC_PROXY_DATAFILE
RC_REDO_LOG
RC_REDO_THREAD
RC_RESYNC
RC_RMAN_BACKUP_JOB_DETAILS
RC_RMAN_BACKUP_SUBJOB_DETAILS
RC_RMAN_CONFIGURATION
RC_RMAN_OUTPUT
RC_RMAN_STATUS
RC_STORED_SCRIPT
RC_STORED_SCRIPT_LINE
RC_TABLESPACE
RC_TEMPFILE
See Also:
Oracle Database Backup and Recovery Reference for information about these views