Sie sind auf Seite 1von 29

System Table

ALL_ARGUMENTS
ALL_CATALOG
ALL_COL_COMMENTS
ALL_CONSTRAINTS
ALL_CONS_COLUMNS
ALL_DB_LINKS
ALL_ERRORS
ALL_INDEXES
ALL_IND_COLUMNS
ALL_LOBS
ALL_OBJECTS
ALL_OBJECT_TABLES
ALL_SEQUENCES
ALL_SNAPSHOTS
ALL_SOURCE
ALL_SYNONYMS
ALL_TABLES
ALL_TAB_COLUMNS
ALL_TAB_COL_STATISTICS
ALL_TAB_COMMENTS
ALL_TRIGGERS
ALL_TRIGGER_COLS
ALL_TYPES
ALL_UPDATABLE_COLUMNS
ALL_USERS
ALL_VIEWS
DATABASE_COMPATIBLE_LEVEL
DBA_DB_LINKS
DBA_ERRORS
DBA_OBJECTS
DBA_ROLES
DBA_ROLE_PRIVS
DBA_SOURCE
DBA_TABLESPACES
DBA_TAB_PRIVS
DBA_TRIGGERS
DBA_TS_QUOTAS
DBA_USERS
DBA_VIEWS
DICTIONARY
DICT_COLUMNS
GLOBAL_NAME
NLS_DATABASE_PARAMETERS
NLS_INSTANCE_PARAMETERS
NLS_SESSION_PARAMETERS
PRODUCT_COMPONENT_VERSION

ROLE_TAB_PRIVS
SESSION_PRIVS
SESSION_ROLES
SYSTEM_PRIVILEGE_MAP
TABLE_PRIVILEGES
TABLE_PRIVILEGE_MAP

Description
Arguments in object accessible to the user
All tables, views, synonyms, sequences accessible to the user
Comments on columns of accessible tables and views
Constraint definitions on accessible tables
Information about accessible columns in constraint definitions
Database links accessible to the user
Current errors on stored objects that user is allowed to create
Descriptions of indexes on tables accessible to the user
COLUMNs comprising INDEXes on accessible TABLES
Description of LOBs contained in tables accessible to the user
Objects accessible to the user
Description of all object tables accessible to the user
Description of SEQUENCEs accessible to the user
Snapshots the user can access
Current source on stored objects that user is allowed to create
All synonyms accessible to the user
Description of relational tables accessible to the user
Columns of user's tables, views and clusters
Columns of user's tables, views and clusters
Comments on tables and views accessible to the user
Triggers accessible to the current user
Column usage in user's triggers or in triggers on user's tables
Description of types accessible to the user
Description of all updatable columns
Information about all users of the database
Description of views accessible to the user
Database compatible parameter set via init.ora
All database links in the database
Current errors on all stored objects in the database
All objects in the database
All Roles which exist in the database
Roles granted to users and roles
Source of all stored objects in the database
Description of all tablespaces
All grants on objects in the database
All triggers in the database
Tablespace quotas for all users
Information about all users of the database
Description of all views in the database
Description of data dictionary tables and views
Description of columns in data dictionary tables and views
global database name
Permanent NLS parameters of the database
NLS parameters of the instance
NLS parameters of the user session
version and status information for component products

Table privileges granted to roles


Privileges which the user currently has set
Roles which the user currently has enabled.
Description table for privilege type codes. Maps privilege type numbers to type names
Grants on objects for which the user is the grantor, grantee, owner, or an enabled role or PUBLIC is
Description table for privilege (auditing option) type codes. Maps privilege (auditing option) type n

ole or PUBLIC is the grantee


option) type numbers to type names

Undo Space Data Dictionary Views


View
V$UNDOSTAT
V$ROLLSTAT
V$TRANSACTION
DBA_UNDO_EXTENTS
DBA_HIST_UNDOSTAT

Description
Contains statistics for monitoring and tuning undo space. Use this view to help
For automatic undo management mode, information reflects behavior of the u
Contains undo segment information
Shows the status and size of each extent in the undo tablespace.
Contains statistical snapshots of V$UNDOSTAT information. Please refer to Ora

ace. Use this view to help estimate the amount of undo space required for the current workload. The database a
eflects behavior of the undo segments in the undo tablespace

tablespace.
ation. Please refer to Oracle Database 2 Day DBA for more information.

workload. The database also uses this information to help tune undo usage in the system. This view is meaningfu

m. This view is meaningful only in automatic undo management mode.

Process and Session Data Dictionary Vie


View
V$PROCESS
V$SESSION
V$SESS_IO
V$SESSION_LONGOPS
V$SESSION_WAIT
V$SESSION_WAIT_HISTO
V$WAIT_CHAINS
V$SYSSTAT
V$RESOURCE_LIMIT
V$SQLAREA

ess and Session Data Dictionary Views

Description
Contains information about the currently active processes
Lists session information for each current session
Contains I/O statistics for each user session
Displays the status of various operations that run for longer than 6 seconds (in absolute time). The
Displays the current or last wait for each session
Lists the last ten wait events for each active session
Displays information about blocked sessions
Contains session statistics
Provides information about current and maximum global resource utilization for some system resou
Contains statistics about shared SQL areas. Contains one row for each SQL string. Provides statistic

Server-Generated Alerts Data Dictionary Views


View

Description
DBA_THRESHOLDS
Lists the threshold settings defined for the instance
DBA_OUTSTANDING_ALERTS Describes the outstanding alerts in the database
DBA_ALERT_HISTORY
Lists a history of alerts that have been cleared
V$ALERT_TYPES
Provides information such as group and type for each alert
V$METRICNAME
Contains the names, identifiers, and other information about the system
V$METRIC
Contains system-level metric values
V$METRIC_HISTORY
Contains a history of system-level metric values

or each alert
ormation about the system metrics

Performance Monitoring Data Dictionary Views


View
V$LOCK
DBA_BLOCKERS
DBA_WAITERS
DBA_DDL_LOCKS
DBA_DML_LOCKS
DBA_LOCK
DBA_LOCK_INTERNAL
V$LOCKED_OBJECT
V$SESSION_WAIT
V$SYSSTAT
V$RESOURCE_LIMIT
V$SQLAREA
V$LATCH

ce Monitoring Data Dictionary Views

Description
Lists the locks currently held by Oracle Database and outstanding requests for a lock or latch
Displays a session if it is holding a lock on an object for which another session is waiting
Displays a session if it is waiting for a locked object
Lists all DDL locks held in the database and all outstanding requests for a DDL lock
Lists all DML locks held in the database and all outstanding requests for a DML lock
Lists all locks or latches held in the database and all outstanding requests for a lock or latch
Displays a row for each lock or latch that is being held, and one row for each outstanding request f
Lists all locks acquired by every transaction on the system
Lists the resources or events for which active sessions are waiting
Contains session statistics
Provides information about current and maximum global resource utilization for some system resou
Contains statistics about shared SQL area and contains one row for each SQL string. Also provides
Contains statistics for nonparent latches and summary statistics for parent latches

ents that are in memory, parsed, and ready for execution

Memory Management Data Dictionary Views


View
V$SGA
V$SGAINFO
V$SGASTAT
V$PGASTAT
V$MEMORY_DYNAMIC_COMPONENTS
V$SGA_DYNAMIC_COMPONENTS
V$SGA_DYNAMIC_FREE_MEMORY
V$MEMORY_CURRENT_RESIZE_OPS
V$SGA_CURRENT_RESIZE_OPS
V$MEMORY_RESIZE_OPS
V$SGA_RESIZE_OPS
V$MEMORY_TARGET_ADVICE
V$SGA_TARGET_ADVICE
V$PGA_TARGET_ADVICE

nt Data Dictionary Views

Description
Displays summary information about the system global area (SGA).
Displays size information about the SGA, including the sizes of different SGA components, the granule
Displays detailed information about how memory is allocated within the shared pool, large pool, Java p
Displays PGA memory usage statistics as well as statistics about the automatic PGA memory manager
Displays information on the current size of all automatically tuned and static memory components, wi
Displays the current sizes of all SGA components, and the last operation for each component.
Displays information about the amount of SGA memory available for future dynamic SGA resize opera
Displays information about resize operations that are currently in progress. A resize operation is an en
Displays information about dynamic SGA component resize operations that are currently in progress.
Displays information about the last 800 completed memory component resize operations, including au
Displays information about the last 800 completed SGA component resize operations.
Displays information that helps you tune MEMORY_TARGET if you enabled automatic memory managem
Displays information that helps you tune SGA_TARGET.
Displays information that helps you tune PGA_AGGREGATE_TARGET.

SGA components, the granule size, and free memory.


shared pool, large pool, Java pool, and Streams pool.
omatic PGA memory manager when it is enabled (that is, when PGA_AGGREGATE_TARGET is set). Cumulative valu
atic memory components, with the last operation (for example, grow or shrink) that occurred on each.
for each component.
ure dynamic SGA resize operations.
ss. A resize operation is an enlargement or reduction of the SGA, the instance PGA, or a dynamic SGA componen
hat are currently in progress.
esize operations, including automatic grow and shrink operations for SGA_TARGET and PGA_AGGREGATE_TARGET.
e operations.
automatic memory management.

is set). Cumulative values in V$PGASTAT are accumulated since instance startup.


curred on each.

dynamic SGA component.

PGA_AGGREGATE_TARGET.

Redo Log Data Dictionary Views


View
V$LOG
V$LOGFILE
V$LOG_HISTORY

Description
Displays the redo log file information from the control file
Identifies redo log groups and members and member status
Contains log history information

Archived Redo Logs Views


Dynamic Performance View
V$DATABASE
V$ARCHIVED_LOG
V$ARCHIVE_DEST
V$ARCHIVE_PROCESSES
V$BACKUP_REDOLOG
V$LOG
V$LOG_HISTORY

Description
Shows if the database is in ARCHIVELOG or NOARCHIVELOG mode an
Displays historical archived log information from the control file. If
Describes the current instance, all archive destinations, and the cu
Displays information about the state of the various archive proces
Contains information about any backups of archived logs. If you us
Displays all redo log groups for the database and indicates which
Contains log history information such as which logs have been arc

NOARCHIVELOG mode and if MANUAL (archiving mode) has been specified.


from the control file. If you use a recovery catalog, the RC_ARCHIVED_LOG view contains similar information.

destinations, and the current value, mode, and status of these destinations.
various archive processes for an instance.
archived logs. If you use a recovery catalog, the RC_BACKUP_REDOLOG contains similar information.
se and indicates which need to be archived.
hich logs have been archived and the SCN range for each archived log.

s similar information.

nformation.

Tablespace Data Dictionary Views


View
V$TABLESPACE
V$ENCRYPTED_TABLESPACES
DBA_TABLESPACES, USER_TABLESPACES
DBA_TABLESPACE_GROUPS
DBA_SEGMENTS, USER_SEGMENTS
DBA_EXTENTS, USER_EXTENTS
DBA_FREE_SPACE, USER_FREE_SPACE
DBA_TEMP_FREE_SPACE
V$DATAFILE
V$TEMPFILE
DBA_DATA_FILES
DBA_TEMP_FILES
V$TEMP_EXTENT_MAP
V$TEMP_EXTENT_POOL
V$TEMP_SPACE_HEADER
DBA_USERS
DBA_TS_QUOTAS
V$SORT_SEGMENT

V$TEMPSEG_USAGE

Description
Name and number of all tablespaces from the control file.
Name and encryption algorithm of all encrypted tablespaces.
Descriptions of all (or user accessible) tablespaces.
Displays the tablespace groups and the tablespaces that belon
Information about segments within all (or user accessible) tab
Information about data extents within all (or user accessible) t
Information about free extents within all (or user accessible) t
Displays the total allocated and free space in each temporary
Information about all datafiles, including tablespace number o
Information about all tempfiles, including tablespace number o
Shows files (datafiles) belonging to tablespaces.
Shows files (tempfiles) belonging to temporary tablespaces.
Information for all extents in all locally managed temporary ta
For locally managed temporary tablespaces: the state of temp
Shows space used/free for each tempfile.
Default and temporary tablespaces for all users.
Lists tablespace quotas for all users.
Information about every sort segment in a given instance. The

Describes temporary (sort) segment usage by


user for temporary or permanent tablespaces.

om the control file.


ncrypted tablespaces.
tablespaces.
e tablespaces that belong to them.
or user accessible) tablespaces.
all (or user accessible) tablespaces.
ll (or user accessible) tablespaces.
ace in each temporary tablespace.
g tablespace number of owning tablespace.
ng tablespace number of owning tablespace.

mporary tablespaces.
managed temporary tablespaces.
aces: the state of temporary space cached and used for by each instance.

n a given instance. The view is only updated when the tablespace is of the TEMPORARY type.

Datafiles Data Dictionary Views


View
DBA_DATA_FILES

DBA_EXTENTS
User Extents

DBA_FREE_SPACE
User_Free_Space

V$DATAFILE
V$DATAFILE_HEADER

ata Dictionary Views


Description
Provides descriptive information about each datafile, including the
tablespace to which it belongs and the file ID. The file ID can be used to
join with other views for detail information.

DBA view describes the extents comprising all segments in the database.
Contains the file ID of the datafile containing the extent. USER view

describes extents of the segments belonging to objects owned by the


current user.

DBA view lists the free extents in all tablespaces. Includes the file ID of
the datafile containing the extent. USER view lists the free extents in the

tablespaces accessible to the current user.

Contains datafile information from the control file


Contains information from datafile headers

Das könnte Ihnen auch gefallen