You are on page 1of 165

V$DATABASE

V$DATABASE displays information about the database from the control file.
Column

Datatype

Description

DBID

NUMBER

Database identifier calculated when the database is created and stored in all file
headers

NAME

VARCHAR2(9)

Name of the database

CREATED

DATE

Creation date of the database

RESETLOGS_CHANGE#

NUMBER

System change number (SCN) at open resetlogs

RESETLOGS_TIME

DATE

Timestamp of open resetlogs

PRIOR_RESETLOGS_CHANGE#

NUMBER

SCN at prior resetlogs

PRIOR_RESETLOGS_TIME

DATE

Timestamp of prior resetlogs

LOG_MODE

VARCHAR2(12)

Archive log mode:

NOARCHIVELOG

ARCHIVELOG

MANUAL

CHECKPOINT_CHANGE#

NUMBER

Last SCN checkpointed

ARCHIVE_CHANGE#

NUMBER

Database force archiving SCN. Any redo log with a start SCN below this will be
forced to archive out.

Column

Datatype

Description

CONTROLFILE_TYPE

VARCHAR2(7)

Type of control file:

STANDBY - Indicates that the database is in standby mode

CLONE - Indicates a clone database

BACKUP | CREATED - Indicates the database is being recovered using a backup or created
control file

CURRENT - database is available for general use

CONTROLFILE_CREATED

DATE

Creation date of the control file

CONTROLFILE_SEQUENCE#

NUMBER

Control file sequence number incremented by control file transactions

CONTROLFILE_CHANGE#

NUMBER

Last SCN in backup control file; null if the control file is not a backup

CONTROLFILE_TIME

DATE

Last timestamp in backup control file; null if the control file is not a backup

OPEN_RESETLOGS

VARCHAR2(11)

(NOT ALLOWED | ALLOWED | REQUIRED) Indicates whether the next database open
allows or requires the resetlogs option

VERSION_TIME

DATE

Version time

OPEN_MODE

VARCHAR2(10)

Open mode information:

MOUNTED

READ WRITE

Column

Datatype

Description

PROTECTION_MODE

PROTECTION_LEVEL

VARCHAR2(20)

VARCHAR2(20)

READ ONLY

Protection mode currently in effect for the database:

MAXIMUM PROTECTION - Database is running in maximized protection mode

MAXIMUM AVAILABILITY - Database is running in maximized availability mode

RESYNCHRONIZATION - Database is running in resynchronization mode

MAXIMUM PERFORMANCE - Database is running in maximized protection mode

UNPROTECTED - Database is unprotected (this normally occurs when the primary database is
mounted and not open)

Aggregated protection mode currently in effect for the database:

MAXIMUM PROTECTION - Database is running in maximized protection mode

MAXIMUM AVAILABILITY - Database is running in maximized availability mode

RESYNCHRONIZATION - Database is running in resynchronization mode

MAXIMUM PERFORMANCE - Database is running in maximized protection mode

UNPROTECTED - Database is unprotected (this normally occurs when the primary database is
mounted and not open)

Note:This column is an aggregation of the PROTECTION_MODE of all standby archive log


destinations.

Column

Datatype

Description

REMOTE_ARCHIVE

VARCHAR2(8)

Value of the REMOTE_ARCHIVE_ENABLE initialization parameter

ACTIVATION#

NUMBER

Number assigned to the database instantiation

SWITCHOVER#

NUMBER

Number assigned to the database switchover

DATABASE_ROLE

VARCHAR2(16)

Current role of the database:

LOGICAL STANDBY

PHYSICAL STANDBY

PRIMARY

ARCHIVELOG_CHANGE#

NUMBER

Highest NEXT_CHANGE# (from the V$ARCHIVED_LOG view) for an archive log

SWITCHOVER_STATUS

VARCHAR2(20)

Indicates whether switchover is allowed:

NOT ALLOWED - Either this is a standby database and the primary database has not been
switched first or this is a primary database and there are no standby databases.

SESSIONS ACTIVE - Indicates that there are active SQL sessions attached to the primary or
standby database that need to be disconnected before the switchover operation is permitted.
Query the V$SESSION view to identify the specific processes that need to be terminated.

SWITCHOVER PENDING - This is a standby database and the primary database switchover
request has been received but not processed.

SWITCHOVER LATENT - The switchover was in pending mode, but did not complete and
went back to the primary database.

Column

Datatype

Description

TO PRIMARY - This is a standby database and is allowed to switch over to a primary


database.

TO STANDBY - This is a primary database and is allowed to switch over to a standby


database.

RECOVERY NEEDED - This is a standby database that has not received the switchover
request.

PREPARING SWITCHOVER - Either this is a primary database that is accepting redo data
from a logical standby database in preparation for switch over to the logical standby database
role, or it is a logical standby database sending redo data to a primary database and other
standby databases in preparation for switch over to the primary database role. In the latter
case, a completed dictionary has already been sent to the primary database and other standby
databases.

PREPARING DICTIONARY - This is a logical standby database that is sending redo data to
a primary database and other standby databases in the configuration in preparation for switch
over to the primary database role.

TO LOGICAL STANDBY - This is a primary database that has received a complete


dictionary from a logical standby database.

DATAGUARD_BROKER

VARCHAR2(8)

Indicates whether the Data Guard configuration is being managed by the broker
(ENABLED) or not (DISABLED)

GUARD_STATUS

VARCHAR2(7)

Protects data from being changed:

ALL - Indicates all users other than SYS are prevented from making changes to any data in
the database.

STANDBY - Indicates all users other than SYS are prevented from making changes to any

Column

Datatype

Description
database object being maintained by logical standby.

SUPPLEMENTAL_LOG_DATA_MIN

VARCHAR2(8)

NONE - Indicates normal security for all data in the database.

Ensures that LogMiner (and any products building on LogMiner technology) will
have sufficient information to support chained rows and various storage
arrangements such as cluster tables:

NO - None of the database-wide supplemental logging directives are enabled

IMPLICIT - Minimal supplemental logging is enabled because all or a combination of


primary key, unique key, and foreign key supplemental logging is enabled

YES - Minimal supplemental logging is enabled through an ALTER DATABASE ADD


SUPPLEMENTAL LOG DATA statement

See Also:Oracle Database SQL Reference for additional information about the ALTER DATABASE
ADD SUPPLEMENTAL LOG DATA statement
SUPPLEMENTAL_LOG_DATA_PK

VARCHAR2(3)

For all tables with a primary key, indicates whether all columns of the primary key
are placed into the redo log whenever an update is performed (YES) or not (NO)
See Also:Oracle Database SQL Reference for more information about the ALTER DATABASE ADD
SUPPLEMENTAL LOGsupplemental_id_key_clause statement

SUPPLEMENTAL_LOG_DATA_UI

VARCHAR2(3)

For all tables with a unique key, indicates whether all other columns belonging to
the unique key are placed into the redo log if any of the unique key columns are
modified (YES) or not (NO)
See Also:Oracle Database SQL Reference for more information about the ALTER DATABASE ADD
SUPPLEMENTAL LOGsupplemental_id_key_clause statement

Column

Datatype

Description

FORCE_LOGGING

VARCHAR2(3)

Indicates whether the database is under force logging mode (YES) or not (NO)

PLATFORM_ID

NUMBER

Platform identification number of the database

PLATFORM_NAME

VARCHAR2(101
)

Platform name of the database

RECOVERY_TARGET_INCARNATION
#

NUMBER

Incarnation number where all datafiles are recovered by the RECOVER DATABASE
command

LAST_OPEN_INCARNATION#

NUMBER

Record number of the incarnation in V$DATABASE_INCARNATION that was last


opened successfully

CURRENT_SCN

NUMBER

Current SCN; null if the database is not currently open. For a standby database,
the current standby redo application SCN.

FLASHBACK_ON

VARCHAR2(3)

Indicates whether the database is in FLASHBACK mode (YES) or not (NO)

SUPPLEMENTAL_LOG_DATA_FK

VARCHAR2(3)

For all tables with a foreign key, indicates whether all other columns belonging to
the foreign key are placed into the redo log if any foreign key columns are
modified (YES) or not (NO)
See Also:Oracle Database SQL Reference for more information about the ALTER DATABASE ADD
SUPPLEMENTAL LOGsupplemental_id_key_clause statement

SUPPLEMENTAL_LOG_DATA_ALL

VARCHAR2(3)

For all columns, indicates whether all the fixed-length maximum size columns of
that row are placed into the redo log (YES) or not (NO)
See Also:Oracle Database SQL Reference for more information about the ALTER DATABASE ADD
SUPPLEMENTAL LOGsupplemental_id_key_clause statement

Column

Datatype

Description

DB_UNIQUE_NAME

VARCHAR2(30)

Unique database name

STANDBY_BECAME_PRIMARY_SCN

NUMBER

SCN at which a physical standby database became a primary database. This SCN
is useful for converting a failed primary database into a physical standby
database after a forced failover.

V$SESSION
This view lists session information for each current session.
Column

Datatype

Description

SADDR

RAW(4 | 8)

Session address

SID

NUMBER

Session identifier

SERIAL#

NUMBER

Session serial number. Used to uniquely identify a session's objects. Guarantees that
session-level commands are applied to the correct session objects if the session ends
and another session begins with the same session ID.

AUDSID

NUMBER

Auditing session ID

PADDR

RAW(4 | 8)

Address of the process that owns the session

USER#

NUMBER

Oracle user identifier

Column

Datatype

Description

USERNAME

VARCHAR2(30
)

Oracle username

COMMAND

NUMBER

Command in progress (last statement parsed); for a list of values, see Table 7-5. These
values also appear in the AUDIT_ACTIONS table.

OWNERID

NUMBER

The column contents are invalid if the value is 2147483644. Otherwise, this column
contains the identifier of the user who owns the migratable session.
For operations using Parallel Slaves, interpret this value as a 4-byte value. The low-order
2 bytes of which represent the session number, and the high-order bytes the instance ID
of the query coordinator.

TADDR

VARCHAR2(8)

Address of transaction state object

LOCKWAIT

VARCHAR2(8)

Address of lock waiting for; null if none

STATUS

VARCHAR2(8)

Status of the session:

ACTIVE - Session
INACTIVE
KILLED - Session
CACHED - Session
SNIPED - Session

currently executing SQL


marked to be killed
temporarily cached for use by Oracle*XA
inactive, waiting on the client

SERVER

VARCHAR2(9)

Server type (DEDICATED| SHARED| PSEUDO| NONE)

SCHEMA#

NUMBER

Schema user identifier

Column

Datatype

Description

SCHEMANAME

VARCHAR2(30
)

Schema user name

OSUSER

VARCHAR2(30
)

Operating system client user name

PROCESS

VARCHAR2(12
)

Operating system client process ID

MACHINE

VARCHAR2(64
)

Operating system machine name

TERMINAL

VARCHAR2(30
)

Operating system terminal name

PROGRAM

VARCHAR2(48
)

Operating system program name

TYPE

VARCHAR2(10
)

Session type

SQL_ADDRESS

RAW(4 | 8)

Used with SQL_HASH_VALUE to identify the SQL statement that is currently being
executed

SQL_HASH_VALUE

NUMBER

Used with SQL_ADDRESS to identify the SQL statement that is currently being executed

SQL_ID

VARCHAR2(13
)

SQL identifier of the SQL statement that is currently being executed

SQL_CHILD_NUMBER

NUMBER

Child number of the SQL statement that is currently being executed

PREV_SQL_ADDR

RAW(4 | 8)

Used with PREV_HASH_VALUE to identify the last SQL statement executed

Column

Datatype

Description

PREV_HASH_VALUE

NUMBER

Used with SQL_HASH_VALUE to identify the last SQL statement executed

PREV_SQL_ID

VARCHAR2(13
)

SQL identifier of the last SQL statement executed

PREV_CHILD_NUMBER

NUMBER

Child number of the last SQL statement executed

MODULE

VARCHAR2(48
)

Name of the currently executing module as set by calling the


DBMS_APPLICATION_INFO.SET_MODULE procedure

MODULE_HASH

NUMBER

Hash value of the above MODULE

ACTION

VARCHAR2(32
)

Name of the currently executing action as set by calling the


DBMS_APPLICATION_INFO.SET_ACTION procedure

ACTION_HASH

NUMBER

Hash value of the above action name

CLIENT_INFO

VARCHAR2(64
)

Information set by the DBMS_APPLICATION_INFO.SET_CLIENT_INFO procedure

FIXED_TABLE_SEQUENCE

NUMBER

This contains a number that increases every time the session completes a call to the
database and there has been an intervening select from a dynamic performance table.
This column can be used by performance monitors to monitor statistics in the database.
Each time the performance monitor looks at the database, it only needs to look at
sessions that are currently active or have a higher value in this column than the highest
value that the performance monitor saw the last time. All the other sessions have been
idle since the last time the performance monitor looked at the database.

ROW_WAIT_OBJ#

NUMBER

Object ID for the table containing the row specified in ROW_WAIT_ROW#

Column

Datatype

Description

ROW_WAIT_FILE#

NUMBER

Identifier for the datafile containing the row specified in ROW_WAIT_ROW#. This column is
valid only if the session is currently waiting for another transaction to commit and the
value of ROW_WAIT_OBJ# is not -1.

ROW_WAIT_BLOCK#

NUMBER

Identifier for the block containing the row specified in ROW_WAIT_ROW#. This column is
valid only if the session is currently waiting for another transaction to commit and the
value of ROW_WAIT_OBJ# is not -1.

ROW_WAIT_ROW#

NUMBER

Current row being locked. This column is valid only if the session is currently waiting for
another transaction to commit and the value of ROW_WAIT_OBJ# is not -1.

LOGON_TIME

DATE

Time of logon

LAST_CALL_ET

NUMBER

If the session STATUS is currently ACTIVE, then the value represents the elapsed time in
seconds since the session has become active.
If the session STATUS is currently INACTIVE, then the value represents the elapsed time
in seconds since the session has become inactive.

PDML_ENABLED

VARCHAR2(3)

This column has been replaced by column PDML_STATUS

FAILOVER_TYPE

VARCHAR2(13
)

Indicates whether and to what extent transparent application failover (TAF) is enabled for
the session:
NONE - Failover is disabled for this session
SESSION - Client is able to fail over its session following a disconnect
SELECT - Client is able to fail over queries in progress as well
See Also:

Oracle Database Concepts for more information on TAF


Oracle Database Net Services Administrator's Guide for information on
configuring TAF

Column

Datatype

Description

FAILOVER_METHOD

VARCHAR2(10
)

Indicates the transparent application failover method for the session:

FAILED_OVER

VARCHAR2(3)

Indicates whether the session is running in failover mode and failover has occurred (YES)
or not (NO)

RESOURCE_CONSUMER_GROU
P

VARCHAR2(32
)

Name of the session's current resource consumer group

PDML_STATUS

VARCHAR2(8)

If ENABLED, the session is in a PARALLEL DML enabled mode. If DISABLED, PARALLEL DML
enabled mode is not supported for the session. If FORCED, the session has been altered to
force PARALLEL DML.

PDDL_STATUS

VARCHAR2(8)

If ENABLED, the session is in a PARALLEL DDL enabled mode. If DISABLED, PARALLEL DDL
enabled mode is not supported for the session. If FORCED, the session has been altered to
force PARALLEL DDL.

PQ_STATUS

VARCHAR2(8)

If ENABLED, the session is in a PARALLEL QUERY enabled mode. If DISABLED, PARALLEL


QUERY enabled mode is not supported for the session. If FORCED, the session has been
altered to force PARALLEL QUERY.

CURRENT_QUEUE_DURATION

NUMBER

If queued (1), the current amount of time the session has been queued. If not currently
queued, the value is 0.

CLIENT_IDENTIFIER

VARCHAR2(64
)

Client identifier of the session

BLOCKING_SESSION_STATU
S

VARCHAR2(11
)

Blocking session status:

NONE - Failover is disabled for this session


BASIC - Client itself reconnects following a disconnect
PRECONNECT - Backup instance can support all connections from every instance for
which it is backed up

Column

Datatype

Description

VALID
NO HOLDER
GLOBAL
NOT IN WAIT
UNKNOWN

BLOCKING_INSTANCE

NUMBER

Instance identifier of blocking session

BLOCKING_SESSION

NUMBER

Session identifier of blocking session

SEQ#

NUMBER

Sequence number that uniquely identifies the wait. Incremented for each wait.

EVENT#

NUMBER

Event number

EVENT

VARCHAR2(64
)

Resource or event for which the session is waiting

P1TEXT

VARCHAR2(64
)

Description of the first additional parameter

P1

NUMBER

First additional parameter

P1RAW

RAW(4)

First additional parameter

P2TEXT

VARCHAR2(64
)

Description of the second additional parameter

P2

NUMBER

Second additional parameter

P2RAW

RAW(4)

Second additional parameter

See Also:Appendix C, "Oracle Wait Events"

Column

Datatype

Description

P3TEXT

VARCHAR2(64
)

Description of the third additional parameter

P3

NUMBER

Third additional parameter

P3RAW

RAW(4)

Third additional parameter

WAIT_CLASS_ID

NUMBER

Identifier of the wait class

WAIT_CLASS#

NUMBER

Number of the wait class

WAIT_CLASS

VARCHAR2(64
)

Name of the wait class

WAIT_TIME

NUMBER

A nonzero value is the session's last wait time. A zero value means the session is
currently waiting.

SECONDS_IN_WAIT

NUMBER

If WAIT_TIME = 0, then SECONDS_IN_WAIT is the seconds spent in the current wait


condition. If WAIT_TIME>0, then SECONDS_IN_WAIT is the seconds since the start of the
last wait, and SECONDS_IN_WAIT - WAIT_TIME / 100 is the active seconds since the last
wait ended.

STATE

VARCHAR2(19
)

Wait state:

SERVICE_NAME

VARCHAR2(64
)

0 - WAITING
-2 - WAITED
-1 - WAITED
>0 - WAITED

(the session is currently waiting)


UNKNOWN TIME (duration of last wait is unknown)
SHORT TIME (last wait <1/100th of a second)
KNOWN TIME (WAIT_TIME = duration of last wait)

Service name of the session

Column

Datatype

Description

SQL_TRACE

VARCHAR2(8)

Indicates whether SQL tracing is enabled (ENABLED) or disabled (DISABLED)

SQL_TRACE_WAITS

VARCHAR2(5)

Indicates whether wait tracing is enabled (TRUE) or not (FALSE)

SQL_TRACE_BINDS

VARCHAR2(5)

Indicates whether bind tracing is enabled (TRUE) or not (FALSE)

V$PROCESS
V$PROCESS displays information about the currently active processes. While the LATCHWAIT column indicates what latch a process is
waiting for, the LATCHSPIN column indicates what latch a process is spinning on. On multi-processor machines, Oracle processes will
spin on a latch before waiting on it.
Column

Datatype

Description

ADDR

RAW(4 | 8)

Address of the process state object

PID

NUMBER

Oracle process identifier

SPID

VARCHAR2(24)

Operating system process identifier

USERNAME

VARCHAR2(15)

Operating system process username


Note: Any two-task user coming across the network has "-T" appended to the username.

SERIAL#

NUMBER

Process serial number

TERMINAL

VARCHAR2(30)

Operating system terminal identifier

PROGRAM

VARCHAR2(48)

Program in progress

TRACEID

VARCHAR2(255
)

Trace file identifier

TRACEFILE

VARCHAR2(513
)

Trace file name of the process

BACKGROUND

VARCHAR2(1)

1 for a background process; NULL for a normal process

Column

Datatype

Description

LATCHWAIT

VARCHAR2(8)

Address of the latch the process is waiting for; NULL if none

LATCHSPIN

VARCHAR2(8)

Address of the latch the process is spinning on; NULL if none

PGA_USED_MEM

NUMBER

PGA memory currently used by the process

PGA_ALLOC_MEM

NUMBER

PGA memory currently allocated by the process (including free PGA memory not yet released to
the operating system by the server process)

PGA_FREEABLE_ME
M

NUMBER

Allocated PGA memory which can be freed

PGA_MAX_MEM

NUMBER

Maximum PGA memory ever allocated by the process

V$SESS_IO
This view lists I/O statistics for each user session.
Column

Datatype

Description

SID

NUMBER

Session identifier

BLOCK_GETS

NUMBER

Block gets for this session

CONSISTENT_GETS

NUMBER

Consistent gets for this session

PHYSICAL_READS

NUMBER

Physical reads for this session

BLOCK_CHANGES

NUMBER

Block changes for this session

CONSISTENT_CHANGES

NUMBER

Consistent changes for this session

V$SESS_TIME_MODEL
V$SESS_TIME_MODEL displays the session-accumulated time for various operations. The time reported is the total elapsed or CPU time
(in microseconds). Any timed operation will buffer at most 5 seconds of time data. Specifically, this means that if a timed operation

(such as SQL execution) takes a long period of time to perform, the data published to this view is at most missing 5 seconds of the
time accumulated for the operation.
The time values are 8-byte integers and can therefore hold approximately 580,000 years of time before wrapping. Background
process time is not included in a statistic value unless the statistic is specifically for background processes.
Column

Datatype

Description

SID

NUMBER

Session ID (same as in V$SESSION)

STAT_ID

NUMBER

Statistic identifier for the time statistic

STAT_NAME

VARCHAR2(64)

Name of the statistic (see Table 7-4)

VALUE

NUMBER

Amount of time (in microseconds) that the session has spent in this operation

Table 7-4 V$SESS_TIME_MODEL and V$SYS_TIME_MODEL Statistics


Statistic Name

Description

DB Time

Amount of elapsed time (in microseconds) spent performing Database user-level calls. This does not include the
time spent on instance background processes such as PMON.

DB CPU

Amount of CPU time (in microseconds) spent on database user-level calls. This does not include the CPU time
spent on instance background processes such as PMON.

background CPU
time

Amount of CPU time (in microseconds) consumed by database background processes.

sequence load
elapsed time

Amount of elapsed time spent getting the next sequence number from the data dictionary. If a sequence is
cached, then this is the amount of time spent replenishing the cache when it runs out. No time is charged when
a sequence number is found in the cache. For non-cached sequences, some time will be charged for every
nextval call.

parse time elapsed

Amount of elapsed time spent parsing SQL statements. It includes both soft and hard parse time.

hard parse elapsed


time

Amount of elapsed time spent hard parsing SQL statements.

SQL execute
elapsed time

Amount of elapsed time SQL statements are executing. Note that for select statements this also includes the
amount of time spent performing fetches of query results.

Statistic Name

Description

connection
management call
elapsed time

Amount of elapsed time spent performing session connect and disconnect calls.

failed parse
elapsed time

Amount of time spent performing SQL parses which ultimately fail with some parse error.

hard parse (sharing Amount of elapsed time spent performing SQL hard parses when the hard parse resulted from not being able to
criteria) elapsed
share an existing cursor in the SQL cache.
time
hard parse (bind
mismatch) elapsed
time

Amount of elapsed time spent performing SQL hard parses when the hard parse resulted from bind type or bind
size mismatch with an existing cursor in the SQL cache.

PL/SQL execution
elapsed time

Amount of elapsed time spent running the PL/SQL interpreter. This does not include time spent recursively
executing/parsing SQL statements or time spent recursively executing the Java VM.

PL/SQL compilation
elapsed time

Amount of elapsed time spent running the PL/SQL compiler.

inbound PL/SQL rpc Time inbound PL/SQL remote procedure calls have spent executing. It includes all time spent recursively
elapsed time
executing SQL and JAVA, and therefore is not easily related to "PL/SQL execution elapsed time".
Java execution
elapsed time

Amount of elapsed time spent running the Java VM. This does not include time spent recursively
executing/parsing SQL statements or time spent recursively executing PL/SQL.

The relationships between the statistics listed in Table 7-4 form two trees in which all the time reported by a child in the tree is
contained within the parent in the tree. The following are the relationship trees; the number is the level in the given tree.
1) background elapsed time
2) background cpu time
1) DB time
2) DB CPU
2) connection management call elapsed time
2) sequence load elapsed time
2) sql execute elapsed time
2) parse time elapsed
3) hard parse elapsed time
4) hard parse (sharing criteria) elapsed time

5) hard parse (bind mismatch) elapsed time


3) failed parse elapsed time
4) failed parse (out of shared memory) elapsed time
PL/SQL execution elapsed time
inbound PL/SQL rpc elapsed time
PL/SQL compilation elapsed time
Java execution elapsed time

2)
2)
2)
2)

V$SESSION_LONGOPS
This view displays the status of various operations that run for longer than 6 seconds (in absolute time). These operations currently include many backup and recovery
functions, statistics gathering, and query execution, and more operations are added for every Oracle release.
To monitor query execution progress, you must be using the cost-based optimizer and you must:

Set the TIMED_STATISTICS or SQL_TRACE parameter to true

Gather statistics for your objects with the ANALYZE statement or the DBMS_STATS package

You can add information to this view about application-specific long-running operations by using the DBMS_APPLICATION_INFO.SET_SESSION_LONGOPS
procedure.
See Also:
Oracle Database PL/SQL Packages and Types Reference for more information on DBMS_APPLICATION_INFO.SET_SESSION_LONGOPS
Column

Datatype

Description

SID

NUMBER

Session identifier

SERIAL#

NUMBER

Session serial number

OPNAME

VARCHAR2(64)

Brief description of the operation

Column

Datatype

Description

TARGET

VARCHAR2(64)

The object on which the operation is carried out

TARGET_DESC

VARCHAR2(32)

Description of the target

SOFAR

NUMBER

The units of work done so far

TOTALWORK

NUMBER

The total units of work

UNITS

VARCHAR2(32)

The units of measurement

START_TIME

DATE

The starting time of operation

LAST_UPDATE_TIME DATE

Time when statistics last updated

TIMESTAMP

DATE

Timestamp

TIME_REMAINING

NUMBER

Estimate (in seconds) of time remaining for the operation to complete

ELAPSED_SECONDS

NUMBER

The number of elapsed seconds from the start of operations

CONTEXT

NUMBER

Context

MESSAGE

VARCHAR2(512) Statistics summary message

USERNAME

VARCHAR2(30)

User ID of the user performing the operation

SQL_ADDRESS

RAW(4 | 8)

Used with the value of the SQL_HASH_VALUE column to identify the SQL statement associated with the operation

SQL_HASH_VALUE

NUMBER

Used with the value of the SQL_ADDRESS column to identify the SQL statement associated with the operation

SQL_ID

VARCHAR2(13)

SQL identifier of the SQL statement associated with the operation

QCSID

NUMBER

Session identifier of the parallel coordinator

V$SESSION_CONNECT_INFO
This view displays information about network connections for the current session.
Column

Datatype

Description

SID

NUMBER

Session identifier (can be used to join this view with V$SESSION)

AUTHENTICATION_TYPE

VARCHAR2(26)

How the user was authenticated:

Column

Datatype

Description
DATABASE - Username/password authentication
OS - Operating system external user authentication
NETWORK - Network protocol or ANO authentication
PROXY - OCI proxy connection authentication
SERVER
PASSWORD
EXTERNAL ADAPTERS
INTERNAL
GLOBAL
EXTERNAL
PASSWORD BASED GLOBAL USER

OSUSER

VARCHAR2(30)

External username for this database user

NETWORK_SERVICE_BANNER

VARCHAR2(4000)

Product banners for each Oracle Net service used for this connection (one row per
banner)

V$SESSION_EVENT
This view lists information on waits for an event by a session. Note that the TIME_WAITED and AVERAGE_WAIT columns will contain a value of zero on those
platforms that do not support a fast timing mechanism. If you are running on one of these platforms and you want this column to reflect true wait times, you must set
TIMED_STATISTICS to true in the parameter file. Please remember that doing this will have a small negative effect on system performance.
See Also:
"TIMED_STATISTICS"
Column

Datatype

Description

SID

NUMBER

ID of the session

Column

Datatype

Description

EVENT

VARCHAR2(64)

Name of the wait event


See Also:Appendix C, "Oracle Wait Events"

TOTAL_WAITS

NUMBER

Total number of waits for the event by the session

TOTAL_TIMEOUTS

NUMBER

Total number of timeouts for the event by the session

TIME_WAITED

NUMBER

Total amount of time waited for the event by the session (in hundredths of a second)

AVERAGE_WAIT

NUMBER

Average amount of time waited for the event by the session (in hundredths of a second)

MAX_WAIT

NUMBER

Maximum time waited for the event by the session (in hundredths of a second)

TIME_WAITED_MICRO

NUMBER

Total amount of time waited for the event by the session (in microseconds)

EVENT_ID

NUMBER

Identifier of the wait event

WAIT_CLASS_ID

NUMBER

Identifier of the class of the wait event

WAIT_CLASS#

NUMBER

Number of the class of the wait event

WAIT_CLASS

VARCHAR2(64)

Name of the class of the wait event

V$SESSION_CURSOR_CACHE
This view displays information on cursor usage for the current session.
Note:
The V$SESSION_CURSOR_CACHE view is not a measure of the effectiveness of the SESSION_CACHED_CURSORS initialization parameter.

Column

Datatype Description

MAXIMUM

NUMBE
R

Maximum number of cursors to cache. Once you hit this number, some cursors will need to be closed in order to open more. The value
in this column is derived from the initialization parameter OPEN_CURSORS.

COUNT

NUMBE
R

The current number of cursors (whether they are in use or not)

OPENED_ONC
E

NUMBE
R

Number of cursors opened at least once

OPEN

NUMBE
R

Current number of open cursors

OPENS

NUMBE
R

Cumulative total of cursor opens minus one. This is because the cursor that is currently open and being used for this query is not
counted in the OPENS statistic.

HITS

NUMBE
R

Cumulative total of cursor open hits

HIT_RATIO

NUMBE
R

Ratio of the number of times an open cursor was found divided by the number of times a cursor was sought

V$SESSION_OBJECT_CACHE
This view displays object cache statistics for the current user session on the local server (instance).

Column

Datatyp
e
Description

PINS

NUMBER

Number of object pins or look-ups in the cache

HITS

NUMBER

Number of object pins that found the object already in the cache

Column

Datatyp
e
Description

TRUE_HITS

NUMBER

Number of object pins that found the object already in the cache and in the desired state (thus, not
requiring refresh from the database)

HIT_RATIO

NUMBER

The ratio of HITS/PINS

TRUE_HIT_RATIO

NUMBER

The ratio of TRUE_HITS/PINS

OBJECT_REFRESHE
S

NUMBER

Number of objects in the cache that were refreshed with a new value from the database

CACHE_REFRESHES

NUMBER

Number of times the whole cache (all objects) were refreshed

OBJECT_FLUSHES

NUMBER

Number of objects in the cache that were flushed to the database

CACHE_FLUSHES

NUMBER

Number of times the whole cache (all objects) were flushed to the database

CACHE_SHRINKS

NUMBER

Number of times the cache was shrunk to the optimal size

CACHED_OBJECTS

NUMBER

Number of objects currently cached

PINNED_OBJECTS

NUMBER

Number of objects currently pinned

CACHE_SIZE

NUMBER

Current size of the cache in bytes

OPTIMAL_SIZE

NUMBER

Optimal size of the cache in bytes

MAXIMUM_SIZE

NUMBER

Maximum size of the cache in bytes

V$SESSION_WAIT
V$SESSION_WAIT displays the resources or events for which active sessions are waiting.
The following are tuning considerations:

P1RAW, P2RAW, and P3RAW display the same values as the P1, P2, and P3 columns, except that the numbers are displayed in
hexadecimal.

The WAIT_TIME column contains a value of -2 on platforms that do not support a fast timing mechanism. If you are running on
one of these platforms and you want this column to reflect true wait times, then you must set the TIMED_STATISTICS
initialization parameter to true. Remember that doing this has a small negative effect on system performance.
In previous releases, the WAIT_TIME column contained an arbitrarily large value instead of a negative value to indicate the
platform did not have a fast timing mechanism.

The STATE column interprets the value of WAIT_TIME and describes the state of the current or most recent wait.

Column

Datatype

Description

SID

NUMBER

Session identifier

SEQ#

NUMBER

Sequence number that uniquely identifies this wait. Incremented for each wait.

EVENT

VARCHAR2(64
)

Resource or event for which the session is waiting


See Also:Appendix C, "Oracle Wait Events"

P1TEXT

VARCHAR2(64
)

Description of the first additional parameter

P1

NUMBER

First additional parameter

P1RAW

RAW(4)

First additional parameter

P2TEXT

VARCHAR2(64
)

Description of the second additional parameter

P2

NUMBER

Second additional parameter

P2RAW

RAW(4)

Second additional parameter

Column

Datatype

Description

P3TEXT

VARCHAR2(64
)

Description of the third additional parameter

P3

NUMBER

Third additional parameter

P3RAW

RAW(4)

Third additional parameter

WAIT_CLASS_ID

NUMBER

Identifier of the wait class

WAIT_CLASS#

NUMBER

Number of the wait class

WAIT_CLASS

VARCHAR2(64
)

Name of the wait class

WAIT_TIME

NUMBER

A nonzero value is the session's last wait time. A zero value means the session is currently
waiting.

SECONDS_IN_WAI
T

NUMBER

If WAIT_TIME = 0, then SECONDS_IN_WAIT is the seconds spent in the current wait condition. If
WAIT_TIME>0, then SECONDS_IN_WAIT is the seconds since the start of the last wait, and
SECONDS_IN_WAIT - WAIT_TIME / 100 is the active seconds since the last wait ended.

STATE

VARCHAR2(19
)

Wait state:
0 - WAITING
-2 - WAITED
-1 - WAITED
>0 - WAITED

V$SESSION_WAIT_CLASS

(the session is currently waiting)


UNKNOWN TIME (duration of last wait is unknown)
SHORT TIME (last wait <1/100th of a second)
KNOWN TIME (WAIT_TIME = duration of last wait)

V$SESSION_WAIT_CLASS displays the time spent in various wait event operations on a per-session basis.
Column

Datatype

Description

SID

NUMBER

Session identifier

SERIAL#

NUMBER

Serial number

WAIT_CLASS_ID

NUMBER

Identifier of the wait class

WAIT_CLASS#

NUMBER

Number of the wait class

WAIT_CLASS

VARCHAR2(64)

Name of the wait class

TOTAL_WAITS

NUMBER

Number of times waits of the class occurred for the session

TIME_WAITED

NUMBER

Amount of time spent in the wait class by the session

V$SESSION_WAIT_HISTORY
V$SESSION_WAIT_HISTORY displays the last 10 wait events for each active session.
Column

Datatype

Description

SID

NUMBER

Session identifier

SEQ#

NUMBER

Sequence of wait events; 1 is the most recent

EVENT#

NUMBER

Event number

EVENT

VARCHAR2(64)

Resource or event for which the session is waiting

Column

Datatype

Description

P1TEXT

VARCHAR2(64)

Description of the first additional parameter

P1

NUMBER

First additional parameter

P2TEXT

VARCHAR2(64)

Description of the second additional parameter

P2

NUMBER

Second additional parameter

P3TEXT

VARCHAR2(64)

Description of the third additional parameter

P3

NUMBER

Third additional parameter

WAIT_TIME

NUMBER

A nonzero value is the session's last wait time. A zero value means the session is currently waiting.

V$PROCESS_MEMORY
V$PROCESS_MEMORY displays dynamic PGA memory usage by named component categories for each process.
Column

Datatype

Description

PID

NUMBER

Oracle process identifier

SERIAL#

NUMBER

Oracle process serial number

CATEGORY

VARCHAR2(15
)

Category name. Categories include "SQL", "PL/SQL", "OLAP" and "JAVA". Special categories are
"Freeable" and "Other". Freeable memory has been allocated to the process by the operating
system, but has not been allocated to a category. "Other" memory has been allocated to a category,
but not to one of the named categories.

ALLOCATED

NUMBER

Bytes of PGA memory allocated by the process for the category. For the "Freeable" category, it is the
amount of free PGA memory eligible to be released to the operating system.

USED

NUMBER

Bytes of PGA memory used by the process for the category. For "Freeable", the value is zero. For

Column

Datatype

Description
"Other", the value is NULL for performance reasons.

MAX_ALLOCATE
D

NUMBER

Maximum bytes of PGA memory ever allocated by the process for the category.

V$SESSMETRIC
V$SESSMETRIC displays the metric values for all sessions.
Column

Datatype

Description

BEGIN_TIME

DATE

Begin time of the interval

END_TIME

DATE

End time of the interval

INTSIZE_CSEC

NUMBER

Interval size (in hundredths of a second)

SESSION_ID

NUMBER

Session ID

SESSION_SERIAL_NUM

NUMBER

Session serial number

CPU

NUMBER

CPU usage

PHYSICAL_READS

NUMBER

Number of physical reads

LOGICAL_READS

NUMBER

Number of logical reads

PGA_MEMORY

NUMBER

PGA size at the end of the interval

HARD_PARSES

NUMBER

Number of hard parses

SOFT_PARSES

NUMBER

Number of soft parses

Column

Datatype

Description

PHYSICAL_READ_PCT

NUMBER

Physical read ratio

LOGICAL_READ_PCT

NUMBER

Logical read ratio

V$SESSTAT
This view lists user session statistics. To find the name of the statistic associated with each statistic number (STATISTIC#), query the
V$STATNAME view.

Column

Datatyp
e
Description

SID

NUMBER

Session identifier

STATISTIC
#

NUMBER

Statistic number

VALUE

NUMBER

Note: Statistics numbers are not guaranteed to remain constant from one release to another. Therefore, you
should rely on the statistics name rather than its number in your applications.
Statistic value

V$SGA
V$SGA displays summary information about the system global area (SGA).

Column

Datatype

Description

NAME

VARCHAR2(20)

SGA component group

VALUE

NUMBER

Memory size (in bytes)

V$SGA_CURRENT_RESIZE_OPS
V$SGA_CURRENT_RESIZE_OPS displays information about SGA resize operations which are currently in progress. An operation can be a
grow or a shrink of a dynamic SGA component. All sizes are expressed in bytes.
Column

Datatype

Description

COMPONENT

VARCHAR2(64)

Component name

OPER_TYPE

VARCHAR2(13)

Operation type:
STATIC
INITIALIZING
DISABLED
GROW
SHRINK
SHRINK_CANCEL

OPER_MODE

VARCHAR2(9)

Operation mode:
MANUAL
DEFERRED
IMMEDIATE

PARAMETER

VARCHAR2(80)

Name of the parameter for the resize operation

INITIAL_SIZE

NUMBER

Parameter value at the start of the operation

TARGET_SIZE

NUMBER

Desired value of the parameter after the resize

CURRENT_SIZE

NUMBER

Current value of the parameter

START_TIME

DATE

Start time of the operation

Column

Datatype

Description

LAST_UPDATE_TIME

DATE

Last time progress was made for the operation

V$SGA_DYNAMIC_COMPONENTS
V$SGA_DYNAMIC_COMPONENTS displays information about the dynamic SGA components. This view summarizes information based on
all completed SGA resize operations since instance startup. All sizes are expressed in bytes.
Column

Datatype

Description

COMPONENT

VARCHAR2(64)

Component name

CURRENT_SIZE

NUMBER

Current size of the component

MIN_SIZE

NUMBER

Minimum size of the component since instance startup

MAX_SIZE

NUMBER

Maximum size of the component since instance startup

USER_SPECIFIED_SIZE

NUMBER

Value of the user parameter for the component

OPER_COUNT

NUMBER

Number of operations since instance startup

LAST_OPER_TYPE

VARCHAR2(13)

Last completed operation for the component:


STATIC
INITIALIZING
DISABLED
GROW
SHRINK
SHRINK_CANCEL

LAST_OPER_MODE

VARCHAR2(9)

Mode

LAST_OPER_TIME

DATE

Start time of the last completed operation

GRANULE_SIZE

NUMBER

Granularity of the grow or the shrink operation

of the last completed operation:


MANUAL
DEFERRED
IMMEDIATE

V$SGA_DYNAMIC_FREE_MEMORY
V$SGA_DYNAMIC_FREE_MEMORY displays information about the amount of SGA memory available for future dynamic SGA resize
operations.
Column

Datatype

Description

CURRENT_SIZE

NUMBER

Amount of available memory (in bytes)

V$SESSION_EVENT
This view lists information on waits for an event by a session. Note that the TIME_WAITED and AVERAGE_WAIT columns will contain a
value of zero on those platforms that do not support a fast timing mechanism. If you are running on one of these platforms and you
want this column to reflect true wait times, you must set TIMED_STATISTICS to true in the parameter file. Please remember that
doing this will have a small negative effect on system performance.
See Also:
"TIMED_STATISTICS"
Column

Datatype

Description

SID

NUMBER

ID of the session

EVENT

VARCHAR2(64)

Name of the wait event


See Also:Appendix C, "Oracle Wait Events"

TOTAL_WAITS

NUMBER

Total number of waits for the event by the session

TOTAL_TIMEOUTS

NUMBER

Total number of timeouts for the event by the session

TIME_WAITED

NUMBER

Total amount of time waited for the event by the session (in hundredths of a second)

AVERAGE_WAIT

NUMBER

Average amount of time waited for the event by the session (in hundredths of a second)

MAX_WAIT

NUMBER

Maximum time waited for the event by the session (in hundredths of a second)

TIME_WAITED_MICRO

NUMBER

Total amount of time waited for the event by the session (in microseconds)

EVENT_ID

NUMBER

Identifier of the wait event

Column

Datatype

Description

WAIT_CLASS_ID

NUMBER

Identifier of the class of the wait event

WAIT_CLASS#

NUMBER

Number of the class of the wait event

WAIT_CLASS

VARCHAR2(64)

Name of the class of the wait event

V$SGA_RESIZE_OPS
V$SGA_RESIZE_OPS displays information about the last 800 completed SGA resize operations. This does not include in-progress
operations. All sizes are expressed in bytes.
Column

Datatype

Description

COMPONENT

VARCHAR2(64)

Component name

OPER_TYPE

VARCHAR2(13)

Operation type:
STATIC
INITIALIZING
DISABLED
GROW
SHRINK
SHRINK_CANCEL

OPER_MODE

VARCHAR2(9)

Operation mode:
MANUAL
DEFERRED
IMMEDIATE

PARAMETER

VARCHAR2(80)

Name of the parameter for the resize operation

INITIAL_SIZE

NUMBER

Parameter value at the start of the operation

TARGET_SIZE

NUMBER

Requested value of the parameter after the resize

FINAL_SIZE

NUMBER

Real value of the parameter after the resize

STATUS

VARCHAR2(9)

Completion status of the operation:

Column

Datatype

Description

INACTIVE
PENDING
COMPLETE
CANCELLED
ERROR

START_TIME

DATE

Start time of the operation

END_TIME

DATE

End time of the operation

V$SGA_TARGET_ADVICE
V$SGA_TARGET_ADVICE provides information about the SGA_TARGET initialization parameter.
Column

Datatype

Description

SGA_SIZE

NUMBER

Size of the SGA

SGA_SIZE_FACTOR

NUMBER

Ratio between the SGA_SIZE and the current size of the SGA

ESTD_DB_TIME

NUMBER

Estimated DB_TIME for this SGA_SIZE

ESTD_DB_TIME_FACTOR

NUMBER

Ratio between ESTD_DB_TIME and DB_TIME for the current size of the SGA

ESTD_PHYSICAL_READS

NUMBER

Estimated number of physical reads

V$SGAINFO
V$SGAINFO displays size information about the SGA, including the sizes of different SGA components, the granule size, and free
memory.
Column

Datatype

Description

NAME

VARCHAR2(32)

Name of the SGA statistic

BYTES

NUMBER

Size of the statistic (in bytes)

RESIZEABLE

VARCHAR2(3)

Indicates whether the statistic is resizeable (YES) or not (NO)

V$SGASTAT
V$SGASTAT displays detailed information on the system global area (SGA).
Column

Datatype

Description

POOL

VARCHAR2(12)

Designates the pool in which the memory in NAME resides:


shared pool - Memory is allocated from the shared pool
large pool - Memory is allocated from the large pool
java pool - Memory is allocated from the Java pool
streams pool - Memory is allocated from the Streams pool

NAME

VARCHAR2(26)

SGA component name

BYTES

NUMBER

Memory size in bytes

V$SHARED_POOL_ADVICE
V$SHARED_POOL_ADVICE displays information about estimated parse time in the shared pool for different pool sizes. The sizes range
from 10% of the current shared pool size or the amount of pinned library cache memory (whichever is higher) to 200% of the current
shared pool size, in equal intervals. The value of the interval depends on the current size of the shared pool.

Column

Datatyp
e
Description

SHARED_POOL_SIZE_FOR_ESTIMAT
E

NUMBER

Shared pool size for the estimate (in megabytes)

SHARED_POOL_SIZE_FACTOR

NUMBER

Size factor with respect to the current shared pool size

ESTD_LC_SIZE

NUMBER

Estimated memory in use by the library cache (in megabytes)

ESTD_LC_MEMORY_OBJECTS

NUMBER

Estimated number of library cache memory objects in the shared pool of the specified
size

ESTD_LC_TIME_SAVED

NUMBER

Estimated elapsed parse time saved (in seconds), owing to library cache memory
objects being found in a shared pool of the specified size. This is the time that would
have been spent in reloading the required objects in the shared pool had they been
aged out due to insufficient amount of available free memory.

ESTD_LC_TIME_SAVED_FACTOR

NUMBER

Estimated parse time saved factor with respect to the current shared pool size

ESTD_LC_LOAD_TIME

NUMBER

Estimated elapsed time (in seconds) for parsing in a shared pool of the specified size

ESTD_LC_LOAD_TIME_FACTOR

NUMBER

Estimated load time factor with respect to the current shared pool size

ESTD_LC_MEMORY_OBJECT_HITS

NUMBER

Estimated number of times a library cache memory object was found in a shared pool
of the specified size

V$SHARED_POOL_RESERVED
This fixed view lists statistics that help you tune the reserved pool and space within the shared pool.

Column

Datatyp
e
Description

The following columns of V$SHARED_POOL_RESERVED are valid only if the initialization parameter SHARED_POOL_RESERVED_SIZE is set
to a valid value.
See Also:"SHARED_POOL_RESERVED_SIZE"
FREE_SPACE

NUMBER

Total amount of free space on the reserved list

AVG_FREE_SIZE

NUMBER

Average size of the free memory on the reserved list

FREE_COUNT

NUMBER

Number of free pieces of memory on the reserved list

MAX_FREE_SIZE

NUMBER

Size of the largest free piece of memory on the reserved list

USED_SPACE

NUMBER

Total amount of used memory on the reserved list

AVG_USED_SIZE

NUMBER

Average size of the used memory on the reserved list

USED_COUNT

NUMBER

Number of used pieces of memory on the reserved list

MAX_USED_SIZE

NUMBER

Size of the largest used piece of memory on the reserved list

REQUESTS

NUMBER

Number of times that the reserved list was searched for a free piece of memory

REQUEST_MISSES

NUMBER

Number of times the reserved list did not have a free piece of memory to satisfy the

Column

Datatyp
e
Description
request, and started flushing objects from the LRU list

LAST_MISS_SIZE

NUMBER

Request size of the last request miss, when the reserved list did not have a free piece of
memory to satisfy the request and started flushing objects from the LRU list

MAX_MISS_SIZE

NUMBER

Request size of the largest request miss, when the reserved list did not have a free piece of
memory to satisfy the request and started flushing objects from the LRU list

The following columns of V$SHARED_POOL_RESERVED contain values which are valid even if SHARED_POOL_RESERVED_SIZE is not set.
REQUEST_FAILURES

NUMBER

Number of times that no memory was found to satisfy a request (that is, the number of
times the error ORA-04031 occurred)

LAST_FAILURE_SIZE

NUMBER

Request size of the last failed request (that is, the request size for the last ORA-04031 error)

ABORTED_REQUEST_THRESHOL
D

NUMBER

Minimum size of a request which signals an ORA-04031 error without flushing objects

ABORTED_REQUESTS

NUMBER

Number of requests that signalled an ORA-04031 error without flushing objects

LAST_ABORTED_SIZE

NUMBER

Last size of the request that returned an ORA-04031 error without flushing objects from the
LRU list

V$SHARED_SERVER
This view contains information on the shared server processes.
Column

Datatype

Description

NAME

VARCHAR2(4)

Name of the server

PADDR

RAW(4 | 8)

Server's process address

STATUS

VARCHAR2(16)

Server status:
EXEC - Executing SQL
WAIT (ENQ) - Waiting for a lock
WAIT (SEND) - Waiting to send data to user
WAIT (COMMON) - Idle; waiting for a user request
WAIT (RESET) - Waiting for a circuit to reset after a break
QUIT - Terminating

MESSAGES

NUMBER

Number of messages processed

BYTES

NUMBER

Total number of bytes in all messages

BREAKS

NUMBER

Number of breaks

CIRCUIT

RAW(4 | 8)

Address of circuit currently being serviced

Column

Datatype

Description

IDLE

NUMBER

Total idle time (in hundredths of a second)

BUSY

NUMBER

Total busy time (in hundredths of a second)

REQUESTS

NUMBER

Total number of requests taken from the common queue in this server's lifetime

V$SHARED_SERVER_MONITOR
This view contains information for tuning the shared server.

Column
MAXIMUM_CONNECTION
S

Datatyp
e
Description
NUMBER

Highest number of virtual circuits in use at one time since the instance started. If this value
reaches the value set for the CIRCUITS initialization parameter, then consider raising the value of
CIRCUITS.
See Also:"CIRCUITS"

MAXIMUM_SESSIONS

NUMBER

Highest number of shared server sessions in use at one time since the instance started. If this
reaches the value set for the SHARED_SERVER_SESSIONS initialization parameter, then consider
raising the value of SHARED_SERVER_SESSIONS.
See Also:"SHARED_SERVER_SESSIONS"

SERVERS_STARTED

NUMBER

Total number of shared servers started since the instance started (but not including those started
during startup)

SERVERS_TERMINATED

NUMBER

Total number of shared servers stopped by Oracle since the instance started

Column

Datatyp
e
Description

SERVERS_HIGHWATER

NUMBER

Highest number of servers running at one time since the instance started. If this value reaches the
value set for the MAX_SHARED_SERVERS initialization parameter, then consider raising the value of
SHARED_SERVERS.

V$SORT_SEGMENT
This view contains information about every sort segment in a given instance. The view is only updated when the tablespace is of the
TEMPORARY type.
Column

Datatype

Description

TABLESPACE_NAME

VARCHAR2(31)

Name of tablespace

SEGMENT_FILE

NUMBER

File number of the first extent

SEGMENT_BLOCK

NUMBER

Block number of the first extent

EXTENT_SIZE

NUMBER

Extent size

CURRENT_USERS

NUMBER

Number of active users of the segment

TOTAL_EXTENTS

NUMBER

Total number of extents in the segment

TOTAL_BLOCKS

NUMBER

Total number of blocks in the segment

USED_EXTENTS

NUMBER

Extents allocated to active sorts

USED_BLOCKS

NUMBER

Blocks allocated to active sorts

Column

Datatype

Description

FREE_EXTENTS

NUMBER

Extents not allocated to any sort

FREE_BLOCKS

NUMBER

Blocks not allocated to any sort

ADDED_EXTENTS

NUMBER

Number of extent allocations

EXTENT_HITS

NUMBER

Number of times an unused extent was found in the pool

FREED_EXTENTS

NUMBER

Number of deallocated extents

FREE_REQUESTS

NUMBER

Number of requests to deallocate

MAX_SIZE

NUMBER

Maximum number of extents ever used

MAX_BLOCKS

NUMBER

Maximum number of blocks ever used

MAX_USED_SIZE

NUMBER

Maximum number of extents used by all sorts

MAX_USED_BLOCKS

NUMBER

Maximum number of blocks used by all sorts

MAX_SORT_SIZE

NUMBER

Maximum number of extents used by an individual sort

MAX_SORT_BLOCKS

NUMBER

Maximum number of blocks used by an individual sort

RELATIVE_FNO

NUMBER

Relative file number of the sort segment header

V$SPPARAMETER
V$SPPARAMETER displays information about the contents of the server parameter file. If a server parameter file was not used to start
the instance, then each row of the view will contain FALSE in the ISSPECIFIED column.
Column

Datatype

Description

SID

VARCHAR2(80)

SID for which the parameter is defined

NAME

VARCHAR2(80)

Name of the parameter

VALUE

VARCHAR2(255
)

Parameter value (null if a server parameter file was not used to start the instance)

DISPLAY_VALUE

VARCHAR2(255
)

Parameter value in a user-friendly format. For example, if the VALUE column shows the value
262144 for a big integer parameter, then the DISPLAY_VALUE column will show the value 256K.

ISSPECIFIED

VARCHAR2(6)

Indicates whether the parameter was specified in the server parameter file (TRUE) or not (FALSE)

ORDINAL

NUMBER

Position (ordinal number) of the parameter value (0 if a server parameter file was not used to start
the instance). Useful only for parameters whose values are lists of strings.

UPDATE_COMMEN
T

VARCHAR2(255
)

Comments associated with the most recent update (null if a server parameter file was not used to
start the instance)

V$SQL
V$SQL lists statistics on shared SQL area without the GROUP BY clause and contains one row for each child of the original SQL text
entered. Statistics displayed in V$SQL are normally updated at the end of query execution. However, for long running queries, they are
updated every 5 seconds. This makes it easy to see the impact of long running SQL statements while they are still in progress.
Column

Datatype

Description

SQL_TEXT

VARCHAR2(1000
)

First thousand characters of the SQL text for the current cursor

SQL_FULLTEXT

CLOB

Full text for the SQL statement exposed as a CLOB column. The full text of a SQL
statement can be retrieved using this column instead of joining with the V$SQL_TEXT
dynamic performance view.

SQL_ID

VARCHAR2(13)

SQL identifier of the parent cursor in the library cache

SHARABLE_MEM

NUMBER

Amount of shared memory used by the child cursor (in bytes)

PERSISTENT_MEM

NUMBER

Fixed amount of memory used for the lifetime of the child cursor (in bytes)

RUNTIME_MEM

NUMBER

Fixed amount of memory required during the execution of the child cursor

SORTS

NUMBER

Number of sorts that were done for the child cursor

LOADED_VERSIONS

NUMBER

Indicates whether the context heap is loaded (1) or not (0)

OPEN_VERSIONS

NUMBER

Indicates whether the child cursor is locked (1) or not (0)

USERS_OPENING

NUMBER

Number of users executing the statement

FETCHES

NUMBER

Number of fetches associated with the SQL statement

EXECUTIONS

NUMBER

Number of executions that took place on this object since it was brought into the
library cache

Column

Datatype

Description

PX_SERVERS_EXECUTIONS

NUMBER

Total number of executions performed by Parallel eXecution Servers. The value is 0


when the statement has never been executed in parallel.

END_OF_FETCH_COUNT

NUMBER

Number of times this cursor was fully executed since the cursor was brought into the
library cache. The value of this statistic is not incremented when the cursor is
partially executed, either because it failed during the execution or because only the
first few rows produced by this cursor are fetched before the cursor is closed or reexecuted. By definition, the value of the END_OF_FETCH_COUNT column should be less
or equal to the value of the EXECUTIONS column.

USERS_EXECUTING

NUMBER

Number of users executing the statement

LOADS

NUMBER

Number of times the object was either loaded or reloaded

FIRST_LOAD_TIME

VARCHAR2(19)

Timestamp of the parent creation time

INVALIDATIONS

NUMBER

Number of times this child cursor has been invalidated

PARSE_CALLS

NUMBER

Number of parse calls for this child cursor

DISK_READS

NUMBER

Number of disk reads for this child cursor

DIRECT_WRITES

NUMBER

Number of direct writes for this child cursor

BUFFER_GETS

NUMBER

Number of buffer gets for this child cursor

APPLICATION_WAIT_TIME

NUMBER

Application wait time (in microseconds)

CONCURRENCY_WAIT_TIME

NUMBER

Concurrency wait time (in microseconds)

CLUSTER_WAIT_TIME

NUMBER

Cluster wait time (in microseconds)

USER_IO_WAIT_TIME

NUMBER

User I/O Wait Time (in microseconds)

PLSQL_EXEC_TIME

NUMBER

PL/SQL execution time (in microseconds)

JAVA_EXEC_TIME

NUMBER

Java execution time (in microseconds)

ROWS_PROCESSED

NUMBER

Total number of rows the parsed SQL statement returns

COMMAND_TYPE

NUMBER

Oracle command type definition

OPTIMIZER_MODE

VARCHAR2(10)

Mode under which the SQL statement is executed

OPTIMIZER_COST

NUMBER

Cost of this query given by the optimizer

Column

Datatype

Description

OPTIMIZER_ENV

RAW(691)

Optimizer environment

OPTIMIZER_ENV_HASH_VALU
E

NUMBER

Hash value for the optimizer environment

PARSING_USER_ID

NUMBER

User ID of the user who originally built this child cursor

PARSING_SCHEMA_ID

NUMBER

Schema ID that was used to originally build this child cursor

PARSING_SCHEMA_NAME

VARCHAR2(30)

Schema name that was used to originally build this child cursor

KEPT_VERSIONS

NUMBER

Indicates whether this child cursor has been marked to be kept pinned in the cache
using the DBMS_SHARED_POOL package

ADDRESS

RAW(4 | 8)

Address of the handle to the parent for this cursor

TYPE_CHK_HEAP

RAW(4)

Descriptor of the type check heap for this child cursor

HASH_VALUE

NUMBER

Hash value of the parent statement in the library cache

OLD_HASH_VALUE

NUMBER

Old SQL hash value

PLAN_HASH_VALUE

NUMBER

Numerical representation of the SQL plan for this cursor. Comparing one
PLAN_HASH_VALUE to another easily identifies whether or not two plans are the same
(rather than comparing the two plans line by line).

CHILD_NUMBER

NUMBER

Number of this child cursor

SERVICE

VARCHAR2(64)

Service name

SERVICE_HASH

NUMBER

Hash value for the name listed in SERVICE

MODULE

VARCHAR2(64)

Contains the name of the module that was executing at the time that the SQL
statement was first parsed, which is set by calling
DBMS_APPLICATION_INFO.SET_MODULE

MODULE_HASH

NUMBER

Hash value of the module listed in the MODULE column

ACTION

VARCHAR2(64)

Contains the name of the action that was executing at the time that the SQL
statement was first parsed, which is set by calling
DBMS_APPLICATION_INFO.SET_ACTION

ACTION_HASH

NUMBER

Hash value of the action listed in the ACTION column

SERIALIZABLE_ABORTS

NUMBER

Number of times the transaction fails to serialize, producing ORA-08177 errors, per

Column

Datatype

Description
cursor

OUTLINE_CATEGORY

VARCHAR2(64)

If an outline was applied during construction of the cursor, then this column displays
the category of that outline. Otherwise the column is left blank.

CPU_TIME

NUMBER

CPU time (in microseconds) used by this cursor for parsing, executing, and fetching

ELAPSED_TIME

NUMBER

Elapsed time (in microseconds) used by this cursor for parsing, executing, and
fetching

OUTLINE_SID

NUMBER

Outline session identifier

CHILD_ADDRESS

RAW(4 | 8)

Address of the child cursor

SQLTYPE

NUMBER

Denotes the version of the SQL language used for this statement

REMOTE

VARCHAR2(1)

Indicates whether the cursor is remote mapped (Y) or not (N)

OBJECT_STATUS

VARCHAR2(19)

Status

LITERAL_HASH_VALUE

NUMBER

Hash value of the literals which are replaced with system-generated bind variables
and are to be matched, when CURSOR_SHARING is used. This is not the hash value for
the SQL statement. If CURSOR_SHARING is not used, then the value is 0.

LAST_LOAD_TIME

VARCHAR2(19)

Time at which the query plan (heap 6) was loaded into the library cache

IS_OBSOLETE

VARCHAR2(1)

Indicates whether the cursor has become obsolete (Y) or not (N). This can happen if
the number of child cursors is too large.

CHILD_LATCH

NUMBER

Child latch number that is protecting the cursor

SQL_PROFILE

VARCHAR2(64)

SQL profile

PROGRAM_ID

NUMBER

Program identifier

PROGRAM_LINE#

NUMBER

Program line number

EXACT_MATCHING_SIGNATUR

NUMBER

Signature calculated on the normalized SQL text. The normalization includes the

of the cursor:
VALID - Valid, authorized without errors
VALID_AUTH_ERROR - Valid, authorized with authorization errors
VALID_COMPILE_ERROR - Valid, authorized with compilation errors
VALID_UNAUTH - Valid, unauthorized
INVALID_UNAUTH - Invalid, unauthorized
INVALID - Invalid, unauthorized but keep the timestamp

Column

Datatype

Description
removal of white space and the uppercasing of all non-literal strings.

E
FORCE_MATCHING_SIGNATUR
E

NUMBER

The signature used when the CURSOR_SHARING parameter is set to FORCE

LAST_ACTIVE_TIME

DATE

TIme at which the query plan was last active

BIND_DATA

RAW(2000)

Bind data

V$SQL_BIND_CAPTURE
V$SQL_BIND_CAPTURE displays information on bind variables used by SQL cursors. Each row in the view contains information for one
bind variable defined in a cursor. This includes:

Reference to the cursor defining the bind variable


(hash_value, address) for the parent cursor and (hash_value, child_address) for the child cursor.

Bind metadata
Name, position, datatype, character set ID, precision, scale, and maximum length of the bind variable.

Bind data
One of the bind values used for the bind variable during a past execution of its associated SQL statement. Bind values are not
always captured for this view. Bind values are displayed by this view only when the type of the bind variable is simple (this
excludes LONG, LOB, and ADT datatypes) and when the bind variable is used in the WHERE or HAVING clauses of the SQL
statement.

Bind capture is disabled when the STATISTICS_LEVEL initialization parameter is set to BASIC. This view can be joined with V$SQLAREA
on (HASH_VALUE, ADDRESS) and with V$SQL on (HASH_VALUE, CHILD_ADDRESS).
Column

Datatype

Description

ADDRESS

RAW(4 | 8)

Address of the parent cursor

HASH_VALUE

NUMBER

Hash value of the parent cursor in the library cache. The hash value is a fixed index for the view
and should always be used to speed up the access to the view.

SQL_ID

VARCHAR2(13)

SQL identifier of the parent cursor in the library cache

CHILD_ADDRESS

RAW(4 | 8)

Address of the parent cursor

CHILD_NUMBER

NUMBER

Child cursor number

NAME

VARCHAR2(30)

Name of the bind variable

POSITION

NUMBER

Position of the bind variable in the SQL statement

DUP_POSITION

NUMBER

If the binding is performed by name and the bind variable is duplicated, then this column gives
the position of the primary bind variable.

DATATYPE

NUMBER

Internal identifier for the bind datatype

DATATYPE_STRIN
G

VARCHAR2(15)

Textual representation of the bind datatype

CHARACTER_SID

NUMBER

National character set identifier

PRECISION

NUMBER

Precision (for numeric binds)

SCALE

NUMBER

Scale (for numeric binds)

MAX_LENGTH

NUMBER

Maximum bind length

WAS_CAPTURED

VARCHAR2(3)

Indicates whether the bind value was captured (YES) or not (NO)

LAST_CAPTURED

DATE

Date when the bind value was captured. Bind values are captured when SQL statements are

Column

Datatype

Description
executed. To limit the overhead, binds are captured at most every 15 minutes for a given cursor.

VALUE_STRING

VARCHAR2(4000
)

Value of the bind represented as a string

VALUE_ANYDATA

ANYDATA

Value of the bind represented using the self-descriptive Sys.AnyData datatype. This
representation is useful to programmatically decode the value of the bind variable.

V$SESSION_CONNECT_INFO
This view displays information about network connections for the current session.
Column

Datatype

Description

SID

NUMBER

Session identifier (can be used to join this view with V$SESSION)

AUTHENTICATION_TYPE

VARCHAR2(26)

How the user was authenticated:


DATABASE - Username/password authentication
OS - Operating system external user authentication
NETWORK - Network protocol or ANO authentication
PROXY - OCI proxy connection authentication
SERVER
PASSWORD
EXTERNAL ADAPTERS
INTERNAL
GLOBAL
EXTERNAL
PASSWORD BASED GLOBAL USER

OSUSER

VARCHAR2(30)

External username for this database user

NETWORK_SERVICE_BANNER

VARCHAR2(4000)

Product banners for each Oracle Net service used for this connection (one row per
banner)

V$SQL_BIND_DATA
For each distinct bind variable in each cursor owned by the session querying this view, this view describes:

Actual bind data, if the bind variable is user defined

The underlying literal, if the CURSOR_SHARING parameter is set to FORCE and the bind variable is system generated. (Systemgenerated binds have a value of 256 in the SHARED_FLAG2 column.)
Column

Datatype

Description

CURSOR_NUM

NUMBER

Cursor number for this bind

POSITION

NUMBER

Bind position

DATATYPE

NUMBER

Bind datatype

SHARED_MAX_LEN

NUMBER

Shared maximum length for this bind from the shared cursor object associated with this
bind

PRIVATE_MAX_LEN

NUMBER

Private maximum length for this bind sent from the client

ARRAY_SIZE

NUMBER

Maximum number of array elements (for array binds only)

PRECISION

NUMBER

Precision (for numeric binds)

SCALE

NUMBER

Scale (for numeric binds)

SHARED_FLAG

NUMBER

Shared bind data flags

SHARED_FLAG2

NUMBER

Shared bind data flags (continued)

BUF_ADDRESS

RAW(4 | 8)

Bind buffer memory address

BUF_LENGTH

NUMBER

Bind buffer length

VAL_LENGTH

NUMBER

Actual bind value length

Column

Datatype

Description

BUF_FLAG

NUMBER

Bind buffer flags

INDICATOR

NUMBER

Bind indicator

VALUE

VARCHAR2(4000)

Contents of the bind buffer

V$SQL_BIND_METADATA
For each distinct bind variable in each cursor owned by the session querying this view, this view describes:

Bind metadata provided by the client, if the bind variable is user defined

Metadata based on the underlying literal, if the CURSOR_SHARING parameter is set to FORCE and the bind variable is systemgenerated.
Column

Datatype

Description

ADDRESS

RAW(4 | 8)

Memory address of the child cursor that owns this bind variable

POSITION

NUMBER

Bind position

DATATYPE

NUMBER

Bind datatype

MAX_LENGTH

NUMBER

Maximum length of the bind value

ARRAY_LEN

NUMBER

Maximum number of array elements (for array binds only)

Column

Datatype

Description

BIND_NAME

VARCHAR2(30)

User-defined or system-generated bind variable name (if used)

V$SQL_CURSOR
This view displays debugging information for each cursor associated with the session querying this view.
Column

Datatype

Description

CURNO

NUMBER

Cursor number

FLAG

NUMBER

Flags set in the cursor

STATUS

VARCHAR2(9)

Status of the cursor; that is, what state the cursor is in

PARENT_HANDLE

RAW(4 | 8)

Pointer to the parent cursor handle

PARENT_LOCK

RAW(4 | 8)

Pointer to the parent cursor lock

CHILD_LOCK

RAW(4 | 8)

Pointer to the child cursor lock

CHILD_PIN

RAW(4 | 8)

Pointer to the child cursor pin

PERS_HEAP_MEM

NUMBER

Total amount of memory allocated from persistent heap for this cursor

WORK_HEAP_MEM

NUMBER

Total amount of memory allocated from the work heap for this cursor

BIND_VARS

NUMBER

Total number of bind positions in the query currently parsed into this cursor

DEFINE_VARS

NUMBER

Total number of define variables in the query currently parsed into this cursor

BIND_MEM_LOC

VARCHAR2(64)

Which memory heap the bind variables are stored in: either the UGA or the CGA

INST_FLAG

VARCHAR2(64)

Instantiation object flags

INST_FLAG2

VARCHAR2(64)

Instantiation object flags (continued)

V$SQL_JOIN_FILTER
V$SQL_JOIN_FILTER displays performance information about the characteristics of join filters when they are used for a parallel cursor.
(A join filter is a bitmap filter applied to table rows prior to a join operation in order to avoid parallel communication.)

Column

Datatyp
e
Description

QC_SESSION_ID

NUMBER

QC (Query Coordinator) session ID of the given cursor for the given parallel query

QC_INSTANCE_ID

NUMBER

QC (Query Coordinator) instance ID of the given cursor for the given parallel query

SQL_PLAN_HASH_VALU
E

NUMBER

SQL plan hash value of the given cursor for the given parallel query

LENGTH

NUMBER

Total size of the join filter field

BITS_SET

NUMBER

Number of bits set in this filter

FILTERED

NUMBER

Number of rows seen by the join filter

PROBED

NUMBER

Number of rows of the right table that have be tested against the bitmap filter. This is the sum of
the filtered rows plus the non-filtered rows.

ACTIVE

NUMBER

Whether the filter is active (Yes) or not (No)

V$SQL_OPTIMIZER_ENV
V$SQL_OPTIMIZER_ENV displays the contents of the optimizer environment used to build the execution plan of a SQL cursor. This view
can be joined with V$SQLAREA on (HASH_VALUE, ADDRESS) and with V$SQL on (HASH_VALUE, CHILD_ADDRESS).
Column

Datatype

Description

ADDRESS

RAW(4 | 8)

Address of the parent cursor

HASH_VALUE

NUMBER

Hash value of the parent cursor in the library cache. The hash value is the fixed index for the view
and should be used when querying V$SQL_OPTIMIZER_ENV to avoid scanning the entire library cache.

SQL_ID

VARCHAR2(13
)

SQL identifier

CHILD_ADDRES
S

RAW(4 | 8)

Address of the child cursor

Column

Datatype

Description

CHILD_NUMBER

NUMBER

Child cursor number

ID

NUMBER

Unique identifier of the parameter in the optimizer environment

NAME

VARCHAR2(40
)

Name of the parameter

ISDEFAULT

VARCHAR2(3)

Indicates whether the parameter is set to the default value (YES) or not (NO)

VALUE

VARCHAR2(25
)

Value of the parameter

V$SQL_PLAN
V$SQL_PLAN contains the execution plan information for each child cursor loaded in the library cache.
Column

Datatype

Description

ADDRESS

RAW(4 | 8)

Address of the handle to the parent for this cursor

HASH_VALUE

NUMBER

Hash value of the parent statement in the library cache. The two columns ADDRESS and
HASH_VALUE can be used to join with V$SQLAREA to add the cursor-specific information.

SQL_ID

VARCHAR2(13)

SQL identifier of the parent cursor in the library cache

PLAN_HASH_VALUE

NUMBER

Numerical representation of the SQL plan for the cursor. Comparing one PLAN_HASH_VALUE to
another easily identifies whether or not two plans are the same (rather than comparing the
two plans line by line).

CHILD_NUMBER

NUMBER

Number of the child cursor that uses this execution plan. The columns ADDRESS, HASH_VALUE,
and CHILD_NUMBER can be used to join with V$SQL to add the child cursor-specific information.

OPERATION

VARCHAR2(30)

Name of the internal operation performed in this step (for example, TABLE ACCESS)

Column

Datatype

Description

OPTIONS

VARCHAR2(30)

A variation on the operation described in the OPERATION column (for example, FULL)

OBJECT_NODE

VARCHAR2(40)

Name of the database link used to reference the object (a table name or view name). For
local queries that use parallel execution, this column describes the order in which output from
operations is consumed.

OBJECT#

NUMBER

Object number of the table or the index

OBJECT_OWNER

VARCHAR2(31)

Name of the user who owns the schema containing the table or index

OBJECT_NAME

VARCHAR2(31)

Name of the table or index

OBJECT_ALIAS

VARCHAR2(65)

Alias for the object

OBJECT_TYPE

VARCHAR2(20)

Type of the object

OPTIMIZER

VARCHAR2(20)

Current mode of the optimizer for the first row in the plan (statement line), for example,
CHOOSE. When the operation is a database access (for example, TABLE ACCESS), this column
indicates whether or not the object is analyzed.

ID

NUMBER

A number assigned to each step in the execution plan

PARENT_ID

NUMBER

ID of the next execution step that operates on the output of the current step

DEPTH

NUMBER

Depth (or level) of the operation in the tree. It is not necessary to issue a CONNECT BY
statement to get the level information, which is generally used to indent the rows from the
PLAN_TABLE table. The root operation (statement) is level 0.

POSITION

NUMBER

Order of processing for all operations that have the same PARENT_ID

SEARCH_COLUMNS

NUMBER

Number of index columns with start and stop keys (that is, the number of columns with

Column

Datatype

Description
matching predicates)

COST

NUMBER

Cost of the operation as estimated by the optimizer's cost-based approach. For statements
that use the rule-based approach, this column is null.

CARDINALITY

NUMBER

Estimate, by the cost-based optimizer, of the number of rows produced by the operation

BYTES

NUMBER

Estimate, by the cost-based optimizer, of the number of bytes produced by the operation

OTHER_TAG

VARCHAR2(35)

Describes the contents of the OTHER column. See EXPLAIN PLAN for values.

PARTITION_START

VARCHAR2(5)

Start partition of a range of accessed partitions

PARTITION_STOP

VARCHAR2(5)

Stop partition of a range of accessed partitions

PARTITION_ID

NUMBER

Step that computes the pair of values of the PARTITION_START and PARTITION_STOP columns

OTHER

VARCHAR2(4000
)

Other information specific to the execution step that users may find useful. See EXPLAIN
PLAN for values.

DISTRIBUTION

VARCHAR2(20)

Stores the method used to distribute rows from producer query servers to consumer query
servers

CPU_COST

NUMBER

CPU cost of the operation as estimated by the optimizer's cost-based approach. For
statements that use the rule-based approach, this column is null.

IO_COST

NUMBER

I/O cost of the operation as estimated by the optimizer's cost-based approach. For statements
that use the rule-based approach, this column is null.

TEMP_SPACE

NUMBER

Temporary space usage of the operation (sort or hash-join) as estimated by the optimizer's

Column

Datatype

Description
cost-based approach. For statements that use the rule-based approach, this column is null.

ACCESS_PREDICATE
S

VARCHAR2(4000
)

Predicates used to locate rows in an access structure. For example, start or stop predicates
for an index range scan.

FILTER_PREDICATE
S

VARCHAR2(4000
)

Predicates used to filter rows before producing them

PROJECTION

VARCHAR2(4000
)

Expressions produced by the operation

TIME

NUMBER

Elapsed time (in seconds) of the operation as estimated by the optimizer's cost-based
approach. For statements that use the rule-based approach, this column is null.

QBLOCK_NAME

VARCHAR2(31)

Name of the query block

REMARKS

VARCHAR2(4000
)

Remarks

OTHER_XML

CLOB

Provides extra information specific to an execution step of the execution plan. The content of
this column is structured using XML since multiple pieces of information can be stored there.
This includes:

Name of the schema against which the query was parsed


Release number of the Oracle Database that produced the explain plan
Hash value associated with the execution plan
Name (if any) of the outline or the SQL profile used to build the execution plan
Indication of whether or not dynamic sampling was used to produce the plan
The outline data, a set of optimizer hints that can be used to regenerate the same
plan

V$SQL_PLAN_STATISTICS
V$SQL_PLAN_STATISTICS provides execution statistics at the row source level for each child cursor.
Column

Datatype

Description

ADDRESS

RAW(4 | 8)

Address of the handle to the parent for this cursor

HASH_VALUE

NUMBER

Hash value of the parent statement in the library cache. The two columns ADDRESS and
HASH_VALUE can be used to join with V$SQLAREA to locate the parent cursor.

SQL_ID

VARCHAR2(13
)

SQL identifier of the parent statement in the library cache

PLAN_HASH_VALUE

NUMBER

Numerical representation of the SQL plan for this cursor. Comparing one PLAN_HASH_VALUE to
another easily identifies whether or not two plans are the same (rather than comparing the
two plans line by line)

CHILD_NUMBER

NUMBER

Number of the child cursor that uses this work area. The columns ADDRESS, HASH_VALUE, and
CHILD_NUMBER can be used to join with V$SQL to locate the child cursor using this area.

OPERATION_ID

NUMBER

A number assigned to each step in the execution plan

EXECUTIONS

NUMBER

Number of times this cursor has been executed

LAST_STARTS

NUMBER

Number of times this operation has been started, during the last execution

STARTS

NUMBER

Number of times this operation has been started, accumulated over the past executions

LAST_OUTPUT_ROWS

NUMBER

Number of rows produced by the row source, during the last execution

OUTPUT_ROWS

NUMBER

Number of rows produced by the row source, accumulated over the past executions

LAST_CR_BUFFER_GET
S

NUMBER

Number of buffers retrieved in consistent mode, during the last execution. Buffers are usually
retrieved in consistent mode for queries.

CR_BUFFER_GETS

NUMBER

Number of buffers retrieved in consistent mode, accumulated over the past executions.
Buffers are usually retrieved in consistent mode for queries.

LAST_CU_BUFFER_GET
S

NUMBER

Number of buffers retrieved in current mode, during the last execution. Buffers are retrieved
in current mode for statements such as INSERT, UPDATE, and DELETE.

CU_BUFFER_GETS

NUMBER

Number of buffers retrieved in current mode, accumulated over the past executions. Buffers

Column

Datatype

Description
are retrieved in current mode for statements such as INSERT, UPDATE, and DELETE.

LAST_DISK_READS

NUMBER

Number of physical disk reads performed by the operation, during the last execution

DISK_READS

NUMBER

Number of physical disk reads performed by the operation, accumulated over the past
executions

LAST_DISK_WRITES

NUMBER

Number of physical disk writes performed by the operation, during the last execution

DISK_WRITES

NUMBER

Number of physical disk writes performed by the operation, accumulated over the past
executions

LAST_ELAPSED_TIME

NUMBER

Elapsed time (in microseconds) corresponding to this operation, during the last execution

ELAPSED_TIME

NUMBER

Elapsed time (in microseconds) corresponding to this operation, accumulated over the past
executions

V$SESSION_CURSOR_CACHE
This view displays information on cursor usage for the current session.
Note:
The V$SESSION_CURSOR_CACHE view is not a measure of the effectiveness of the SESSION_CACHED_CURSORS initialization parameter.

Column

Datatyp
e
Description

MAXIMUM

NUMBER

Maximum number of cursors to cache. Once you hit this number, some cursors will need to be closed in
order to open more. The value in this column is derived from the initialization parameter OPEN_CURSORS.

COUNT

NUMBER

The current number of cursors (whether they are in use or not)

OPENED_ONC
E

NUMBER

Number of cursors opened at least once

OPEN

NUMBER

Current number of open cursors

OPENS

NUMBER

Cumulative total of cursor opens minus one. This is because the cursor that is currently open and being
used for this query is not counted in the OPENS statistic.

HITS

NUMBER

Cumulative total of cursor open hits

Column

Datatyp
e
Description

HIT_RATIO

NUMBER

Ratio of the number of times an open cursor was found divided by the number of times a cursor was sought

V$SQL_REDIRECTION
V$SQL_REDIRECTION identifies SQL statements that are redirected.
Column

Datatype

Description

ADDRESS

RAW(4 | 8)

Address of the cursor handle

PARENT_HANDLE

RAW(4 | 8)

Address of the parent cursor handle

HASH_VALUE

NUMBER

Hash value of the SQL statement

SQL_ID

VARCHAR2(13)

SQL identifier of the SQL statement

CHILD_NUMBER

NUMBER

Number of the child (instance) for the hash

PARSING_USER_ID

NUMBER

Parsing user ID

PARSING_SCHEMA_ID

NUMBER

Parsing schema ID

COMMAND_TYPE

NUMBER

SELECT, UPDATE, INSERT, MERGE

REASON

VARCHAR2(14)

Reason for redirection ('INVALID OBJECT', 'ROWID', 'QUERY REWRITE', 'READ ONLY')

ERROR_CODE

NUMBER

Error code for local parse

POSITION

NUMBER

Error position, 0 if unknown

SQL_TEXT_PIECE

VARCHAR2(1000) SQL Text containing position, usually a (qualified) identifier

ERROR_MESSAGE

VARCHAR2(1000) Error code's corresponding error message resolved in the database language, no arguments
resolved

V$DATABASE_BLOCK_CORRUPTION
V$DATABASE_BLOCK_CORRUPTION displays information about database blocks that were corrupted after the last backup.

Column

Datatype

Description

FILE#

NUMBER

Absolute file number of the datafile that contains the corrupt blocks

BLOCK#

NUMBER

Block number of the first corrupt block in the range of corrupted blocks

BLOCKS

NUMBER

Number of corrupted blocks found starting with BLOCK#

CORRUPTION_CHANGE
#

NUMBER

Change number at which the logical corruption was detected. Set to 0 to indicate media
corruption.

CORRUPTION_TYPE

VARCHAR2(9
)

Type of block corruption in the datafile:

ALL ZERO - Block header on disk contained only zeros. The block may be valid if it was never filled and if it
is in an Oracle7 file. The buffer will be reformatted to the Oracle8 standard for an empty block.

FRACTURED - Block header looks reasonable, but the front and back of the block are different versions.

CHECKSUM - optional check value shows that the block is not self-consistent. It is impossible to determine
exactly why the check value fails, but it probably fails because sectors in the middle of the block are from
different versions.

CORRUPT - Block is wrongly identified or is not a data block (for example, the data block address is missing)

LOGICAL - Specifies the range is for logically corrupt blocks. CORRUPTION_CHANGE# will have a nonzero
value.

V$DATABASE_INCARNATION
V$DATABASE_INCARNATION displays information about all database incarnations. Oracle creates a new incarnation whenever a database is opened with the
RESETLOGS option. Records about the current and immediately previous incarnation are also contained in the V$DATABASE view.

Column

Datatype

Description

INCARNATION#

NUMBER

Record ID for the branch record in the controlfile

RESETLOGS_CHANGE#

NUMBER

Resetlogs system change number (SCN) for the incarnation of the current row

RESETLOGS_TIME

DATE

Resetlogs timestamp for the incarnation of the current row

PRIOR_RESETLOGS_CHANGE
#

NUMBER

Resetlogs SCN for the previous incarnation

PRIOR_RESETLOGS_TIME

DATE

Resetlogs timestamp for the previous incarnation

STATUS

VARCHAR2(7
)

Incarnation status:

ORPHAN - Orphan incarnation

CURRENT - Current incarnation of the database

PARENT - Parent of the current incarnation

RESETLOGS_ID

NUMBER

Branch ID for the incarnation of the current row (used by user-managed recovery/RMAN
restore to get unique names for archived logs accross incarnations)

PRIOR_INCARNATION#

NUMBER

Parent incarnation record ID if nonzero

V$DATAFILE
This view contains datafile information from the control file.

Column

Datatype

Description

FILE#

NUMBER

File identification number

CREATION_CHANGE#

NUMBER

Change number at which the datafile was created

CREATION_TIME

DATE

Timestamp of the datafile creation

TS#

NUMBER

Tablespace number

RFILE#

NUMBER

Tablespace relative datafile number

STATUS

VARCHAR2(7)

Type of file (system or user) and its status. Values: OFFLINE, ONLINE, SYSTEM, RECOVER,
SYSOFF (an offline file from the SYSTEM tablespace)

ENABLED

VARCHAR2(10)

Describes how accessible the file is from SQL:

DISABLED - No SQL access allowed

READ ONLY - No SQL updates allowed

READ WRITE - Full access allowed

UNKNOWN - should not occur unless the control file is corrupted

CHECKPOINT_CHANGE#

NUMBER

SCN at last checkpoint

CHECKPOINT_TIME

DATE

Timestamp of the checkpoint#

UNRECOVERABLE_CHANGE
#

NUMBER

Last unrecoverable change# made to this datafile. This column is always updated when
an unrecoverable operation completes.

UNRECOVERABLE_TIME

DATE

Timestamp of the last unrecoverable change

Column

Datatype

Description

LAST_CHANGE#

NUMBER

Last change# made to this datafile. Set to NULL if the datafile is being changed.

LAST_TIME

DATE

Timestamp of the last change

OFFLINE_CHANGE#

NUMBER

Offline change# of the last offline range. This column is updated only when the datafile is
brought online.

ONLINE_CHANGE#

NUMBER

Online change# of the last offline range

ONLINE_TIME

DATE

Online timestamp of the last offline range

BYTES

NUMBER

Current datafile size (in bytes); 0 if inaccessible

BLOCKS

NUMBER

Current datafile size (in blocks); 0 if inaccessible

CREATE_BYTES

NUMBER

Size when created (in bytes)

BLOCK_SIZE

NUMBER

Block size of the datafile

NAME

VARCHAR2(513
)

Name of the datafile

PLUGGED_IN

NUMBER

Describes whether the tablespace is plugged in. The value is 1 if the tablespace is
plugged in and has not been made read/write, 0 if not.

BLOCK1_OFFSET

NUMBER

Offset from the beginning of the file to where the Oracle generic information begins. The
exact length of the file can be computed as follows: BYTES + BLOCK1_OFFSET.

AUX_NAME

VARCHAR2(513

Auxiliary name that has been set for this file via CONFIGURE AUXNAME

Column

Datatype

Description

V$DATAFILE_COPY
This view displays datafile copy information from the control file.
Column

Datatype

Description

RECID

NUMBER

Datafile copy record ID

STAMP

NUMBER

Datafile copy record stamp

NAME

VARCHAR2(513
)

Filename of the datafile copy. The maximum length of the name is OS dependent.

TAG

VARCHAR2(32)

Datafile copy tag

FILE#

NUMBER

Absolute datafile number

RFILE#

NUMBER

Tablespace relative datafile number

CREATION_CHANGE#

NUMBER

Datafile creation change#

CREATION_TIME

DATE

Datafile creation timestamp

RESETLOGS_CHANGE#

NUMBER

Resetlogs change# of the datafile when the copy was made

RESETLOGS_TIME

DATE

Resetlogs timestamp of the datafile when the copy was made

Column

Datatype

Description

INCREMENTAL_LEVEL

NUMBER

The incremental level

CHECKPOINT_CHANGE#

NUMBER

Checkpoint change# of the datafile when the copy was made

CHECKPOINT_TIME

DATE

Checkpoint timestamp of the datafile when the copy was made

ABSOLUTE_FUZZY_CHANGE
#

NUMBER

Highest change seen when the datafile was copied

RECOVERY_FUZZY_CHANGE
#

NUMBER

Highest change written to the file by media recovery

RECOVERY_FUZZY_TIME

DATE

Timestamp of the highest change written to the file by media recovery

ONLINE_FUZZY

VARCHAR2(3)

(YES|NO) If set to YES, this is a copy taken using an operating system utility after a crash
or offline immediate (or an invalid copy taken while datafile was online and the database
open). Recovery will need to apply all redo up to the next crash recovery marker to make
the file consistent.

BACKUP_FUZZY

VARCHAR2(3)

(YES|NO) If set to YES, this is a copy taken using the BEGIN BACKUP/END BACKUP
technique. Recovery will need to apply all redo up to the end backup marker to make this
copy consistent.

MARKED_CORRUPT

NUMBER

Number of blocks marked corrupt by this copy operation. That is, blocks that were not
marked corrupted in the source datafile, but were detected and marked as corrupted
during the copy operation.

MEDIA_CORRUPT

NUMBER

Total number of media corrupt blocks. For example, blocks with checksum errors are
marked media corrupt.

LOGICALLY_CORRUPT

NUMBER

Total number of logically corrupt blocks. For example, applying redo for unrecoverable

Column

Datatype

Description
operations will mark affected blocks logically corrupt.

BLOCKS

NUMBER

Size of the datafile copy in blocks (also the size of the datafile when the copy was made)

BLOCK_SIZE

NUMBER

Block size of the datafile

OLDEST_OFFLINE_RANGE

NUMBER

RECID of the oldest offline range record in this control file copy; 0 for datafile copies

DELETED

VARCHAR2(3)

(YES|NO) If set to YES the datafile copy has been deleted or overwritten

STATUS

VARCHAR2(1)

Identifies the status of this datafile copy. Possible values are:


A - Available
D - Deleted
U - Unavailable
X - Expired

COMPLETION_TIME

DATE

Time when the copy was completed

CONTROLFILE_TYPE

VARCHAR2(1)

B indicates normal copies


S indicates standby copies

KEEP

VARCHAR2(3)

(YES/NO) Indicates whether or not this backup set has a retention policy that is different
than the value for the configure retention policy

KEEP_UNTIL

DATE

If KEEP_UNTIL_TIME is specified, this is the date after which the backup becomes

Column

Datatype

Description
obsolete. If this column is null, then the backup never expires.

KEEP_OPTIONS

VARCHAR2(10)

Lists additional retention options for this backup set. Possible values are:
LOGS - The logs need to recover this backup are kept
NOLOGS - The logs needed to recover this backup will not be kept

SCANNED

VARCHAR2(3)

Indicates whether RMAN scanned the file (YES) or not (NO)

IS_RECOVERY_DEST_FILE

VARCHAR2(3)

Indicates whether the file was created in the flash recovery area (YES) or not (NO)

RMAN_STATUS_RECID

NUMBER

Owning V$RMAN_STATUS record ID

RMAN_STATUS_STAMP

NUMBER

Owning V$RMAN_STATUS record stamp

V$DATAFILE_HEADER
This view displays datafile information from the datafile headers.
Column

Datatype

Description

FILE#

NUMBER

Datafile number (from control file)

STATUS

VARCHAR2(7)

ONLINE | OFFLINE (from control file)

ERROR

VARCHAR2(18)

NULL if the datafile header read and validation were successful. If the read failed then the
rest of the columns are NULL. If the validation failed then the rest of columns may display
invalid data. If there is an error then usually the datafile must be restored from a backup
before it can be recovered or used.

Column

Datatype

Description

FORMAT

NUMBER

Indicates the format for the header block. The possible values are 6,7, 8, or 0.
6 - indicates Oracle Version 6
7 - indicates Oracle Version 7
8 - indicates Oracle Version 8
0 - indicates the format could not be determined (for example, the header could not be read)

RECOVER

VARCHAR2(3)

File needs media recovery (YES | NO)

FUZZY

VARCHAR2(3)

File is fuzzy (YES | NO)

CREATION_CHANGE#

NUMBER

Datafile creation change#

CREATION_TIME

DATE

Datafile creation timestamp

TABLESPACE_NAME

VARCHAR2(30)

Tablespace name

TS#

NUMBER

Tablespace number

RFILE#

NUMBER

Tablespace relative datafile number

RESETLOGS_CHANGE#

NUMBER

Resetlogs change#

RESETLOGS_TIME

DATE

Resetlogs timestamp

CHECKPOINT_CHANGE
#

NUMBER

Datafile checkpoint change#

Column

Datatype

Description

CHECKPOINT_TIME

DATE

Datafile checkpoint timestamp

CHECKPOINT_COUNT

NUMBER

Datafile checkpoint count

BYTES

NUMBER

Current datafile size in bytes

BLOCKS

NUMBER

Current datafile size in blocks

NAME

VARCHAR2(513
)

Datafile name

V$DATAGUARD_CONFIG
V$DATAGUARD_CONFIG displays the unique database names defined with the DB_UNIQUE_NAME and LOG_ARCHIVE_CONFIG initialization parameters,
providing a view of the Data Guard environment from any database in the configuration.
The first row of the view lists the unique database name of the current database that was specified with the DB_UNIQUE_NAME initialization parameter. Additional
rows reflect the unique database names of the other databases in the configuration that were specified with the DG_CONFIG keyword of the LOG_ARCHIVE_CONFIG
initialization parameter.
V$DATAGUARD_STATUS
V$DATAGUARD_STATUS displays and logs events that would typically be triggered by any message to the alert log or server process trace files.
Column

Datatype

Description

FACILITY

VARCHAR2(24)

Facility that encountered the event:

Crash Recovery

Log Transport Services

Column

SEVERITY

Datatype

VARCHAR2(13)

Description

Log Apply Services

Role Management Services

Remote File Server

Fetch Archive Log

Data Guard

Network Services

Severity of the event:

Informational - Informational message

Warning - Warning message

Error - Indicates the process has failed

Fatal

Control - An expected change in state such as the start or completion of an archival, log recovery, or switchover
operation

DEST_ID

NUMBER

Destination ID number to which the event pertains. If the event does not pertain to a particular
destination, then the value is 0.

MESSAGE_NU
M

NUMBER

A chronologically increasing number giving each event a unique number

Column

Datatype

Description

ERROR_CODE

NUMBER

Error ID pertaining to the event

CALLOUT

VARCHAR2(3)

Indicates whether the current entry is a callout event (YES) or not (NO)
A YES value in this column indicates that this event may require the DBA to perform some action. Examine the ERROR_CODE
and MESSAGE columns for more information.A NO value in this column generally corresponds to an INFORMATIONAL or
WARNING event which would not require any action by the DBA.

TIMESTAMP

DATE

Time stamp

MESSAGE

VARCHAR2(256
)

A text message describing the event

V$DB_CACHE_ADVICE
V$DB_CACHE_ADVICE contains rows that predict the number of physical reads for the cache size corresponding to each row. The rows also compute a "physical read
factor," which is the ratio of the number of estimated reads to the number of reads actually performed by the real buffer cache during the measurement interval .

See Also:
"DB_CACHE_ADVICE"

Column

Datatype

Description

ID

NUMBER

Buffer pool identifier (ranges from 1 to 8)

NAME

VARCHAR2(20

Buffer pool name

Column

Datatype

Description

)
BLOCK_SIZE

NUMBER

Block size in bytes for buffers in this pool. Possible values: the standard block
size, the power of 2 non-standard block sizes, 2048, 4096, 8192, 16384, 32768.

ADVICE_STATUS

VARCHAR2(3)

Status of the advisory. ON indicates it is currently running; OFF indicates it is


disabled (in this case the estimates are historical and calculated when last
enabled).

SIZE_FOR_ESTIMATE

NUMBER

Cache size for prediction (in megabytes)

SIZE_FACTOR

NUMBER

Size factor with respect to the current cache size

BUFFERS_FOR_ESTIMATE

NUMBER

Cache size for prediction (in terms of buffers)

ESTD_PHYSICAL_READ_FACTOR

NUMBER

Physical read factor for this cache size, which is the ratio of the number of
estimated physical reads to the number of reads in the real cache. If there are no
physical reads in the real cache, the value of this column is null.

ESTD_PHYSICAL_READS

NUMBER

Estimated number of physical reads for this cache size

ESTD_PHYSICAL_READ_TIME

NUMBER

Estimated disk read time

ESTD_PCT_OF_DB_TIME_FOR_READ
S

NUMBER

Estimated disk time as a percentage of the total time

V$DB_OBJECT_CACHE
This view displays database objects that are cached in the library cache. Objects include tables, indexes, clusters, synonym definitions, PL/SQL procedures and
packages, and triggers.

Column

Datatype

Description

OWNER

VARCHAR2(64)

Owner of the object

NAME

VARCHAR2(1000
)

Name of the object

DB_LINK

VARCHAR2(64)

Database link name, if any

NAMESPACE

VARCHAR2(28)

Library cache namespace of the object: TABLE/PROCEDURE, BODY, TRIGGER, INDEX, CLUSTER,
OBJECT

TYPE

VARCHAR2(28)

Type of the object: INDEX, TABLE, CLUSTER, VIEW, SET, SYNONYM, SEQUENCE, PROCEDURE,
FUNCTION, PACKAGE, PACKAGE BODY, TRIGGER, CLASS, OBJECT, USER, DBLINK

SHARABLE_ME
M

NUMBER

Amount of sharable memory in the shared pool consumed by the object

LOADS

NUMBER

Number of times the object has been loaded. This count also increases when an object has been
invalidated.

EXECUTIONS

NUMBER

Not used
See Also:"V$SQLAREA" to see actual execution counts

LOCKS

NUMBER

Number of users currently locking this object

PINS

NUMBER

Number of users currently pinning this object

KEPT

VARCHAR2(3)

(YES | NO) Depends on whether this object has been "kept" (permanently pinned in memory) with
the PL/SQL procedure DBMS_SHARED_POOL.KEEP

CHILD_LATCH

NUMBER

Child latch number that is protecting the object

V$DB_PIPES
This view displays the pipes that are currently represented in the shared pool for this instance.
Column

Datatype

Description

OWNERID

NUMBER

The owner ID of the owner if this is a private pipe. NULL otherwise.

NAME

VARCHAR2(1000)

The name of the pipe (for example, SCOTT.PIPE)

TYPE

VARCHAR2(7)

PUBLIC or PRIVATE

PIPE_SIZE

NUMBER

The amount of memory the pipe uses

V$DBLINK
This view describes all database links (links with IN_TRANSACTION = YES) opened by the session issuing the query on V$DBLINK. These database links must be
committed or rolled back before being closed.
Column

Datatype

Description

DB_LINK

VARCHAR2(128)

Name of the database link

OWNER_ID

NUMBER

Owner of the database link UID

LOGGED_ON

VARCHAR2(3)

Whether the database link is currently logged on

Column

Datatype

Description

HETEROGENEOUS

VARCHAR2(3)

Whether the database link is heterogeneous

PROTOCOL

VARCHAR2(6)

Communication protocol for the database link

OPEN_CURSORS

NUMBER

Whether there are open cursors for the database link

IN_TRANSACTION

VARCHAR2(3)

Whether the database link is currently in a transaction

UPDATE_SENT

VARCHAR2(3)

Whether there has been an update on the database link

COMMIT_POINT_STRENGTH

NUMBER

Commit point strength of the transactions on the database link

V$DELETED_OBJECT
This view displays information about deleted archived logs, datafile copies and backup pieces from the control file. The only purpose of this view is to optimize the
recovery catalog resync operation. When an archived log, datafile copy, or backup piece is deleted, the corresponding record is marked deleted.
Column

Datatype

Description

RECID

NUMBER

Deleted object record ID

STAMP

NUMBER

Deleted object record stamp

TYPE

VARCHAR2(26)

Identifies the type of deleted object:

ARCHIVED LOG

BACKUP PIECE

DATAFILE COPY

Column

Datatype

Description

PROXY COPY

BACKUP PIECE AVAILABLE

BACKUP PIECE EXPIRED

PROXY COPY AVAILABLE

PROXY COPY EXPIRED

BACKUP PIECE UNAVAILABLE

PROXY COPY UNAVAILABLE

DATAFILE COPY AVAILABLE

DATAFILE COPY EXPIRED

DATAFILE COPY UNAVAILABLE

ARCHIVED LOG AVAILABLE

ARCHIVED LOG EXPIRED

ARCHIVED LOG UNAVAILABLE

BACKUP SET KEEP OPTIONS

BACKUP SET KEEP UNTIL

Column

Datatype

Description

PROXY COPY KEEP OPTIONS

PROXY COPY KEEP UNTIL

DATAFILE COPY KEEP OPTIONS

DATAFILE COPY KEEP UNTIL

DATAFILE RENAME ON RESTORE

OBJECT_RECID

NUMBER

Record ID of the deleted object

OBJECT_STAMP

NUMBER

Record timestamp of the deleted object

OBJECT_DATA

NUMBER

Displays additional internal information related to this deleted object. For internal Oracle use
only.

V$DISPATCHER
V$DISPATCHER displays information about the dispatcher processes.
Column

Datatype

Description

NAME

VARCHAR2(4)

Name of the dispatcher process

NETWORK

VARCHAR2(128)

Network address of the dispatcher

PADDR

RAW(4 | 8)

Process address

STATUS

VARCHAR2(16)

Status of the dispatcher:

Column

Datatype

Description

WAIT - Idle

SEND - Sending a message

RECEIVE - Receiving a message

CONNECT - Establishing a connection

DISCONNECT - Handling a disconnect request

BREAK - Handling a break

TERMINATE - In the process of terminating

ACCEPT - Accepting connections (no further information available)

REFUSE - Rejecting connections (no further information available)

ACCEPT

VARCHAR2(3)

Indicates whether the dispatcher is accepting new connections (YES) or not (NO)

MESSAGES

NUMBER

Number of messages processed by the dispatcher

BYTES

NUMBER

Size (in bytes) of messages processed by the dispatcher

BREAKS

NUMBER

Number of breaks occurring in the connection

OWNED

NUMBER

Number of circuits owned by the dispatcher

CREATED

NUMBER

Number of circuits created by the dispatcher

Column

Datatype

Description

IDLE

NUMBER

Total idle time for the dispatcher (in hundredths of a second)

BUSY

NUMBER

Total busy time for the dispatcher (in hundredths of a second)

LISTENER

NUMBER

Most recent Oracle error number the dispatcher received from the listener

CONF_INDX

NUMBER

Zero-based index of the DISPATCHERS configuration used by the dispatcher

V$ROWCACHE
V$ROWCACHE displays statistics for data dictionary activity. Each row contains statistics for one data dictionary cache.
Column

Datatype

Description

CACHE#

NUMBER

Row cache ID number

TYPE

VARCHAR2(11)

Parent or subordinate row cache type

SUBORDINATE#

NUMBER

Subordinate set number

PARAMETER

VARCHAR2(32)

Name of the initialization parameter that determines the number of entries in the data dictionary
cache

COUNT

NUMBER

Total number of entries in the cache

USAGE

NUMBER

Number of cache entries that contain valid data

FIXED

NUMBER

Number of fixed entries in the cache

GETS

NUMBER

Total number of requests for information on the data object

GETMISSES

NUMBER

Number of data requests resulting in cache misses

SCANS

NUMBER

Number of scan requests

SCANMISSES

NUMBER

Number of times a scan failed to find the data in the cache

SCANCOMPLETES

NUMBER

For a list of subordinate entries, the number of times the list was scanned completely

MODIFICATIONS

NUMBER

Number of inserts, updates, and deletions

FLUSHES

NUMBER

Number of times flushed to disk

DLM_REQUESTS

NUMBER

Number of DLM requests

DLM_CONFLICTS

NUMBER

Number of DLM conflicts

DLM_RELEASES

NUMBER

Number of DLM releases

V$LIBRARYCACHE
This view contains statistics about library cache performance and activity.
Column

Datatype

Description

NAMESPACE

VARCHAR2(15
)

Library cache namespace

GETS

NUMBER

Number of times a lock was requested for objects of this namespace

GETHITS

NUMBER

Number of times an object's handle was found in memory

GETHITRATIO

NUMBER

Ratio of GETHITS to GETS

PINS

NUMBER

Number of times a PIN was requested for objects of this namespace

PINHITS

NUMBER

Number of times all of the metadata pieces of the library object were found in memory

PINHITRATIO

NUMBER

Ratio of PINHITS to PINS

RELOADS

NUMBER

Any PIN of an object that is not the first PIN performed since the object handle was
created, and which requires loading the object from disk

INVALIDATIONS

NUMBER

The total number of times objects in this namespace were marked invalid because a
dependent object was modified

DLM_LOCK_REQUESTS

NUMBER

Number of GET requests lock instance locks

DLM_PIN_REQUESTS

NUMBER

Number of PIN requests lock instance locks

DLM_PIN_RELEASES

NUMBER

Number of release requests PIN instance locks

DLM_INVALIDATION_REQUEST
S

NUMBER

Number of GET requests for invalidation instance locks

DLM_INVALIDATIONS

NUMBER

Number of invalidation pings received from other instances

V$LICENSE

This view contains information about license limits.

Column

Datatyp
e
Description

SESSIONS_MAX

NUMBER

Maximum number of concurrent user sessions allowed for the instance

SESSIONS_WARNING

NUMBER

Warning limit for concurrent user sessions for the instance

SESSIONS_CURRENT

NUMBER

Current number of concurrent user sessions

SESSIONS_HIGHWATER

NUMBER

Highest number of concurrent user sessions since the instance started

USERS_MAX

NUMBER

Maximum number of named users allowed for the database

CPU_COUNT_CURRENT

NUMBER

Current number of logical CPUs or processors on the system

CPU_CORE_COUNT_CURRENT

NUMBER

Current number of CPU cores on the system (includes subcores of multicore CPUs, as well
as single-core CPUs)

CPU_SOCKET_COUNT_CURRENT

NUMBER

Current number of CPU sockets on the system (represents an absolute count of CPU chips
on the system, regardless of multithreading or multicore architectures)

CPU_COUNT_HIGHWATER

NUMBER

Highest number of logical CPUs or processors on the system since the instance started

CPU_CORE_COUNT_HIGHWATER

NUMBER

Highest number of CPU cores on the system since the instance started (includes subcores
of multicore CPUs, as well as single-core CPUs)

CPU_SOCKET_COUNT_HIGHWATE
R

NUMBER

Highest number of CPU sockets on the system since the instance started (represents an
absolute count of CPU chips on the system, regardless of multithreading or multicore
architectures)

V$LOADISTAT
This view contains errors that occurred when updating indexes on a table during a load using the Direct Path API.
Column

Datatype

Description

OWNER

VARCHAR2(31)

Schema name

TABNAME

VARCHAR2(31)

Table name

INDEXNAME

VARCHAR2(31)

Index name

Column

Datatype

Description

SUBNAME

VARCHAR2(31)

Index sub name

MESSAGE_NUM

NUMBER

Error message number

MESSAGE

VARCHAR2(4000)

Error message

V$ARCHIVE_GAP
V$ARCHIVE_GAP displays information about archive gaps on a standby database. This view can be used to find out the current archive
gap that is blocking recovery.

Column

Datatyp
e
Description

THREAD#

NUMBER

Thread number of the missing archived redo log files. The number is 1 for a single instance. For Real
Application Clusters, this column will contain different numbers.

LOW_SEQUENCE#

NUMBER

Lowest sequence number of the log files received on the standby system

HIGH_SEQUENCE
#

NUMBER

Highest sequence number of the log files received on the standby system

V$ARCHIVE_PROCESSES
V$ARCHIVE_PROCESSES displays the state of the various ARCH processes for the instance.
Column

Datatype

Description

PROCESS

NUMBER

Identifier for the ARCH process for the instance, numbered from 0-9

STATUS

VARCHAR2(10
)

Status of the ARCH process, displayed as a keyword. Possible values are: STOPPED, SCHEDULED,
STARTING, ACTIVE, STOPPING, and TERMINATED.

LOG_SEQUENC

NUMBER

This is the online redo log sequence number currently being archived, if STATE="BUSY"

Column

Datatype

Description

VARCHAR2(4)

This is the current state of the ARCH process, displayed as a keyword. Possible keywords are IDLE or
BUSY.

E
STATE

V$ARCHIVED_LOG
V$ARCHIVED_LOG displays archived log information from the control file, including archive log names. An archive log record is inserted
after the online redo log is successfully archived or cleared (name column is NULL if the log was cleared). If the log is archived twice,
there will be two archived log records with the same THREAD#, SEQUENCE#, and FIRST_CHANGE#, but with a different name. An archive
log record is also inserted when an archive log is restored from a backup set or a copy and whenever a copy of a log is made with the
RMAN COPY command.
Column

Datatype

Description

RECID

NUMBER

Archived log record ID

STAMP

NUMBER

Archived log record stamp

NAME

VARCHAR2(513
)

Archived log file name. If set to NULL, either the log file was cleared before it was archived
or an RMAN backup command with the "delete input" option was executed to back up
archivelog all (RMAN> backup archivelog all delete input;).

DEST_ID

NUMBER

Original destination from which the archive log was generated. The value is 0 if the
destination identifier is not available.

THREAD#

NUMBER

Redo thread number

SEQUENCE#

NUMBER

Redo log sequence number

RESETLOGS_CHANGE#

NUMBER

Resetlogs change number of the database when the log was written

Column

Datatype

Description

RESETLOGS_TIME

DATE

Resetlogs time of the database when the log was written

RESETLOGS_ID

NUMBER

Resetlogs identifier associated with the archived redo log

FIRST_CHANGE#

NUMBER

First change number in the archived log

FIRST_TIME

DATE

Timestamp of the first change

NEXT_CHANGE#

NUMBER

First change in the next log

NEXT_TIME

DATE

Timestamp of the next change

BLOCKS

NUMBER

Size of the archived log (in blocks)

BLOCK_SIZE

NUMBER

Redo log block size. This is the logical block size of the archived log, which is the same as
the logical block size of the online log from which the archived log was copied. The online
log logical block size is a platform-specific value that is not adjustable by the user.

CREATOR

VARCHAR2(7)

Creator of the archivelog:

REGISTRAR

VARCHAR2(7)

ARCH
FGRD
RMAN
SRMN
LGWR

Archiver process
Foreground process
Recovery Manager
RMAN at standby
Logwriter process

Registrar of the entry:

RFS - Remote File Server process


ARCH - Archiver process
FGRD - Foreground process
RMAN - Recovery manager
SRMN - RMAN at standby

Column

Datatype

Description

LGWR - Logwriter process

STANDBY_DEST

VARCHAR2(3)

Indicates whether the entry is an archivelog destination (YES) or not (NO)

ARCHIVED

VARCHAR2(3)

Indicates whether the online redo log was archived (YES) or whether RMAN only inspected
the log and created a record for future application of redo logs during recovery (NO).
See Also:Oracle Database Backup and Recovery Basics.

APPLIED

VARCHAR2(3)

Indicates whether the archivelog has been applied to its corresponding standby database
(YES) or not (NO). The value is always NO for local destinations.
This column is meaningful at the physical standby site for the ARCHIVED_LOG entries with
REGISTRAR='RFS' (which means this log is shipped from the primary to the standby
database). If REGISTRAR='RFS' and APPLIED is NO, then the log has arrived at the standby
but has not yet been applied. If REGISTRAR='RFS' and APPLIED is YES, the log has arrived
and been applied at the standby database.
You can use this field to identify archivelogs that can be backed up and removed from
disk.

DELETED

VARCHAR2(3)

Indicates whether an RMAN DELETE command has physically deleted the archived log file
from disk, as well as logically removing it from the control file of the target database and
from the recovery catalog (YES) or not (NO)

STATUS

VARCHAR2(1)

Status of the archived log:


A - Available
D - Deleted
U - Unavailable

Column

Datatype

Description
X - Expired

COMPLETION_TIME

DATE

Time when the archiving completed

DICTIONARY_BEGIN

VARCHAR2(3)

Indicates whether the log contains the start of a LogMiner dictionary (YES) or not (NO)

DICTIONARY_END

VARCHAR2(3)

Indicates whether the log contains the end of a LogMiner dictionary (YES) or not (NO)

END_OF_REDO

VARCHAR2(3)

Indicates whether the archived redo log contains the end of all redo information from the
primary database (YES) or not (NO)

BACKUP_COUNT

NUMBER

Indicates the number of times this file has been backed up. Values range from 0-15. If the
file has been backed up more than 15 times, the value remains 15.

ARCHIVAL_THREAD#

NUMBER

Redo thread number of the instance that performed the archival operation. This column
differs from the THREAD# column only when a closed thread is archived by another
instance.

ACTIVATION#

NUMBER

Number assigned to the database instantiation

IS_RECOVERY_DEST_FIL
E

VARCHAR2(3)

Indicates whether the file was created in the flash recovery area (YES) or not (NO)

COMPRESSED

VARCHAR2(3)

This column is reserved for internal use only

FAL

VARCHAR2(3)

Indicates whether the archive log was generated as the result of a FAL request (YES) or
not (NO)

END_OF_REDO_TYPE

VARCHAR2(10)

Possible values are as follows:

SWITCHOVER - Shows archived redo log files that are produced at the end of a

Column

Datatype

Description

switchover
TERMINAL - Shows archived redo log files produced after a failover
RESETLOGS - Shows online redo log files archived on the primary database after an
ALTER DATABASE OPEN RESETLOGS statement is issued
ACTIVATION - Shows any log files archived on a physical standby database after an
ALTER DATABASE ACTIVATE STANDBYDATABASE statement is issued
"empty string" - Any empty string implies that that the log is just a normal archival
and was not archived due to any of the other events

V$MANAGED_STANDBY
V$MANAGED_STANDBY displays current status information for some Oracle Database processes related to physical standby databases in the Data Guard environment.
This view does not persist after an instance shutdown.
Column

Datatype

Description

PROCESS

VARCHAR2(9)

Type of process whose information is being reported:

RFS - Remote file server

MRP0 - Detached recovery server process

MR(fg) - Foreground recovery session

ARCH - Archiver process

Column

Datatype

Description

FGRD

LGWR

RFS(FAL)

RFS(NEXP)

PID

NUMBER

Operating system process identifier of process

STATUS

VARCHAR2(12)

Current process status:

UNUSED - No active process

ALLOCATED - Process is active but not currently connected to a primary database

CONNECTED - Network connection established to a primary database

ATTACHED - Process is actively attached and communicating to a primary database

IDLE - Process is not performing any activities

ERROR - Process has failed

OPENING - Process is opening the archived redo log

CLOSING - Process has completed archival and is closing the archived redo log

WRITING - Process is actively writing redo data to the archived redo log

Column

CLIENT_PROCESS

Datatype

VARCHAR2(8)

Description

RECEIVING - Process is receiving network communication

ANNOUNCING - Process is announcing the existence of a potential dependent archived redo log

REGISTERING - Process is registering the existence of a completed dependent archived redo log

WAIT_FOR_LOG - Process is waiting for the archived redo log to be completed

WAIT_FOR_GAP - Process is waiting for the archive gap to be resolved

APPLYING_LOG - Process is actively applying the archived redo log to the standby database

Identifies the corresponding primary database process:

Archival - Foreground (manual) archival process (SQL)

ARCH - Background ARCn process

LGWR - Background LGWR process

CLIENT_PID

VARCHAR2(40)

Operating system process identifier of the client process

CLIENT_DBID

VARCHAR2(40)

Database identifier of the primary database

GROUP#

VARCHAR2(40)

Standby redo log group

RESETLOG_ID

NUMBER

Resetlogs identifier of the archived redo log

THREAD#

NUMBER

Archived redo log thread number

Column

Datatype

Description

SEQUENCE#

NUMBER

Archived redo log sequence number

BLOCK#

NUMBER

Last processed archived redo log block number

BLOCKS

NUMBER

Size of the archived redo log in 512-byte blocks

DELAY_MINS

NUMBER

Archived redo log delay interval in minutes

KNOWN_AGENTS

NUMBER

Total number of standby database agents processing an archived redo log

ACTIVE_AGENTS

NUMBER

Number of standby database agents actively processing an archived redo log

V$ASM_CLIENT
V$ASM_CLIENT returns one row for each open ASM disk group.
Column

Datatype

Description

GROUP_NUMBER

NUMBER

Number of the disk group being used by the client database instance (foreign key to the
V$ASM_DISKGROUP view)

INSTANCE_NAME

VARCHAR2(64
)

Identifier for the database instance client

DB_NAME

VARCHAR2(8)

Unique database name of the database client instance

STATUS

VARCHAR2(12
)

Status of the client connection:

CONNECTED - Database instance client has an active connection to the Automatic


Storage Management instance
DISCONNECTED - Database instance client normally ended its connection to the
Automatic Storage Management instance

Column

Datatype

Description

BROKEN - Connection with the database instance client terminated abnormally

SOFTWARE_VERSION

VARCHAR2(60
)

Software version number of the database or Automatic Storage Management instance for the
selected disk group connection

COMPATIBLE_VERSIO
N

VARCHAR2(60
)

Compatibility setting of the database or Automatic Storage Management instance for the
selected disk group connection

V$ASM_DISK
In an Automatic Storage Management instance, V$ASM_DISK displays one row for every disk discovered by the Automatic Storage
Management instance, including disks which are not part of any disk group. In a database instance, V$ASM_DISK only displays rows for
disks in disk groups in use by the database instance.
Column

Datatype

Description

GROUP_NUMBER

NUMBER

Number of the disk group containing the disk (foreign key to the V$ASM_DISKGROUP view)

DISK_NUMBER

NUMBER

Number assigned to the disk within its disk group

COMPOUND_INDE
X

NUMBER

A 32-bit number consisting of a disk group number in the high-order 8 bits and a disk number in
the low-order 24 bits (for efficient access to the view)

INCARNATION

NUMBER

Incarnation number for the disk

MOUNT_STATUS

VARCHAR2(7)

Per-instance status of the disk relative to group mounts:

MISSING - Automatic Storage Management metadata indicates that the disk is known to be
part of the Automatic Storage Management disk group, but no disk in the storage system
was found with the indicated name
CLOSED - Disk is present in the storage system but is not being accessed by Automatic

Column

Datatype

Description

Storage Management
OPENED - Disk is present in the storage system and is being accessed by Automatic Storage
Management. This is the normal state for disks in a database instance which are part of a
Disk Group being actively used by the instance.
CACHED - Disk is present in the storage system, and is part of a disk group being accessed
by the Automatic Storage Management instance. This is the normal state for disks in an
Automatic Storage Management instance which are part of a mounted disk group.
IGNORED - Disk is present in the system, but is ignored by ASM because of one of the
following:
- The disk is detected by the system library, but is ignored because an ASM library
discovered the same disk
- ASM has determined that the membership claimed by the disk header is no longer valid

HEADER_STATUS

VARCHAR2(12)

CLOSING - ASM is in the process of closing this disk

Per-instance status of the disk as seen by discovery:

UNKNOWN - Automatic Storage Management disk header has not been read
CANDIDATE - Disk is not part of a disk group and may be added to a disk group with the
ALTER DISKGROUP statement
INCOMPATIBLE - Version number in the disk header is not compatible with the Automatic
Storage Management software version.
PROVISIONED - Disk is not part of a disk group and may be added to a disk group with the
ALTER DISKGROUP statement. The PROVISIONED header status is different from the
CANDIDATE header status in that PROVISIONED implies that an additional platform-specific
action has been taken by an administrator to make the disk available for Automatic
Storage Management.
MEMBER - Disk is a member of an existing disk group. No attempt should be made to add the
disk to a different disk group. The ALTER DISKGROUP statement will reject such an addition
unless overridden with the FORCE option
FORMER - Disk was once part of a disk group but has been dropped cleanly from the group.
It may be added to a new disk group with the ALTER DISKGROUP statement.
CONFLICT - Automatic Storage Management disk was not mounted due to a conflict
FOREIGN - Disk contains data created by an Oracle product other than ASM. This includes
datafiles, logfiles, and OCR disks.

Column

Datatype

Description

MODE_STATUS

VARCHAR2(7)

Global status about which kinds of I/O requests are allowed to the disk:

STATE

VARCHAR2(8)

Global state of the disk with respect to the disk group:

REDUNDANCY

VARCHAR2(7)

UNKNOWN - Automatic Storage Management disk mode is not known (typically the disk is not
mounted)
ONLINE - Disk is online and operating normally. Reads and writes are attempted.
OFFLINE - Disk is offline and access to data is not permitted. Reads and writes are not
attempted. An offline disk remains logically part of its disk group.

UNKNOWN - Automatic Storage Management disk state is not known (typically the disk is not
mounted)
NORMAL - Disk is online and operating normally
ADDING - Disk is being added to a disk group, and is pending validation by all instances that
have the disk group mounted
DROPPING - Disk has been manually taken offline and space allocation or data access for
the disk halts. Rebalancing will commence to relocate data off the disks to other disks in
the disk group. Upon completion of the rebalance, the disk is expelled from the group.
HUNG - Disk drop operation cannot continue because there is insufficient space to relocate
the data from the disk being dropped
FORCING - Disk is being removed from the disk group without attempting to offload its data.
The data will be recovered from redundant copies, where possible.
DROPPED - Disk has been fully expelled from the disk group

External redundancy of the disk:

UNKNOWN
UNPROT
MIRROR
PARITY

LIBRARY

VARCHAR2(64)

Name of the library that discovered the disk

TOTAL_MB

NUMBER

Total capacity of the disk (in megabytes)

FREE_MB

NUMBER

Unused capacity of the disk (in megabytes)

Column

Datatype

Description

NAME

VARCHAR2(30)

Name of the disk

FAILGROUP

VARCHAR2(30)

Name of the failure group containing the disk

LABEL

VARCHAR2(31)

Disk label portion of the name returned by discovery

PATH

VARCHAR2(256
)

Operating system pathname portion of the name returned by discovery

UDID

VARCHAR2(64)

Universal Device ID portion of the name returned by discovery

PRODUCT

VARCHAR2(32)

The name of the manufacturer and the name of the product. All disks with the same product id will
have the same performance and reliability characteristics.

CREATE_DATE

DATE

Date and time when the disk was added to the disk group

MOUNT_DATE

DATE

Date and time when the disk was mounted by the first instance

REPAIR_TIMER

NUMBER

Seconds remaining until the disk is automatically dropped (0 if not failed)

READS

NUMBER

Total number of I/O read requests for the disk

WRITES

NUMBER

Total number of I/O write requests for the disk

READ_ERRS

NUMBER

Total number of failed I/O read requests for the disk

WRITE_ERRS

NUMBER

Total number of failed I/O write requests for the disk

READ_TIME

NUMBER

Total I/O time (in hundredths of a second) for read requests for the disk if the TIMED_STATISTICS
initialization parameter is set to true (0 if set to false)

Column

Datatype

Description

WRITE_TIME

NUMBER

Total I/O time (in hundredths of a second) for write requests for the disk if the TIMED_STATISTICS
initialization parameter is set to true (0 if set to false)

BYTES_READ

NUMBER

Total number of bytes read from the disk

BYTES_WRITTEN

NUMBER

Total number of bytes written to the disk

V$ASM_DISK_STAT
V$ASM_DISK_STAT provides a way to query performance statistics in the same way that V$ASM_DISK does, but without performing
discovery of new disks. This results in a less expensive operation. However, since discovery is not performed, the output of this view
does not include any data about disks that are new to the system.
The columns for V$ASM_DISK_STAT are the same as those for V$ASM_DISK.

V$ASM_DISKGROUP
In an Automatic Storage Management instance, V$ASM_DISKGROUP displays one row for every disk group discovered by the Automatic
Storage Management instance. In a database instance, V$ASM_DISKGROUP displays one row for every Automatic Storage Management
disk group mounted by the local Automatic Storage Management instance.
Column

Datatype

Description

GROUP_NUMBER

NUMBER

Cluster-wide number assigned to the disk group (primary key)

Column

Datatype

Description

NAME

VARCHAR2(30
)

Name of the disk group

SECTOR_SIZE

NUMBER

Physical block size (in bytes)

BLOCK_SIZE

NUMBER

Automatic Storage Management metadata block size (in bytes)

ALLOCATION_UNIT_SIZE

NUMBER

Size of the allocation unit (in bytes)

STATE

VARCHAR2(11
)

State of the disk group relative to the instance:

TYPE

VARCHAR2(6)

CONNECTED - Disk group is in use by the database instance


BROKEN - Database instance lost connectivity to the Automatic Storage
Management instance that mounted the disk group
UNKNOWN - Automatic Storage Management instance has never attempted to
mount the disk group
DISMOUNTED - Disk group was cleanly dismounted by the Automatic Storage
Management instance following a successful mount
MOUNTED - Instance is successfully serving the disk group to its database clients

Redundancy type for the disk group:

EXTERN
NORMAL
HIGH

TOTAL_MB

NUMBER

Total capacity of the disk group (in megabytes)

FREE_MB

NUMBER

Unused capacity of the disk group (in megabytes)

REQUIRED_MIRROR_FREE_M
B

NUMBER

Amount of space that is required to be available in a given disk group in order to restore
redundancy after one or more disk failures. The amount of space displayed in this

Column

Datatype

Description
column takes mirroring effects into account.

USABLE_FILE_MB

NUMBER

Amount of free space that can be safely utilized taking mirroring into account, and yet be
able to restore redundancy after a disk failure

OFFLINE_DISKS

NUMBER

Number of disks in the disk group that are currently offline

UNBALANCED

VARCHAR2(1)

Indicates whether the disk group requires a rebalance, for example, if the instance
crashed while a rebalance operation was pending (Y) or not (N)

COMPATIBILITY

VARCHAR2(60
)

The minimum software version required for an ASM instance to mount this disk group

DATABASE_COMPATIBILITY

VARCHAR2(60
)

The minimum software version required for a database instance to use files in this disk
group

V$ASM_DISKGROUP_STAT
V$ASM_DISKGROUP_STAT provides a way to query performance statistics in the same way that V$ASM_DISKGROUP does, but without
performing discovery of new disk groups. This results in a less expensive operation. However, since discovery is not performed, the
output of this view does not include any data about disk groups that are new to the system.
The columns for V$ASM_DISKGROUP_STAT are the same as those for V$ASM_DISKGROUP.
V$ASM_FILE
In an Automatic Storage Management instance, V$ASM_FILE displays one row for every Automatic Storage Management file in every
disk group mounted by the Automatic Storage Management instance. In a database instance, V$ASM_FILE displays no rows.

Column

Datatype

Description

GROUP_NUMBER

NUMBER

Number of the disk group containing the file (composite primary key)

FILE_NUMBER

NUMBER

Number of the file within the disk group (composite primary key)

COMPOUND_INDEX

NUMBER

A 32-bit number consisting of a disk group number in the high-order 8 bits and a file number in
the low-order 24 bits (for efficient access to the view)

INCARNATION

NUMBER

Incarnation number for the file (composite primary key)

BLOCK_SIZE

NUMBER

Block size of the file (in bytes)

BLOCKS

NUMBER

Number of blocks in the file

BYTES

NUMBER

Number of bytes in the file

SPACE

NUMBER

Number of bytes allocated to the file

TYPE

VARCHAR2(64
)

Type of the file. Possible values are as follows:

CONTROLFILE
DATAFILE
ONLINELOG
ARCHIVELOG
TEMPFILE
BACKUPSET
XTRANSPORT
PARAMETERFILE
DATAGUARDCONFIG
FLASHBACK
CHANGETRACKING
DUMPSET
AUTOBACKUP

Column

Datatype

Description

REDUNDANCY

VARCHAR2(6)

Redundancy of the file:

STRIPED

VARCHAR2(6)

UNPROT
MIRROR
PARITY
HIGH

Indicates how the file is striped:

FINE
COARSE

CREATION_DATE

DATE

Date on which the file was created

MODIFICATION_DATE

DATE

Date of the last open/close for writing,rounded back to the nearest hour

REDUNDANCY_LOWERE
D

VARCHAR2(1)

Indicates whether a file has lower redundancy than what was expected (Y) or not (N).
Redundancy is said to have been lowered for a file when one or more data extents in that file
are not mirrored at the level specified by the administrator. In case of unprotected files, data
extents could be missing altogether. Another possible value for this column is (U), which means
that it is unknown.

V$ASM_OPERATION
In an Automatic Storage Management instance, V$ASM_OPERATION displays one row for every active Automatic Storage Management
long running operation executing in the Automatic Storage Management instance. In a database instance, V$ASM_OPERATION displays
no rows.
Column

Datatype

Description

GROUP_NUMBE
R

NUMBER

Disk group number (primary key). This is the foreign key to the V$ASM_DISKGROUP view.

OPERATION

VARCHAR2(5

Type of the operation:

Column

Datatype

Description

STATE

REBAL - Rebalance pending for this group. The diskgroup needs rebalance to complete.
COD - COD recovery pending for group. There are COD's that need to be recovered, These could
be CODs which are part of the rebalance or CODs which are rolling back operations, such as file
creations.
DSCV - Disk rediscovery pending. RBAL is doing disk discovery, probing the system for devices
that ASM can use.
ACD - ACD grow chunk pending for group. New ASM instance has joined the cluster and this
instance is growing the ACD to accommodate it.
RFRSH - PST refresh/disk expel required. Requesting PST refresh and asking the disk to be
expelled after it is refreshed.
EXPEL - End of rebalance expel required. Background operation complete, winding down.

VARCHAR2(4
)

State of the operation:

POWER

NUMBER

Power requested for the operation as specified by the ASM_POWER_LIMIT initialization parameter or
command syntax

ACTUAL

NUMBER

Power allocated to the operation

SOFAR

NUMBER

Number of Allocation Units that have been moved so far by the operation

EST_WORK

NUMBER

Estimated number of Allocation Units that have to be moved by the operation

EST_RATE

NUMBER

Estimated number of Allocation Units that are being moved per minute by the operation

EST_MINUTES

NUMBER

Estimated amount of time (in minutes) that the remainder of the operation is expected to take

WAIT - No operations running for the group


RUN - Operation running for the group
REAP - Operation is being run down
HALT - Operation halted by admin
ERRORS - Operation halted by errors

V$ASM_TEMPLATE
In an Automatic Storage Management instance, V$ASM_TEMPLATE displays one row for every template present in every disk group
mounted by the Automatic Storage Management instance. In a database instance, V$ASM_TEMPLATE displays one row for every
template present in every disk group mounted by the Automatic Storage Management instance with which the database instance
communicates.
Column

Datatype

Description

GROUP_NUMBER

NUMBER

Owning disk group number (foreign key to the V$ASM_DISKGROUP view)

ENTRY_NUMBER

NUMBER

Template number (primary key)

REDUNDANCY

VARCHAR2(6)

Redundancy of the template:

STRIPE

VARCHAR2(6)

UNPROT
MIRROR
PARITY
HIGH

Indicates how the template is striped:

FINE
COARSE

SYSTEM

VARCHAR2(1)

Indicates whether the template is a system template (Y) or not (N)

NAME

VARCHAR2(30)

Name of the template

V$ASM_ALIAS

In an Automatic Storage Management instance, V$ASM_ALIAS displays one row for every alias present in every disk group mounted by
the Automatic Storage Management instance. In a database instance, V$ASM_ALIAS displays no rows.
Column

Datatype

Description

NAME

VARCHAR2(48
)

Automatic Storage Management alias or alias directory name

GROUP_NUMBER

NUMBER

Owning disk group number of the alias (foreign key to the V$ASM_DISKGROUP view)

FILE_NUMBER

NUMBER

Automatic Storage Management file number of the alias (foreign key to the V$ASM_FILE view)

FILE_INCARNATION

NUMBER

Automatic Storage Management file incarnation number for the alias

ALIAS_INDEX

NUMBER

Alias entry number for the alias

ALIAS_INCARNATIO
N

NUMBER

Incarnation number for the parent of the alias

PARENT_INDEX

NUMBER

A 32-bit number consisting of a disk group number in the high-order 8 bits and an alias entry
number in the low-order 24 bits (number of the directory containing the alias)

REFERENCE_INDEX

NUMBER

A 32-bit number consisting of a disk group number in the high-order 8 bits and an alias entry
number in the low-order 24 bits (number of the directory describing the current entry).

ALIAS_DIRECTORY

VARCHAR2(1)

Indicates whether the alias is to a directory (Y) or to an Automatic Storage Management file (N)

SYSTEM_CREATED

VARCHAR2(1)

Indicates whether the alias is system created (Y) or user created (N)

V$BACKUP
V$BACKUP displays the backup status of all online datafiles.
Column

Datatype

Description

FILE#

NUMBER

File identifier

STATUS

VARCHAR2(18)

File status: NOT ACTIVE, ACTIVE (backup in progress), OFFLINE NORMAL, or description of an error

CHANGE#

NUMBER

System change number when backup started

Column

Datatype

Description

TIME

DATE

Time the backup started

V$BACKUP_ARCHIVELOG_DETAILS
V$BACKUP_ARCHIVELOG_DETAILS contains information about all restorable archive logs. It will include all archived logs backed up in a
backup set or proxy copies.
Column

Datatype

Description

BTYPE

CHAR(9)

Backup type container, either BACKUPSET or PROXYCOPY

BTYPE_KEY

NUMBER

Unique identifier for the backup type. For BACKUPSET, it is BS_KEY.

SESSION_KEY

NUMBER

Session identifier

SESSION_RECID

NUMBER

Session recid

SESSION_STAMP

NUMBER

Session stamp

ID1

NUMBER

If BACKUPSET, it contains SET_STAMP


If PROXYCOPY, it is RECID from the control file

ID2

NUMBER

If BACKUPSET, it contains SET_COUNT


If PROXYCOPY, it is STAMP

THREAD#

NUMBER

Thread number

SEQUENCE#

NUMBER

Sequence number

RESETLOGS_CHANGE
#

NUMBER

Resetlogs change SCN

RESETLOGS_TIME

DATE

Resetlogs change time

FIRST_CHANGE#

NUMBER

First change SCN

FIRST_TIME

DATE

First change time

NEXT_CHANGE#

NUMBER

Next change SCN

NEXT_TIME

DATE

Next change time

Column

Datatype

Description

FILESIZE

NUMBER

File size

COMPRESSION_RATI
O

NUMBER

Compression ratio

FILESIZE_DISPLAY

VARCHAR2(4000
)

Same value as the FILESIZE column, but converted to a user-displayable format, for example
nM, nG, nT, nP, and so on

V$BACKUP_ARCHIVELOG_SUMMARY
V$BACKUP_ARCHIVELOG_SUMMARY provides archive log summary information based on archive logs in the backup set or on proxy
copies.
Column

Datatype

Description

NUM_FILES_BACKED

NUMBER

Number of files backed up

NUM_DISTINCT_FILES_BACKED

NUMBER

Number of distinct archive log files backed up

MIN_FIRST_CHANGE#

NUMBER

Lowest SCN range value

MAX_NEXT_CHANGE#

NUMBER

Highest SCN range value

MIN_FIRST_TIME

DATE

Lowest SCN range time

MAX_NEXT_TIME

DATE

Highest SCH range time

INPUT_BYTES

NUMBER

Total input bytes read

OUTPUT_BYTES

NUMBER

Output size of backups

COMPRESSION_RATIO

NUMBER

Compression ratio

INPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for input bytes

OUTPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for output bytes

V$BACKUP_ASYNC_IO

V$BACKUP_ASYNC_IO displays performance information about ongoing and recently completed RMAN backups and restores. For each
backup, it contains one row for each input datafile, one row for the aggregate total performance of all datafiles, and one row for the
output backup piece. This data is not stored persistently, and is not preserved when the instance is re-started.
See Also:
Oracle Database Performance Tuning Guide for information on how to use this table to tune backup performance
Column

Datatype

Description

SID

NUMBER

Oracle SID of the session doing the backup or restore

SERIAL

NUMBER

Use count for the SID doing the backup or restore

USE_COUNT

NUMBER

A counter that can be used to identify rows from different backup sets

RMAN_STATUS_RECID

NUMBER

Owning V$RMAN_STATUS record ID

RMAN_STATUS_STAMP

NUMBER

Owning V$RMAN_STATUS record stamp

DEVICE_TYPE

VARCHAR2(17)

Device type where the file is located

TYPE

VARCHAR2(9)

INPUT, OUTPUT, or AGGREGATE

STATUS

VARCHAR2(11)

NOT STARTED, IN PROGRESS, or FINISHED

FILENAME

VARCHAR2(513
)

Name of the backup file being read or written

SET_COUNT

NUMBER

Set count of the backup set being read or written

SET_STAMP

NUMBER

Set stamp of the backup set being read or written

BUFFER_SIZE

NUMBER

Size of the buffers being used to read/write the file, in bytes

BUFFER_COUNT

NUMBER

Number of buffers being used to read/write the file

TOTAL_BYTES

NUMBER

Total number of bytes that will be read or written for the file, if known. If not known,
this column will be null

OPEN_TIME

DATE

Time the file was opened. If TYPE='AGGREGATE', then this is the time that the first file
in the aggregate was opened

CLOSE_TIME

DATE

Time the file was closed. If TYPE='AGGREGATE', then this is the time that the last file
in the aggregate was closed

ELAPSED_TIME

NUMBER

Time, in hundredths of a second, that the file was open

Column

Datatype

Description

MAXOPENFILES

NUMBER

Number of concurrently open DISK files. This value is only present in rows where
TYPE='AGGREGATE'.

BYTES

NUMBER

Number of bytes read or written so far

EFFECTIVE_BYTES_PER_SECON
D

NUMBER

I/O rate that was achieved with this device during this backup

IO_COUNT

NUMBER

Number of I/Os that were performed to this file

READY

NUMBER

Number of asynchronous requests for which a buffer was immediately ready for use

SHORT_WAITS

NUMBER

Number of times that a buffer was not immediately available, but a buffer became
available after doing a nonblocking poll for I/O completion

SHORT_WAIT_TIME_TOTAL

NUMBER

Total time, in hundredths of a second, taken by nonblocking polls for I/O completion

SHORT_WAIT_TIME_MAX

NUMBER

Maximum time taken for a nonblocking poll for I/O completion, in hundredths of a
second

LONG_WAITS

NUMBER

The number of times that a buffer was not immediately available, and only became
available after a blocking wait was issued

LONG_WAIT_TIME_TOTAL

NUMBER

The total time, in hundredths of a second, taken by blocking waits for I/O completion

LONG_WAIT_TIME_MAX

NUMBER

The maximum time taken for a blocking wait for I/O completion, in hundredths of a
second

V$BACKUP_CONTROLFILE_DETAILS
V$BACKUP_CONTROLFILE_DETAILS contains information about restorable control files. It will include all the control files backed up in
the backup set, image copies, and proxy copies.
Column

Datatype

Description

BTYPE

CHAR(9)

Backup type container. Possible values are BACKUPSET, IMAGECOPY, PROXYCOPY.

BTYPE_KEY

NUMBER

Unique identifier for the backup type, either BS_KEY or COPY_KEY.

SESSION_KEY

NUMBER

Session identifier

Column

Datatype

Description

SESSION_RECID

NUMBER

Session recid

SESSION_STAMP

NUMBER

Session stamp

ID1

NUMBER

If BACKUPSET, it contains SET_STAMP


If IMAGECOPY or PROXYCOPY, it is RECID from the control file

ID2

NUMBER

If BACKUPSET, it contains SET_COUNT


If IMAGECOPY or PROXYCOPY, it is STAMP

CREATION_TIME

DATE

File creation time

RESETLOGS_CHANGE#

NUMBER

Resetlogs change SCN

RESETLOGS_TIME

DATE

Resetlogs change time

CHECKPOINT_CHANGE
#

NUMBER

Checkpoint change SCN

CHECKPOINT_TIME

DATE

Checkpoint change time

FILESIZE

NUMBER

File size, in bytes, for the output of backing up this control file

COMPRESSION_RATIO

NUMBER

Compression ratio for this backup

FILESIZE_DISPLAY

VARCHAR2(4000
)

Same value as the FILESIZE column, but converted to a user-displayable format, for
example nM, nG, nT, nP, and so on

V$BACKUP_CONTROLFILE_SUMMARY
V$BACKUP_CONTROLFILE_SUMMARY provides control file summary information, based on either a backup set of files, image copies, or
proxy copies.
Column

Datatype

Description

NUM_FILES_BACKED

NUMBER

Number of files backed up for specific criteria

NUM_DISTINCT_FILES_BACKED

NUMBER

Number of distinct files backed up

MIN_CHECKPOINT_CHANGE#

NUMBER

Minimum checkpoint change number of the datafile for specified criteria

Column

Datatype

Description

MAX_CHECKPOINT_CHANGE#

NUMBER

Maximum checkpoint change number of the datafile for specified criteria

MIN_CHECKPOINT_TIME

DATE

Minimum checkpoint time of the datafile for specified criteria

MAX_CHECKPOINT_TIME

DATE

Maximum checkpoint time of the datafile for specified criteria

INPUT_BYTES

NUMBER

Total input bytes of files read

OUTPUT_BYTES

NUMBER

Total output bytes written

COMPRESSION_RATIO

NUMBER

Compression ratio

INPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for input bytes

OUTPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for output bytes

V$BACKUP_COPY_DETAILS
V$BACKUP_COPY_DETAILS contains information about all available control file and datafile copies.
Column

Datatype

Description

SESSION_KEY

NUMBER

Session identifier

SESSION_RECID

NUMBER

Session recid

SESSION_STAMP

NUMBER

Session stamp

COPY_KEY

NUMBER

Unique identifier for this datafile or control file copy

FILE#

NUMBER

Absolute datafile number

NAME

VARCHAR2(513)

File name of the datafile copy. The maximum length of the name is dependent on your
operating system.

TAG

VARCHAR2(32)

Datafile copy tag

Column

Datatype

Description

CREATION_CHANGE#

NUMBER

Datafile creation change number

CREATION_TIME

DATE

Datafile creation timestamp

CHECKPOINT_CHANGE#

NUMBER

Checkpoint change number of the datafile when the copy was made

CHECKPOINT_TIME

DATE

Checkpoint timestamp of the datafile when the copy was made

MARKED_CORRUPT

NUMBER

Number of blocks marked corrupt by this copy operation. That is, blocks that were not
marked corrupted in the source datafile, but were detected and marked as corrupted
during the copy operation.

OUTPUT_BYTES

NUMBER

Total output bytes written

COMPLETION_TIME

DATE

Time when the copy was completed

CONTROLFILE_TYPE

VARCHAR2(1)

Type of control file. B indicates normal copies. S indicates standby copies.

KEEP

VARCHAR2(3)

(YES|NO) Indicates whether or not this backup set has a retention policy that is different
than the value for the configure retention policy

KEEP_UNTIL

DATE

IF specified, this is the date after which the backup becomes obsolete. If this column is
null, then the backup never expires.

KEEP_OPTIONS

VARCHAR2(10)

Lists additional retention options for this backup set. Possible values are:

IS_RECOVERY_DEST_FIL

VARCHAR2(3)

LOGS - The logs needed to recover this backup set are kept
NOLOGS - The logs needed to recover this backup set are not kept

Indicates whether or not the file was created in the flash recovery area (YES) or not (NO)

Column

Datatype

Description

VARCHAR2(4000
)

Size of backup set to display

E
OUTPUT_BYTES_DISPLAY

V$BACKUP_COPY_SUMMARY
V$BACKUP_COPY_SUMMARY provides summary information for the output datafile and control file copy.
Column

Datatype

Description

NUM_COPIES

NUMBER

Number of copies created

NUM_DISTINCT_COPIES

NUMBER

Number of distinct copies (that contain datafiles with different checkpoints)

MIN_CHECKPOINT_CHANGE#

NUMBER

Minimum checkpoint change SCN

MAX_CHECKPOINT_CHANGE#

NUMBER

Maximum checkpoint change SCN

MIN_CHECKPOINT_TIME

DATE

Minimum checkpoint change time

MAX_CHECKPOINT_TIME

DATE

Maximum checkpoint change time

OUTPUT_BYTES

NUMBER

Total number of output bytes

OUTPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for output bytes

V$BACKUP_CORRUPTION
V$BACKUP_CORRUPTION displays information about corrupt block ranges in datafile backups from the control file. Note that corruptions
are not tolerated in the control file and archived redo log backups.

Column

Datatype

Description

RECID

NUMBER

Backup corruption record ID

STAMP

NUMBER

Backup corruption record stamp

SET_STAMP

NUMBER

Backup set stamp

SET_COUNT

NUMBER

Backup set count

PIECE#

NUMBER

backup piece that contains this corrupt block

FILE#

NUMBER

Absolute file number of the datafile that contains the corrupt blocks

BLOCK#

NUMBER

Block number of the first corrupt block in the range of corrupted blocks

BLOCKS

NUMBER

Number of corrupted blocks found starting with BLOCK#

CORRUPTION_CHANGE
#

NUMBER

Change number at which the logical corruption was detected. Set to 0 to indicate media
corruption.

MARKED_CORRUPT

VARCHAR2(3
)

Indicates whether this corruption was not previously detected by the Oracle Database (YES) or
the Oracle Database had already discovered this corrupt block and marked it as corrupt (NO).
Note that when a corrupt block is encountered in a backup, and was not already marked corrupt
by the Oracle Database, then the backup process does not mark the block as corrupt in the
production datafile. Thus, this field may be YES for the same block in more than one backup set.

CORRUPTION_TYPE

VARCHAR2(9
)

Type of block corruption in the datafile:

ALL ZERO - Block header on disk contained only zeros. The block may be valid if it was
never filled and if it is in an Oracle7 file. The buffer will be reformatted to the Oracle8
standard for an empty block.
FRACTURED - Block header looks reasonable, but the front and back of the block are
different versions.

Column

Datatype

Description

CHECKSUM - optional check value shows that the block is not self-consistent. It is
impossible to determine exactly why the check value fails, but it probably fails because
sectors in the middle of the block are from different versions.
CORRUPT - Block is wrongly identified or is not a data block (for example, the data block
address is missing)
LOGICAL - Specifies the range is for logically corrupt blocks. CORRUPTION_CHANGE# will
have a nonzero value.

V$BACKUP_DATAFILE
V$BACKUP_DATAFILE displays information about control files and datafiles in backup sets from the control file.
Column

Datatype

Description

RECID

NUMBER

Backup datafile record ID

STAMP

NUMBER

Backup datafile record stamp

SET_STAMP

NUMBER

Backup set stamp

SET_COUNT

NUMBER

Backup set count

FILE#

NUMBER

Datafile number; set to 0 for control file

CREATION_CHANGE#

NUMBER

Creation system change number (SCN) of the datafile

CREATION_TIME

DATE

Creation timestamp of the datafile

RESETLOGS_CHANGE#

NUMBER

Resetlogs system change number (SCN) of the datafile when it was backed up

RESETLOGS_TIME

DATE

Resetlogs timestamp of the datafile when it was backed up

INCREMENTAL_LEVEL

NUMBER

(0-4) incremental backup level

INCREMENTAL_CHANGE#

NUMBER

All blocks changed after the incremental change number is included in this backup; set to 0
for a full backup

Column

Datatype

Description

CHECKPOINT_CHANGE#

NUMBER

All changes up to the checkpoint change number are included in this backup

CHECKPOINT_TIME

DATE

Timestamp of the checkpoint

ABSOLUTE_FUZZY_CHANGE
#

NUMBER

Highest change number in this backup

MARKED_CORRUPT

NUMBER

Number of blocks marked corrupt

MEDIA_CORRUPT

NUMBER

Number of blocks media corrupt

LOGICALLY_CORRUPT

NUMBER

Number of blocks logically corrupt

DATAFILE_BLOCKS

NUMBER

Size of the datafile in blocks at backup time. This value is also the number of blocks taken
by the datafile restarted from this backup.

BLOCKS

NUMBER

Size of the backup datafile (in blocks). Unused blocks are not copied to the backup.

BLOCK_SIZE

NUMBER

Block size

OLDEST_OFFLINE_RANGE

NUMBER

RECID of the oldest offline range record in this backup control file. 0 for datafile backups.

COMPLETION_TIME

DATE

Time completed

CONTROLFILE_TYPE

VARCHAR2(1
)

B - Normal copies
S - Standby copies

USED_CHANGE_TRACKING

VARCHAR2(3
)

Indicates whether change tracking data was used to accelerate this incremental backup
(YES) or whether change tracking data was not used (NO)

BLOCKS_READ

NUMBER

Number of blocks that were scanned while taking this backup. If this was an incremental
backup, and change tracking was used to optimize the backup, then the value of this
column will be smaller than DATAFILE_BLOCKS. Otherwise, the value of this column will be
the same as DATAFILE_BLOCKS. Even when change tracking data is used, the value of this
column may be larger than BLOCKS, because the data read by change tracking is further
refined during the process of creating an incremental backup.

USED_OPTIMIZATION

VARCHAR2(3
)

Whether or not backup optimization was applied

V$BACKUP_DATAFILE_DETAILS

V$BACKUP_DATAFILE_DETAILS contains information about restorable datafiles. It will include all datafiles backed in the backup set,
image copies, and proxy copies.
Column

Datatype

Description

BTYPE

CHAR(9)

Backup type container. Possible values are: BACKUPSET, IMAGECOPY, PROXYCOPY.

BTYPE_KEY

NUMBER

Unique identifier for the backup type. For BACKUPSET, it is BS_KEY.

SESSION_KEY

NUMBER

Session identifier

SESSION_RECID

NUMBER

Session record ID

SESSION_STAMP

NUMBER

Session stamp

ID1

NUMBER

If BACKUPSET, it contains SET_STAMP.


If IMAGECOPY or PROXYCOPY, it is RECID from the control file.

ID2

NUMBER

If BACKUPSET, it contains SET_COUNT.


If IMAGECOPY or PROXYCOPY, it is STAMP.

FILE#

NUMBER

File number

CREATION_CHANGE#

NUMBER

File creation change SCN

CREATION_TIME

DATE

File creation time

RESETLOGS_CHANGE#

NUMBER

Resetlogs change SCN

RESETLOGS_TIME

DATE

Resetlogs change time

INCREMENTAL_LEVEL

NUMBER

Incremental level

INCREMENTAL_CHANGE
#

NUMBER

Incremental change SCN

CHECKPOINT_CHANGE#

NUMBER

Checkpoint change SCN

CHECKPOINT_TIME

DATE

Checkpoint change time

MARKED_CORRUPT

NUMBER

Number of blocks marked corrupt

FILESIZE

NUMBER

File size, in bytes

COMPRESSION_RATIO

NUMBER

Compression ratio

TS#

NUMBER

Tablespace number

Column

Datatype

Description

TSNAME

VARCHAR2(30)

Tablespace name

FILESIZE_DISPLAY

VARCHAR2(4000
)

Same value as the FILESIZE column, but converted to a user-displayable format, for
example nM, nG, nT, nP, and so on

V$BACKUP_DEVICE
V$BACKUP_DEVICE displays information about supported backup devices. If a device type does not support named devices, then one
row with the device type and a null device name is returned for that device type. If a device type supports named devices then one
row is returned for each available device of that type. The special device type DISK is not returned by this view because it is always
available.
Column

Datatype

Description

DEVICE_TYPE

VARCHAR2(17)

Type of the backup device

DEVICE_NAME

VARCHAR2(513)

Name of the backup device

V$BACKUP_FILES
V$BACKUP_FILES displays information about all RMAN backups (both image copies and backup sets) and archived logs.
This view simulates the LIST BACKUP and LIST COPY RMAN commands. This view requires that the database be set using the
DBMS_RCVMAN.SETDATABASE procedure.
Column

Datatype

Description

PKEY

NUMBER

Primary key for the backup

BACKUP_TYPE

VARCHAR2(32)

Type of the backup:

BACKUP SET
COPY
PROXY COPY

Column

Datatype

Description

FILE_TYPE

VARCHAR2(32)

Type of the file:

DATAFILE
CONTROLFILE
SPFILE
REDO LOG
COPY (for an image copy backup)
PIECE (for a backup piece)

KEEP

VARCHAR2(3)

Indicates whether the backup has a retention policy different from the value for
CONFIGURE RETENTION POLICY (YES) or not (NO)

KEEP_UNTIL

DATE

If the KEEP UNTIL TIME clause of the BACKUP command was specified, then this column
shows the date after which the backup becomes obsolete. If the column is null and
KEEP_OPTIONS is not null, the backup never becomes obsolete.

KEEP_OPTIONS

VARCHAR2(13)

KEEP options for the backup:


LOGS - RMAN keeps the logs needed to recover the backup
NOLOGS - RMAN does not keep the logs needed to recover the backup
If this column is null, then the backup has no KEEP options and will be made obsolete
based on the retention policy.

STATUS

VARCHAR2(16)

Status of the backup:

AVAILABLE
UNAVAILABLE
EXPIRED
OTHER

FNAME

VARCHAR2(1024
)

Name of the file

TAG

VARCHAR2(32)

Tag of the piece, copy, or proxy copy

Column

Datatype

Description

MEDIA

VARCHAR2(80)

Media ID of the piece or proxy copy

RECID

NUMBER

Recid of the record in the control file

STAMP

NUMBER

Stamp of the record in the control file

DEVICE_TYPE

VARCHAR2(255)

Type of media device that stores the backup

BLOCK_SIZE

NUMBER

Block size for the backup (in bytes)

COMPLETION_TIME

DATE

Time when the backup completed

COMPRESSED

VARCHAR2(3)

Indicates whether the backup piece is compressed (YES) or not (NO); valid only if
FILE_TYPE is PIECE. Image copies cannot be compressed.

OBSOLETE

VARCHAR2(3)

Indicates whether the backup piece or copy is obsolete (YES) or not (NO); valid only if
FILE_TYPE is PIECE or COPY

BYTES

NUMBER

Size of the file (in bytes)

BS_KEY

NUMBER

Primary key of the backup set (valid only if BACKUP_TYPE is BACKUP SET)

BS_COUNT

NUMBER

Count of the backup set from the control file record (valid only if BACKUP_TYPE is BACKUP
SET)

BS_STAMP

NUMBER

Stamp of the backup set from the control file record (valid only if BACKUP_TYPE is BACKUP
SET)

BS_TYPE

VARCHAR2(32)

Type of the backup set (valid only if BACKUP_TYPE is BACKUP SET):

DATAFILE

Column

Datatype

Description

ARCHIVED LOG

BS_INCR_TYPE

VARCHAR2(32)

Incremental type of the backup set (valid only if BACKUP_TYPE is BACKUP SET)

BS_PIECES

NUMBER

Number of backup pieces in the backup set (valid only if BACKUP_TYPE is BACKUP SET)

BS_COPIES

NUMBER

Number of copies of the backup set (valid only if FILE_TYPE is PIECE and BACKUP_TYPE is
BACKUP SET)

BS_COMPLETION_TIME

DATE

Completion time of the backup set (valid only if BACKUP_TYPE is BACKUP SET)

BS_STATUS

VARCHAR2(16)

Status of the backup set (valid only if BACKUP_TYPE is BACKUP SET):

AVAILABLE
UNAVAILABLE
EXPIRED
OTHER - Pieces which are part of the backup set do not have uniform status (that
is, some of them are available, some not)

BS_BYTES

NUMBER

Sum of all backup piece sizes in the backup set (valid only if BACKUP_TYPE is BACKUP SET)

BS_COMPRESSED

VARCHAR2(3)

Indicates whether the backup pieces of the backup set are compressed (YES) or not (NO);
valid only if BACKUP_TYPE is BACKUP SET

BS_TAG

VARCHAR2(1024
)

Tags of the backup set. If pieces have different tags, then all piece tags are concatenated
and separated by commas. Valid only if BACKUP_TYPE is BACKUP SET)

BS_DEVICE_TYPE

VARCHAR2(255)

Device type of the backup set. If there is more than one device type, then they are
separated by commas. Valid only if BACKUP_TYPE is BACKUP SET

BP_PIECE#

NUMBER

Number of pieces inside the backup set (valid only if FILE_TYPE is PIECE and
BACKUP_TYPE is BACKUP SET)

Column

Datatype

Description

BP_COPY#

NUMBER

Number of copies of the backup set (valid only if FILE_TYPE is PIECE and BACKUP_TYPE is
BACKUP SET)

DF_FILE#

NUMBER

Absolute file number of the datafile (valid only if FILE_TYPE is DATAFILE)

DF_TABLESPACE

VARCHAR2(30)

Tablespace name of the datafile (valid only if FILE_TYPE is DATAFILE)

DF_RESETLOGS_CHANGE#

NUMBER

System change number (SCN) of the most recent RESETLOGS when the control file or
datafile was created (valid only if FILE_TYPE is DATAFILE)

DF_CREATION_CHANGE#

NUMBER

Creation SCN of the control file or datafile (valid only if FILE_TYPE is DATAFILE)

DF_CHECKPOINT_CHANGE
#

NUMBER

System change number (SCN) of the most recent control file or datafile checkpoint (valid
only if FILE_TYPE is DATAFILE)

DF_CKP_MOD_TIME

DATE

Modification time in case of SPFILE, otherwise time when the control file or datafile was
checkpointed (valid only if FILE_TYPE is DATAFILE)

RL_THREAD#

NUMBER

Redo log thread number of the archived log (valid only if FILE_TYPE is REDO LOG)

RL_SEQUENCE#

NUMBER

Redo log sequence number of the archived log (valid only if FILE_TYPE is REDO LOG)

RL_RESETLOGS_CHANGE#

NUMBER

System change number (SCN) of the most recent RESETLOGS when the record was
created (valid only if FILE_TYPE is REDO LOG)

RL_FIRST_CHANGE#

NUMBER

First SCN of the redo log (valid only if FILE_TYPE is REDO LOG)

RL_FIRST_TIME

DATE

Time when the Oracle Database switched into the redo log (valid only if FILE_TYPE is
REDO LOG)

Column

Datatype

Description

RL_NEXT_CHANGE#

NUMBER

First SCN of the next redo log in the thread (valid only if FILE_TYPE is REDO LOG)

RL_NEXT_TIME

DATE

First timestamp of the next redo log in the thread (valid only if FILE_TYPE is REDO LOG)

V$BACKUP_PIECE_DETAILS
V$BACKUP_PIECE_DETAILS displays information about all available backup pieces.
Column

Datatype

Description

SESSION_KEY

NUMBER

Session identifier

SESSION_RECID

NUMBER

Session recid

SESSION_STAMP

NUMBER

Session stamp

BS_KEY

NUMBER

Backup set identifier

BP_KEY

NUMBER

Backup piece key

RECID

NUMBER

Backup piece record ID

STAMP

NUMBER

Backup piece record stamp

SET_STAMP

NUMBER

Backup set stamp

SET_COUNT

NUMBER

Backup set count

PIECE#

NUMBER

Backup piece number (1-N)

COPY#

NUMBER

Indicates the copy number for backup pieces created with duplex enabled. The value is 1
if the backup piece is not duplexed.

DEVICE_TYPE

VARCHAR2(17)

Type of device on which the backup piece resides. Set to DISK for backup sets on disk.

HANDLE

VARCHAR2(513)

Backup piece handle identifies the backup piece on restore

COMMENTS

VARCHAR2(64)

Comments returned by the operating system or storage subsystem. Set to NULL for
backup pieces on disk. This value is informational only. It is not needed for restore.

Column

Datatype

Description

MEDIA

VARCHAR2(65)

Name of the media on which the backup piece resides. This value is informational only. It
is not needed for restore.

MEDIA_POOL

NUMBER

The media pool in which the copy resides. This is the same value that was entered in the
POOL operand of the Recovery Manager BACKUP command.

CONCUR

VARCHAR2(3)

(YES|NO) indicates whether or not the piece is on a media that can be accessed
concurrently

TAG

VARCHAR2(32)

Backup piece tag. The tag is specified at backup set level, but stored at piece level.

STATUS

VARCHAR2(1)

Indicates the status of the piece: A (available), D (deleted), or X (expired)

START_TIME

DATE

Starting time

COMPLETION_TIME

DATE

Completion time

ELAPSED_SECONDS

NUMBER

Number of elapsed seconds

DELETED

VARCHAR2(3)

NO indicates that the file still exists. YES indicates that the file no longer exists because it
has been deleted.

BYTES

NUMBER

Size of the backup piece, in bytes

IS_RECOVERY_DEST_FIL
E

VARCHAR2(3)

Indicates whether or not the file was created in the flash recovery area (YES) or not (NO)

RMAN_STATUS_RECID

NUMBER

Owning V$RMAN_STATUS record ID

RMAN_STATUS_STAMP

NUMBER

Owning V$RMAN_STATUS record stamp

COMPRESSED

VARCHAR2(3)

Indicates whether the backup piece is compressed (YES) or not (NO)

PIECES_PER_SET

NUMBER

Number of backup pieces per set

SIZE_BYTES_DISPLAY

VARCHAR2(4000
)

Size (in bytes) of the backup piece to display

V$BACKUP_REDOLOG
V$BACKUP_REDOLOG displays information about archived logs in backup sets from the control file. Note that online redo logs cannot be
backed up directly; they must be archived first to disk and then backed up. An archive log backup set can contain one or more
archived logs.

Column

Datatyp
e
Description

RECID

NUMBER

Record ID for this row; it is an integer that identifies this row

STAMP

NUMBER

Timestamp used with RECID to uniquely identify this row

SET_STAMP

NUMBER

One of the foreign keys for the row of the V$BACKUP_SET table that identifies this backup set

SET_COUNT

NUMBER

One of the foreign keys for the row of the V$BACKUP_SET table that identifies this backup set

THREAD#

NUMBER

Thread number for the log

SEQUENCE#

NUMBER

Log sequence number

RESETLOGS_CHANGE# NUMBER

Change number of the last resetlogs before the log was written

RESETLOGS_TIME

DATE

Change time of the last resetlogs before the log was written. These will be the same for all logs in a
backup set.

FIRST_CHANGE#

NUMBER

SCN when the log was switched into. The redo in the log is at this SCN and greater.

FIRST_TIME

DATE

Time allocated when the log was switched into

NEXT_CHANGE#

NUMBER

SCN when the next log in this thread was switched into. The redo in the log is below this SCN.

NEXT_TIME

DATE

Time when the next log in this thread was switched into

BLOCKS

NUMBER

Size of the log in logical blocks including the header block

BLOCK_SIZE

NUMBER

Size of the log blocks in bytes

V$BACKUP_SET
V$BACKUP_SET displays information about backup sets from the control file. A backup set record is inserted after the backup set is
successfully completed.
Column

Datatype

Description

RECID

NUMBER

Backup set record ID

STAMP

NUMBER

Backup set record stamp

SET_STAMP

NUMBER

Backup set stamp. The backup set stamp and count uniquely identify the backup set.
Primary key for the V$BACKUP_SET table, and the foreign key for the following tables:

Column

Datatype

Description
V$BACKUP_PIECE, V$BACKUP_DATAFILE, V$BACKUP_REDOLOG, V$BACKUP_CORRUPTION.

SET_COUNT

NUMBER

Backup set count. The backup set count is incremented by one every time a new backup set
is started (if the backup set is never completed the number is "lost"). If the control file is recreated then the count is reset to 1. Therefore the count must be used with the stamp to
uniquely identify a backup set.
Primary key for the V$BACKUP_SET table, and the foreign key for the following tables:
V$BACKUP_PIECE, V$BACKUP_DATAFILE, V$BACKUP_REDOLOG, V$BACKUP_CORRUPTION

BACKUP_TYPE

VARCHAR2(1)

Type of files that are in this backup. If the backup contains archived redo logs, the value is L.
If this is a datafile full backup, the value is D. If this is an incremental backup, the value is I.

CONTROLFILE_INCLUDE
D

VARCHAR2(3)

Set to YES if there is a control file included in this backup set, otherwise set to NO

INCREMENTAL_LEVEL

NUMBER

Location where this backup set fits into the database's backup strategy. Set to zero for full
datafile backups, nonzero for incremental datafile backups, and NULL for archivelog
backups.

PIECES

NUMBER

Number of distinct backup pieces in the backup set

START_TIME

DATE

Starting time

COMPLETION_TIME

DATE

Time that this backup set completed

ELAPSED_SECONDS

NUMBER

The number of elapsed seconds

BLOCK_SIZE

NUMBER

Block size of the backup set

INPUT_FILE_SCAN_ONL
Y

VARCHAR2(3)

YES indicates no actual backup is performed, but the datafiles are read. NO indicates a
normal backup is performed.

KEEP

VARCHAR2(3)

(YES/NO) Indicates whether or not this backup set has a retention policy that is different than
the value for the configure retention policy

KEEP_UNTIL

DATE

If KEEP_UNTIL_TIME is specified, this is the date after which the backup becomes obsolete. If
this column is null, then the backup never expires.

KEEP_OPTIONS

VARCHAR2(10
)

Lists additional retention options for this backup set. Possible values are:
LOGS - The logs need to recover this backup are kept
NOLOGS - The logs needed to recover this backup will not be kept

V$BACKUP_SET_DETAILS

V$BACKUP_SET_DETAILS provides detailed information about the backup set. This view will contain an extra row for each backup
session that invokes BACKUP BACKUPSET (that is, creates new copies for the same backup set or copies backup set information from
disk to tape). However, the remaining values of other columns belong to the complete backup set.
Column

Datatype

Description

SESSION_KEY

NUMBER

Session identifier

SESSION_RECID

NUMBER

Identifies the job, together with SESSION_STAMP.

SESSION_STAMP

NUMBER

Identifies the job, together with SESSION_RECID

BS_KEY

NUMBER

Backup set identifier

RECID

NUMBER

RECID from V$BACKUP_SET record

STAMP

NUMBER

Stamp from V$BACKUP_SET record

SET_STAMP

NUMBER

Backup set stamp

SET_COUNT

NUMBER

Backup count number

BACKUP_TYPE

VARCHAR2(1)

Type of backup (same as in V$BACKUP_SET)

CONTROLFILE_INCLUDED

VARCHAR2(3)

Control file included in backup set (same as in V$BACKUP_SET)

INCREMENTAL_LEVEL

NUMBER

Incremental level (same as in V$BACKUP_SET)

PIECES

NUMBER

Number of pieces (same as in V$BACKUP_SET)

START_TIME

DATE

Start time of the backup set (same as in V$BACKUP_SET)

COMPLETION_TIME

DATE

Completion time of the backup set (same as in V$BACKUP_SET)

ELAPSED_SECONDS

NUMBER

Time taken for backup set creation (same as in V$BACKUP_SET)

BLOCK_SIZE

NUMBER

Block size (same as in V$BACKUP_SET)

KEEP

VARCHAR2(3)

Keep value (same as in V$BACKUP_SET)

KEEP_UNTIL

DATE

Keep Until time (same as in V$BACKUP_SET)

KEEP_OPTIONS

VARCHAR2(10)

Keep options (same as in V$BACKUP_SET)

DEVICE_TYPE

VARCHAR2(17)

Type of device. If the backup set exists on more than one device type, an * is
indicated here.

Column

Datatype

Description

COMPRESSED

VARCHAR2(3)

YES, if backup is compressed

NUM_COPIES

NUMBER

Number of identical copies

OUTPUT_BYTES

NUMBER

Size of the backup set

ORIGINAL_INPUT_BYTES

NUMBER

Amount of data backed up when the backup set was created

COMPRESSION_RATIO

NUMBER

Compression ratio (input size/output size)

STATUS

CHAR(1)

The status of the backup set. It is always A (all backup pieces available),
because this view only reflects available backup sets.

ORIGINAL_INPRATE_BYTES

NUMBER

Number of bytes read per second when backup set was initially created

OUTPUT_RATE_BYTES

NUMBER

Number of bytes written per second when the backup set was initially created

ORIGINAL_INPUT_BYTES_DISPLAY

VARCHAR2(4000
)

Input rate to display

OUTPUT_BYTES_DISPLAY

VARCHAR2(4000
)

Size of backup set to display

ORIGINAL_INPRATE_BYTES_DISPLA
Y

VARCHAR2(4000
)

Input rate per second for display

OUTPUT_RATE_BYTES_DISPLAY

VARCHAR2(4000
)

Output rate per second for display

TIME_TAKEN_DISPLAY

VARCHAR2(4000
)

Elapsed time in hh:mm:ss format

V$BACKUP_SET_SUMMARY
V$BACKUP_SET_SUMMARY provides summary information for a backup set.
Column

Datatype

Description

NUM_BACKUPSETS

NUMBER

Total number of backup sets created

OLDEST_BACKUP_TIME

DATE

Oldest backup start time

NEWEST_BACKUP_TIME

DATE

Newest backup start time

Column

Datatype

Description

OUTPUT_BYTES

NUMBER

Number of output bytes (not including multiple copies)

ORIGINAL_INPUT_BYTES

NUMBER

Number of input bytes when backup sets were created

ORIGINAL_INPRATE_BYTES

NUMBER

Average input rate

OUTPUT_RATE_BYTES

NUMBER

Average output rate

COMPRESSION_RATIO

NUMBER

Compression ratio

ORIGINAL_INPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for input bytes

OUTPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for output bytes

ORIGINAL_INPRATE_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for input rate

OUTPUT_RATE_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for output rate

V$BACKUP_SPFILE
V$BACKUP_SPFILE displays information about server parameter files in backup sets from the control file.
Column

Datatype

Description

RECID

NUMBER

Backup SPFILE record ID

STAMP

NUMBER

Backup SPFILE record stamp

SET_STAMP

NUMBER

Backup set stamp (of the set which contains this SPFILE backup)

SET_COUNT

NUMBER

Backup set count (of the set which contains this SPFILE backup)

MODIFICATION_TIME

DATE

Time when the SPFILE was last modified (this also includes creation time)

BYTES

NUMBER

Size of the SPFILE (in bytes)

COMPLETION_TIME

DATE

Time when the backup of the SPFILE completed

V$BACKUP_SPFILE_DETAILS
V$BACKUP_SPFILE_DETAILS displays information about all restorable SP files backed up in the backup set.

Column

Datatype

Description

SESSION_KEY

NUMBER

Session identifier

SESSION_RECID

NUMBER

Session recid

SESSION_STAMP

NUMBER

Session stamp

BS_KEY

NUMBER

Unique backup set identifier

SET_STAMP

NUMBER

Backup set stamp

SET_COUNT

NUMBER

Backup set count

MODIFICATION_TIM
E

DATE

Time the backup set was modified

FILESIZE

NUMBER

Size, in bytes, of the SPFILE that was backed up

FILESIZE_DISPLAY

VARCHAR2(4000
)

Same value as the FILESIZE column, but converted to a user-displayable format, for example
nM, nG, nT, nP, and so on

V$BACKUP_SPFILE_SUMMARY
V$BACKUP_SPFILE_SUMMARY provides summary information for input SP file, based on either a backup job or time range applicable to
jobs.
Column

Datatype

Description

NUM_FILES_BACKED

NUMBER

Number of files backed up

NUM_DISTINCT_FILES_BACKED

NUMBER

Number of distinct SP files backed up (with modification timestamp)

MIN_MODIFICATION_TIME

DATE

Minimum modification time

MAX_MODIFICATION_TIME

DATE

Maximum modification time

INPUT_BYTES

NUMBER

Total input bytes for all SP files backed up

INPUT_BYTES_DISPLAY

VARCHAR2(4000)

Displayable format for all input bytes

V$BACKUP_SYNC_IO

V$BACKUP_SYNC_IO displays performance information about ongoing and recently completed RMAN backups and restores. For each
backup, it contains one row for each input datafile, one row for the aggregate total performance of all datafiles, and one row for the
output backup piece. This data is not stored persistently, and is not preserved when the instance is re-started.
See Also:
Oracle Database Performance Tuning Guide for information on how to use this table to tune backup performance
Column

Datatype

Description

SID

NUMBER

The Oracle SID of the session doing the backup or restore

SERIAL

NUMBER

The use count for the SID doing the backup or restore

USE_COUNT

NUMBER

A counter that can be used to identify rows from different backup sets

RMAN_STATUS_RECID

NUMBER

Owning V$RMAN_STATUS record ID

RMAN_STATUS_STAMP

NUMBER

Owning V$RMAN_STATUS record stamp

DEVICE_TYPE

VARCHAR2(17)

The device type where the file is located

TYPE

VARCHAR2(9)

INPUT, OUTPUT, or AGGREGATE

STATUS

VARCHAR2(11)

NOT STARTED, IN PROGRESS, or FINISHED

FILENAME

VARCHAR2(513
)

The name of the backup file being read or written

SET_COUNT

NUMBER

The set count of the backup set being read or written

SET_STAMP

NUMBER

The set stamp of the backup set being read or written

BUFFER_SIZE

NUMBER

The size of the buffers being used to read/write this file, in bytes

BUFFER_COUNT

NUMBER

The number of buffers being used to read/write this file

TOTAL_BYTES

NUMBER

The total number of bytes that will be read or written for this file, if known. If not
known, this column will be null.

OPEN_TIME

DATE

The time this file was opened. If TYPE='AGGREGATE', then this is the time that the
first file in the aggregate was opened.

CLOSE_TIME

DATE

The time this file was closed. If TYPE='AGGREGATE', then this is the time that the last
file in the aggregate was closed.

ELAPSED_TIME

NUMBER

The time, in hundredths of a second, that the file was open

Column

Datatype

Description

MAXOPENFILES

NUMBER

The number of concurrently open DISK files. This value is only present in rows where
TYPE='AGGREGATE'.

BYTES

NUMBER

The number of bytes read or written so far

EFFECTIVE_BYTES_PER_SECON
D

NUMBER

The I/O rate that was achieved with this device during this backup

IO_COUNT

NUMBER

The number of I/Os that were performed to this file

IO_TIME_TOTAL

NUMBER

The total time, in hundredths of a second, taken to do I/O for this file

IO_TIME_MAX

NUMBER

The maximum time taken for a single I/O request

DISCRETE_BYTES_PER_SECOND

NUMBER

The average transfer rate for this file

V$BGPROCESS
V$BGPROCESS displays information about the background processes.
Column

Datatype

Description

PADDR

RAW(4 | 8)

Address of the process state object

PSERIAL#

NUMBER

Process state object serial number

NAME

VARCHAR2(5)

Name of this background process

DESCRIPTION

VARCHAR2(64)

Description of the background process

ERROR

NUMBER

Error encountered

V$BH
This is a Real Application Clusters view. This view gives the status and number of pings for every buffer in the SGA.
Column

Datatype

Description

FILE#

NUMBER

Datafile identifier number (to find the filename, query DBA_DATA_FILES or V$DBFILE)

Column

Datatype

Description

BLOCK#

NUMBER

Block number

CLASS#

NUMBER

Class number

STATUS

VARCHAR2(6
)

Status of the buffer:

XNC

NUMBER

Number of PCM x to null lock conversions due to contention with another instance. This column
is obsolete and maintained for backward compatibility.

LOCK_ELEMENT_ADDR

RAW(4 | 8)

Address of the lock element that contains the PCM lock that is covering the buffer. If more than
one buffer has the same address, then these buffers are covered by the same PCM lock.

LOCK_ELEMENT_NAME

NUMBER

The address of the lock element that contains the PCM lock that is covering the buffer. If more
than one buffer has the same address, then these buffers are covered by the same PCM lock.

LOCK_ELEMENT_CLAS
S

NUMBER

The address of the lock element that contains the PCM lock that is covering the buffer. If more
than one buffer has the same address, then these buffers are covered by the same PCM lock.

FORCED_READS

NUMBER

Number of times the block had to be reread from the cache because another instance has
forced it out of this instance's cache by requesting the lock on the block in exclusive mode

FORCED_WRITES

NUMBER

Number of times GCS had to write this block to cache because this instance had used the block
and another instance had requested the lock on the block in a conflicting mode

DIRTY

VARCHAR2(1

Y - block modified

free - Not currently in use


xcur - Exclusive
scur - Shared current
cr - Consistent read
read - Being read from disk
mrec - In media recovery mode
irec - In instance recovery mode

Column

Datatype

Description

)
TEMP

VARCHAR2(1
)

Y - temporary block

PING

VARCHAR2(1
)

Y - block pinged

STALE

VARCHAR2(1
)

Y - block is stale

DIRECT

VARCHAR2(1
)

Y - direct block

NEW

VARCHAR2(1
)

Always set to N. This column is obsolete and maintained for backward compatibility.

OBJD

NUMBER

Database object number of the block that the buffer represents

TS#

NUMBER

Tablespace number of block

V$BLOCK_CHANGE_TRACKING
V$BLOCK_CHANGE_TRACKING displays the status of block change tracking for the database.
Column

Datatype

Description

STATUS

VARCHAR2(10)

Status of block change tracking in the database:

DISABLED - Block change tracking is disabled


TRANSITION - Block change tracking is in the process of transitioning between the enabled and
disabled states. The TRANSITION state should usually never be observed, because it only exists

Column

Datatype

Description

while enabling or disabling block change tracking. This state might be observed if the instance
crashed while enabling or disabling block change tracking, in which case it will be cleaned up
automatically the next time that the database is opened.
ENABLED - Block change tracking is enabled

FILENAM
E

VARCHAR2(513
)

Name of the block change tracking file for the database

BYTES

NUMBER

Size of the block change tracking file (in bytes)

V$BLOCKING_QUIESCE
V$BLOCKING_QUIESCE indicates if a session is blocking, or would block, a quiesce operation.
Column

Datatype

Description

SID

NUMBER

Session identifier

V$BUFFER_POOL
V$BUFFER_POOL displays information about all buffer pools available for the instance.
Column

Datatype

Description

ID

NUMBER

Buffer pool identifier number

NAME

VARCHAR2(20

Name of the buffer pool:

Column

Datatype

Description

DEFAULT
KEEP
RECYCLE
Note: Currently, KEEP and RECYCLE pools only exist for the standard block size. All nonstandard block size pools are DEFAULT.

BLOCK_SIZE

NUMBER

Block size (in bytes) for buffers in this pool. Possible values: the standard block size, the power of 2
non-standard block sizes, 2048, 4096, 8192, 16384, 32768.

RESIZE_STATE

VARCHAR2(10
)

Current state of the resize operation:


STATIC - Not being resized
ALLOCATING - Memory is being allocated (can be cancelled by the user)
ACTIVATING - New buffers are being created (user cannot cancel)
SHRINKING - Buffers are being deleted (can be cancelled by the user)

CURRENT_SIZE

NUMBER

Present size of the sub-cache (in megabytes)

BUFFERS

NUMBER

Current instantaneous number of buffers

TARGET_SIZE

NUMBER

If a resize is in progress (state is not STATIC), records new target size (in megabytes). If the pool is
STATIC, the value in this column is the same as the current size of the pool.

TARGET_BUFFER
S

NUMBER

If a resize is in progress, records new target size in terms of buffers. Otherwise, the value in this
column is the same as the current number of buffers.

PREV_SIZE

NUMBER

Previous buffer pool size. If the buffer pool has never been resized, the previous size is zero.

Column

Datatype

Description

PREV_BUFFERS

NUMBER

Previous number of buffers in the buffer pool. Value is zero if the buffer pool has never been
resized.

LO_BNUM

NUMBER

Obsolete column

HI_BNUM

NUMBER

Obsolete column

LO_SETID

NUMBER

Obsolete column

HI_SETID

NUMBER

Obsolete column

SET_COUNT

NUMBER

Obsolete column

V$BUFFER_POOL_STATISTICS
V$BUFFER_POOL_STATISTICS displays statistics about all buffer pools available for the instance.
Column

Datatype

Description

ID

NUMBER

Buffer pool identifier number

NAME

VARCHAR2(20)

Name of the buffer pool

SET_MSIZE

NUMBER

Buffer pool maximum set size

CNUM_REPL

NUMBER

Number of buffers on replacement list

CNUM_WRITE

NUMBER

Number of buffers on write list

CNUM_SET

NUMBER

Number of buffers in set

BUF_GOT

NUMBER

Number of buffers gotten by the set

Column

Datatype

Description

SUM_WRITE

NUMBER

Number of buffers written by the set

SUM_SCAN

NUMBER

Number of buffers scanned in the set

FREE_BUFFER_WAIT

NUMBER

Free buffer wait statistic

WRITE_COMPLETE_WAIT

NUMBER

Write complete wait statistic

BUFFER_BUSY_WAIT

NUMBER

Buffer busy wait statistic

FREE_BUFFER_INSPECTED

NUMBER

Free buffer inspected statistic

DIRTY_BUFFERS_INSPECTED

NUMBER

Dirty buffers inspected statistic

DB_BLOCK_CHANGE

NUMBER

Database blocks changed statistic

DB_BLOCK_GETS

NUMBER

Database blocks gotten statistic

CONSISTENT_GETS

NUMBER

Consistent gets statistic

PHYSICAL_READS

NUMBER

Physical reads statistic

PHYSICAL_WRITES

NUMBER

Physical writes statistic

V$CACHE
This is a Real Application Clusters view. This view contains information from the block header of each block in the SGA of the current
instance as related to particular database objects.
Column

Datatype

Description

FILE#

NUMBER

Datafile identifier number (to find the filename, query DBA_DATA_FILES or V$DBFILE)

BLOCK#

NUMBER

Block number

CLASS#

NUMBER

Class number

STATUS

VARCHAR2(6)

Status of the block:

free - Not currently in use

Column

Datatype

Description

xcur - Exclusive
scur - Shared current
cr - Consistent read
read - Being read from disk
mrec - In media recovery mode
irec - In instance recovery mode

XNC

NUMBER

Number of PCM x to null lock conversions due to contention with another instance. This column
is obsolete and maintained for backward compatibility.

FORCED_READS

NUMBER

Number of times the block had to be reread from the cache because another instance has
forced it out of this instance's cache by requesting the lock on the block in exclusive mode

FORCED_WRITES

NUMBER

Number of times GCS had to write this block to cache because this instance had used the block
and another instance had requested the lock on the block in a conflicting mode

NAME

VARCHAR2(30
)

Name of the database object containing the block

PARTITION_NAME

VARCHAR2(30
)

Name of the partition (null for non-partitioned objects)

KIND

VARCHAR2(15
)

Type of the database object:

INDEX
TABLE
CLUSTER
VIEW
SYNONYM
SEQUENCE
PROCEDURE
FUNCTION
PACKAGE

Column

Datatype

Description

NON-EXISTENT
PACKAGE BODY
TRIGGER
TYPE
TYPE BODY
TABLE PARTITION
INDEX PARTITION
LOB
LIBRARY
JAVA SOURCE
JAVA CLASS
JAVA RESOURCE
JAVA DATA
UNDO

OWNER#

NUMBER

Owner number

LOCK_ELEMENT_ADD
R

RAW(4 | 8)

Address of the lock element that contains the PCM lock that is covering the buffer. If more than
one buffer has the same address, then these buffers are covered by the same PCM lock.

LOCK_ELEMENT_NAM
E

NUMBER

Name of the lock element that contains the PCM lock that is covering the buffer. If more than
one buffer has the same address, then these buffers are covered by the same PCM lock.

V$CACHE_LOCK
The V$CACHE_LOCK view is deprecated.
Column

Datatype

Description

FILE#

NUMBER

Datafile identifier number (to find filename, query DBA_DATA_FILES or V$DBFILE)

Column

Datatype

Description

BLOCK#

NUMBER

Block number

STATUS

VARCHAR2(6)

Status of the block:

free - Not currently in use


xcur - Exclusive
scur - Shared current
cr - Consistent read
read - Being read from disk
mrec - In media recovery mode
irec - In instance recovery mode

XNC

NUMBER

Number of parallel cache management (PCM) lock conversions due to contention with another
instance

NAME

VARCHAR2(30
)

Name of the database object containing the block

KIND

VARCHAR2(12
)

Type of database object:

1 - Index
2 - Table
3 - Cluster
4 - View
5 - Synonym
6 - Sequence
7 - Procedure
8 - Function
9 - Package
10 - Nonexistent
11 - Package body
12 - Trigger

Column

Datatype

Description

13 - Type
14 - Type body
19 - Table partition
20 - Index partition
21 - LOB
22 - Library
Null - Unknown

OWNER#

NUMBER

Owner number

LOCK_ELEMENT_ADD
R

RAW(4 | 8)

Address of the lock element that contains the PCM lock that is covering the buffer. If more than
one buffer has the same address, then these buffers are covered by the same PCM lock.

LOCK_ELEMENT_NAM
E

NUMBER

Address of the lock element that contains the PCM lock that is covering the buffer. If more than
one buffer has the same address, then these buffers are covered by the same PCM lock.

FORCED_READS

NUMBER

Number of times the block had to be reread from the cache because another instance has
forced it out of this instance's cache by requesting the lock on the block in exclusive mode

FORCED_WRITES

NUMBER

Number of times GCS had to write this block to cache because this instance had used the block
and another instance had requested the lock on the block in a conflicting mode

INDX

NUMBER

Platform-specific lock manager identifier

CLASS

NUMBER

Platform-specific lock manager identifier

V$CIRCUIT
V$CIRCUIT contains information about virtual circuits, which are user connections to the database through dispatchers and servers.

Column

Datatype

Description

CIRCUIT

RAW(4 | 8)

Circuit address

DISPATCHER

RAW(4 | 8)

Current dispatcher process address

SERVER

RAW(4 | 8)

Current server process address

WAITER

RAW(4 | 8)

Address of the server process that is waiting for the (currently busy) circuit to become available

SADDR

RAW(4 | 8)

Address of the session bound to the circuit

STATUS

VARCHAR2(16)

Status of the circuit:

QUEUE

VARCHAR2(16)

BREAK - currently interrupted


EOF - about to be removed
OUTBOUND - an outward link to a remote database
NORMAL - normal circuit into the local database

Queue the circuit is currently on:

COMMON - on the common queue, waiting to be picked up by a server process


DISPATCHER - waiting for the dispatcher
SERVER - currently being serviced
NONE - idle circuit

MESSAGE0

NUMBER

Size in bytes of the messages in the first message buffer

MESSAGE1

NUMBER

Size in bytes of the messages in the second message buffer

MESSAGE2

NUMBER

Size in bytes of the messages in the third message buffer

MESSAGE3

NUMBER

Size in bytes of the messages in the fourth message buffer

MESSAGES

NUMBER

Total number of messages that have gone through this circuit

Column

Datatype

Description

BYTES

NUMBER

Total number of bytes that have gone through this circuit

BREAKS

NUMBER

Total number of breaks (interruptions) for this circuit

PRESENTATION

VARCHAR2(257)

Presentation protocol used by the client and server

PCIRCUIT

RAW(4 | 8)

Address of the parent circuit

V$CLUSTER_INTERCONNECTS
V$CLUSTER_INTERCONNECTS displays one or more interconnects that are being used for cluster communication.
Column

Datatype

Description

NAME

VARCHAR2(15
)

Name of the interconnect (such as eth0)

IP_ADDRES
S

VARCHAR2(16
)

IP address of the interconnect

IS_PUBLIC

VARCHAR2(4)

If the value is YES, the interface is known to the public.


If the value is NO, the interface is known to be private. Note that if the CLUSTER_INTERCONNETS
initialization parameter is also specified, then it is expected that the interconnect is private. Oracle
expects cluster traffic to be run on private interconnects only.
f the value is empty, it is unknown whether the interface is public or private.
Oracle Corporation recommends that you set the interface for Real Application Clusters (RAC)
communication in the Oracle Cluster Repository (OCR).

SOURCE

VARCHAR2(31
)

Indicates where this interface was picked up from:

Column

Datatype

Description

Oracle Cluster Repository - Interface was configured in the OCR and Oracle Database found the
interface in the OCR
Operating-system dependent software - Oracle Database automatically detects this
CLUSTER_INTERCONNECTS parameter - This initialization parameter was set

V$CONFIGURED_INTERCONNECTS
V$CONFIGURED_INTERCONNECTS displays all the interconnects that Oracle is aware of. This view attempts to answer the question of
where Oracle found the information about a specific interconnect.
Column

Datatype

Description

NAME

VARCHAR2(15
)

Name of the interconnect (such as eth0)

IP_ADDRES
S

VARCHAR2(16
)

IP address of the interconnect

IS_PUBLIC

VARCHAR2(4)

If the value is YES, the interface is known to the public.


If the value is NO, the interface is known to be private. Note that if the CLUSTER_INTERCONNETS
initialization parameter is also specified, then it is expected that the interconnect is private. Oracle
expects cluster traffic to be run on private interconnects only.
If the value is empty, it is unknown whether the interface is public or private.
Oracle Corporation recommends that you set the interface for Real Application Clusters (RAC)
communication in the Oracle Cluster Repository (OCR).

SOURCE

VARCHAR2(31
)

Indicates where this interface was picked up from:

Oracle Cluster Repository - Interface was configured in the OCR and Oracle Database found the

Column

Datatype

Description

interface in the OCR


Operating-system dependent software - Oracle Database automatically detects this
CLUSTER_INTERCONNECTS parameter - This initialization parameter was set

V$CONTROLFILE
This view lists the names of the control files.
Column

Datatype

Description

STATUS

VARCHAR2(7)

INVALID if the name cannot be determined, which should not occur. Null if the name can
be determined.

NAME

VARCHAR2(513
)

Name of the control file

IS_RECOVERY_DEST_FIL
E

VARCHAR2(3)

Indicates whether the file was created in the flash recovery area (YES) or not (NO)

V$CONTROLFILE_RECORD_SECTION
V$CONTROLFILE_RECORD_SECTION displays information about the control file record sections.
Column

Datatype

Description

TYPE

VARCHAR2(28)

Identifies the type of record section:

DATABASE
CKPT PROGRESS
REDO THREAD
REDO LOG
DATAFILE
FILENAME
TABLESPACE
TEMPORARY FILENAME

Column

Datatype

Description

RMAN CONFIGURATION
LOG HISTORY
OFFLINE RANGE
ARCHIVED LOG
BACKUP SET
BACKUP PIECE
BACKUP DATAFILE
BACKUP REDOLOG
DATAFILE COPY
BACKUP CORRUPTION
COPY CORRUPTION
DELETED OBJECT
PROXY COPY
BACKUP SPFILE
DATABASE INCARNATION
FLASHBACK LOG
RECOVERY DESTINATION
INSTANCE SPACE RESERVATION
REMOVABLE RECOVERY FILES
RMAN STATUS
THREAD INSTANCE NAME MAPPING
MTTR
DATAFILE HISTORY

RECORD_SIZE

NUMBER

Record size in bytes

RECORDS_TOTAL

NUMBER

Number of records allocated for the section

RECORDS_USED

NUMBER

Number of records used in the section

FIRST_INDEX

NUMBER

Index (position) of the first record

LAST_INDEX

NUMBER

Index of the last record

Column

Datatype

Description

LAST_RECID

NUMBER

Record ID of the last record

V$COPY_CORRUPTION
This view displays information about datafile copy corruptions from the control file.
Column

Datatype

Description

RECID

NUMBER

Copy corruption record ID

STAMP

NUMBER

Copy corruption record stamp

COPY_RECID

NUMBER

Datafile copy record ID

COPY_STAMP

NUMBER

Datafile copy record stamp

FILE#

NUMBER

Datafile number

BLOCK#

NUMBER

First block of the corrupted range

BLOCKS

NUMBER

Number of contiguous blocks in the corrupted range

CORRUPTION_CHANGE
#

NUMBER

Change number at which the logical corruption was detected. Set to 0 to indicate media
corruption.

MARKED_CORRUPT

VARCHAR2(3
)

(YES | NO) If set to YES the blocks were not marked corrupted in the datafile, but were detected
and marked as corrupted while making the datafile copy

CORRUPTION_TYPE

VARCHAR2(9
)

Type of block corruption in the datafile:

ALL ZERO - Block header on disk contained only zeros. The block may be valid if it was
never filled and if it is in an Oracle7 file. The buffer will be reformatted to the Oracle8

Column

Datatype

Description

standard for an empty block.


FRACTURED - Block header looks reasonable, but the front and back of the block are
different versions.
CHECKSUM - optional check value shows that the block is not self-consistent. It is
impossible to determine exactly why the check value fails, but it probably fails because
sectors in the middle of the block are from different versions.
CORRUPT - Block is wrongly identified or is not a data block (for example, the data block
address is missing)
LOGICAL - Specifies the range is for logically corrupt blocks. CORRUPTION_CHANGE# will
have a nonzero value.

V$LOCK
This view lists the locks currently held by the Oracle Database and outstanding requests for a lock or latch.
Colum
n

Datatype

Description

ADDR

RAW(4 | 8)

Address of lock state object

KADDR

RAW(4 | 8)

Address of lock

SID

NUMBER

Identifier for session holding or acquiring the lock

TYPE

VARCHAR2(2
)

Type of user or system lock


The locks on the user types are obtained by user applications. Any process that is blocking others is likely to
be holding one of these locks. The user type locks are:
TM - DML enqueue
TX - Transaction enqueue

Colum
n

Datatype

Description
UL - User supplied
The locks on the system types are held for extremely short periods of time. The system type locks are listed
in Table 6-1.

ID1

NUMBER

Lock identifier #1 (depends on type)

ID2

NUMBER

Lock identifier #2 (depends on type)

LMODE

NUMBER

Lock mode in which the session holds the lock:

REQUES
T

NUMBER

0
1
2
3
4
5
6

none
null (NULL)
row-S (SS)
row-X (SX)
share (S)
S/Row-X (SSX)
exclusive (X)

Lock mode in which the process requests the lock:

0
1
2
3
4
5
6

none
null (NULL)
row-S (SS)
row-X (SX)
share (S)
S/Row-X (SSX)
exclusive (X)

CTIME

NUMBER

Time since current mode was granted

BLOCK

NUMBER

A value of either 0 or 1, depending on whether or not the lock in question is the blocker.

Table 6-1 Values for the TYPE Column: System Types


System Type Description

System Type Description

BL

Buffer hash table instance

NA..NZ

Library cache pin instance (A..Z = namespace)

CF

Control file schema global enqueue

PF

Password File

CI

Cross-instance function invocation instance

PI, PS

Parallel operation

CU

Cursor bind

PR

Process startup

DF

datafile instance

QA..QZ

Row cache instance (A..Z = cache)

DL

Direct loader parallel index create

RT

Redo thread global enqueue

DM

Mount/startup db primary/secondary instance

SC

System change number instance

DR

Distributed recovery process

SM

SMON

DX

Distributed transaction entry

SN

Sequence number instance

FS

File set

SQ

Sequence number enqueue

HW

Space management operations on a specific


segment

SS

Sort segment

IN

Instance number

ST

Space transaction enqueue

IR

Instance recovery serialization global enqueue

SV

Sequence number value

IS

Instance state

TA

Generic enqueue

System Type Description

System Type Description

IV

Library cache invalidation instance

TS

Temporary segment enqueue (ID2=0)

JQ

Job queue

TS

New block allocation enqueue (ID2=1)

KK

Thread kick

TT

Temporary table enqueue

LA .. LP

Library cache lock instance lock (A..P = namespace) UN

User name

MM

Mount definition global enqueue

US

Undo segment DDL

MR

Media recovery

WL

Being-written redo log instance

V$LOADPSTAT
This view contains statistics about the number of rows loaded into a partition, or subpartition, during a load using the Direct Path API.
Column

Datatype

Description

OWNER

VARCHAR2(31)

Schema name

TABNAME

VARCHAR2(31)

Table name

PARTNAME

VARCHAR2(31)

Partition name

LOADED

NUMBER

Number of rows loaded

V$LOCKED_OBJECT
This view lists all locks acquired by every transaction on the system. It shows which sessions are holding DML locks (that is, TM-type
enqueues) on what objects and in what mode.

Column

Datatype

Description

XIDUSN

NUMBER

Undo segment number

XIDSLOT

NUMBER

Slot number

XIDSQN

NUMBER

Sequence number

OBJECT_ID

NUMBER

Object ID being locked

SESSION_ID

NUMBER

Session ID

ORACLE_USERNAME

VARCHAR2(30)

Oracle user name

OS_USER_NAME

VARCHAR2(30)

OS user name

PROCESS

VARCHAR2(12)

OS process ID

LOCKED_MODE

NUMBER

Lock mode

V$LOG
V$LOG displays log file information from the control file.
Column

Datatype

Description

GROUP#

NUMBER

Log group number

THREAD#

NUMBER

Log thread number

SEQUENCE#

NUMBER

Log sequence number

BYTES

NUMBER

Size of the log (in bytes)

MEMBERS

NUMBER

Number of members in the log group

ARCHIVED

VARCHAR2(3)

Archive status (YES or NO)

Column

Datatype

Description

STATUS

VARCHAR2(16
)

Log status:

UNUSED - Online redo log has never been written to. This is the state of a redo log that was
just added, or just after a RESETLOGS, when it is not the current redo log.
CURRENT - Current redo log. This implies that the redo log is active. The redo log could be
open or closed.
ACTIVE - Log is active but is not the current log. It is needed for crash recovery. It may be in
use for block recovery. It may or may not be archived.
CLEARING - Log is being re-created as an empty log after an ALTER DATABASE CLEAR LOGFILE
statement. After the log is cleared, the status changes to UNUSED.
CLEARING_CURRENT - Current log is being cleared of a closed thread. The log can stay in this
status if there is some failure in the switch such as an I/O error writing the new log header.
INACTIVE - Log is no longer needed for instance recovery. It may be in use for media recovery.
It might or might not be archived.

FIRST_CHANGE
#

NUMBER

Lowest system change number (SCN) in the log

FIRST_TIME

DATE

Time of the first SCN in the log

V$LOG_HISTORY
V$LOG_HISTORY displays log history information from the control file.
Column

Datatype

Description

RECID

NUMBER

Control file record ID

STAMP

NUMBER

Control file record stamp

THREAD#

NUMBER

Thread number of the archived log

SEQUENCE#

NUMBER

Sequence number of the archived log

FIRST_CHANGE#

NUMBER

Lowest system change number (SCN) in the log

Column

Datatype

Description

FIRST_TIME

DATE

Time of the first entry (lowest SCN) in the log

NEXT_CHANGE#

NUMBER

Highest SCN in the log

RESETLOGS_CHANGE#

NUMBER

Resetlogs change number of the database when the log was written

RESETLOGS_TIME

DATE

Resetlogs time of the database when the log was written

V$LOGFILE
This view contains information about redo log files.
Column

Datatype

Description

GROUP#

NUMBER

Redo log group identifier number

STATUS

VARCHAR2(7)

Status of the log member:

TYPE

VARCHAR2(7)

INVALID - File is inaccessible


STALE - File's contents are incomplete
DELETED - File is no longer used
null - File is in use

Type of the logfile:

ONLINE
STANDBY

MEMBER

VARCHAR2(513)

Redo log member name

IS_RECOVERY_DEST_FILE

VARCHAR2(3)

Indicates whether the file was created in the flash recovery area (YES) or not (NO)

V$LOGHIST

This view contains log history information from the control file. This view is retained for historical compatibility. Oracle recommends
that you use V$LOG_HISTORY instead.
See Also:
"V$LOG_HISTORY"
Column

Datatype

Description

THREAD#

NUMBER

Log thread number

SEQUENCE#

NUMBER

Log sequence number

FIRST_CHANGE#

NUMBER

Lowest SCN in the log

FIRST_TIME

DATE

Time of first SCN in the log

SWITCH_CHANGE#

NUMBER

SCN at which the log switch occurred; one more than highest SCN in the log

V$LOGMNR_CONTENTS
This view contains log history information. To query this view, you must have the SELECT ANY TRANSACTION privilege.
When a SELECT statement is executed against the V$LOGMNR_CONTENTS view, the archive redo log files are read sequentially.
Translated records from the redo log files are returned as rows in the V$LOGMNR_CONTENTS view. This continues until either the filter
criteria specified at startup (EndTime or endScn) are met or the end of the archive log file is reached.
Column

Datatype

Description

SCN

NUMBER

System change number (SCN) when the database change was made

CSCN

NUMBER

System change number (SCN) when the transaction committed; only meaningful if the
COMMITTED_DATA_ONLY option was chosen in a DBMS_LOGMNR.START_LOGMNR() invocation

TIMESTAMP

DATE

Timestamp when the database change was made

COMMIT_TIMESTAM

DATE

Timestamp when the transaction committed; only meaningful if the COMMITTED_DATA_ONLY


option was chosen in a DBMS_LOGMNR.START_LOGMNR() invocation

Column

Datatype

Description

THREAD#

NUMBER

Number of the thread that made the change to the database

LOG_ID

NUMBER

This column is deprecated.

XIDUSN

NUMBER

Transaction ID undo segment number of the transaction that generated the change

XIDSLT

NUMBER

Transaction ID slot number of the transaction that generated the change

XIDSQN

NUMBER

Transaction ID sequence number of the transaction that generated the change

PXIDUSN

NUMBER

Parent transaction ID undo segment number of a parallel transaction

PXIDSLT

NUMBER

Parent transaction ID slot number of a parallel transaction

PXIDSQN

NUMBER

Parent transaction ID sequence number of a parallel transaction

RBASQN

NUMBER

Sequence# associated with the Redo Block Address (RBA) of the redo record associated with
the change

RBABLK

NUMBER

RBA block number within the log file

RBABYTE

NUMBER

RBA byte offset within the block

UBAFIL

NUMBER

Undo Block Address (UBA) file number identifying the file containing the undo block

UBABLK

NUMBER

UBA block number for the undo block

UBAREC

NUMBER

UBA record index within the undo block

Column

Datatype

Description

UBASQN

NUMBER

UBA undo block sequence number

ABS_FILE#

NUMBER

Data block absolute file number of the block changed by the transaction

REL_FILE#

NUMBER

Data block relative file number. The file number is relative to the tablespace of the object

DATA_BLK#

NUMBER

Data block number within the file

DATA_OBJ#

NUMBER

Data block object number identifying the object

DATA_OBJD#

NUMBER

Data block data object number identifying the object within the tablespace

SEG_OWNER

VARCHAR2(32)

Owner of the modified segment

SEG_NAME

VARCHAR2(256)

Name of the modified data segment

TABLE_NAME

VARCHAR2(32)

Name of the modified table (in case the redo pertains to a table modification)

SEG_TYPE

NUMBER

Type of the modified data segment. Possible values are:

SEG_TYPE_NAME

VARCHAR2(32)

0 = UNKNOWN
1 = INDEX
2 = TABLE
19 = TABLE PARTITION
20 = INDEX PARTITION
34 = TABLE SUBPARTITION
All other values = UNSUPPORTED

Segment type name. Possible values are:

UNKNOWN
INDEX
TABLE

Column

Datatype

Description

TABLE PARTITION
UNSUPPORTED
TABLE_SPACE

TABLE_SPACE

VARCHAR2(32)

Name of the tablespace containing the modified data segment. This column is not populated
for rows where the value of the OPERATION column is DDL. This is because DDL may operate on
more than one tablespace.

ROW_ID

VARCHAR2(18)

Row ID of the row modified by the change (only meaningful if the change pertains to a DML)
This will be NULL if the redo record is not associated with a DML.

SESSION#

NUMBER

Session number of the session that made the change

SERIAL#

NUMBER

Serial number of the session that made the change

USERNAME

VARCHAR2(30)

Name of the user who executed the transaction

SESSION_INFO

VARCHAR2(4000
)

Information about the database session that executed the transaction. Contains process
information, machine name from which the user logged in etc. A possible SESSION_INFO
column may contain the following:

login_username = HR
client_info =
OS_username = jkundu
Machine_name = nirvan
OS_terminal = pts/31
OS_program_name = sqlplus@nirvan (TNS V1-V3)

TX_NAME

VARCHAR2(256)

Name of the transaction that made the change. This is only meaningful if the transaction is a
named transaction.

ROLLBACK

NUMBER

1 = if the redo record was generated because of a partial or a full rollback of the associated
transaction

Column

Datatype

Description
0 = otherwise

OPERATION

VARCHAR2(32)

User level SQL operation that made the change. Possible values are:

OPERATION_CODE

NUMBER

INSERT = change was caused by an insert statement


UPDATE = change was caused by an update statement
DELETE = change was caused by a delete statement
DDL = change was caused by a DDL statement
START = change was caused by the start of a transaction
COMMIT = change was caused by the commit of a transaction
ROLLBACK = change was caused by a full rollback of a transaction
LOB_WRITE = change was caused by an invocation of DBMS_LOB.WRITE
LOB_TRIM = change was caused by an invocation of DBMS_LOB.TRIM
LOB_ERASE = change was caused by an invocation of DBMS_LOB.ERASE
SELECT_FOR_UPDATE = operation was a SELECT FOR UPDATE statement
SEL_LOB_LOCATOR = operation was a SELECT statement that returns a LOB locator
MISSING_SCN = LogMiner encountered a gap in the redo records. This is most likely
because not all redo logs were registered with LogMiner.
INTERNAL = change was caused by internal operations initiated by the database
UNSUPPORTED = change was caused by operations not currently supported by
LogMiner (for example, changes made to tables with ADT columns)

Number of the operation code. Possible values are:

0 = INTERNAL
1 = INSERT
2 = DELETE
3 = UPDATE
5 = DDL
6 = START
7 = COMMIT
9 = SELECT_LOB_LOCATOR
10 = LOB_WRITE
11 = LOB_TRIM
25 = SELECT_FOR_UPDATE

Column

Datatype

Description

SQL_REDO

VARCHAR2(4000
)

28 = LOB_ERASE
34 = MISSING_SCN
36 = ROLLBACK
255 = UNSUPPORTED

Reconstructed SQL statement that is equivalent to the original SQL statement that made the
change. Please refer to Oracle Database Utilities before executing SQL_REDO to your database.
LogMiner does not generate SQL redo for temporary tables. In such a case, this column will
contain the string "/* No SQL_REDO for temporary tables */".

SQL_UNDO

VARCHAR2(4000
)

Reconstructed SQL statement that can be used to undo the effect of the original statement
that made the change. DDL statements have no corresponding SQL_UNDO. Please refer to
Oracle Database Utilities before executing SQL_UNDO to your database.
LogMiner does not generate SQL undo for temporary tables. In such a case, this column will
contain the string "/* No SQL_UNDO for temporary tables */".

RS_ID

VARCHAR2(32)

Record set ID. The tuple (RS_ID, SSN) together uniquely identifies a row in
V$LOGMNR_CONTENTS. RS_ID uniquely identifies the redo record that generated the row.

SEQUENCE#

NUMBER

Sequence number of the redo log that contained the redo record corresponding to the
database change

SSN

NUMBER

SQL sequence number. Used in conjunction with RS_ID, this uniquely identifies a row in the
V$LOGMNR_CONTENTS view.

CSF

NUMBER

Continuation SQL flag. Possible values are:

INFO

VARCHAR2(32)

0 = indicates SQL_REDO and SQL_UNDO is contained within the same row


1 = indicates that either SQL_REDO or SQL_UNDO is greater than 4000 bytes in size
and is continued in the next row returned by the view

Informational message about the row. For instance, the string "USER DDL" in INFO column

Column

Datatype

Description
indicates that the DDL statement returned in SQL_REDO column was the top-level DDL
executed by the user and the string "INTERNAL DDL" in INFO column indicates that DDL
statement returned in SQL_REDO column was executed internally by the RDBMS.

STATUS

NUMBER

0 indicates that the reconstructed SQL statements as shown in the SQL_REDO and SQL_UNDO
columns are valid executable SQL statements. Otherwise, the reconstructed SQL statements
are not executable. This may be due to the fact that no data dictionary was provided to
LogMiner for the analysis, or that the data dictionary provided did not have the definition of
the object being mined.

REDO_VALUE

NUMBER

Used as input to the DBMS_LOGMNR.MINE_VALUE() and DBMS_LOGMNR.COLUMN_PRESENT()


functions

UNDO_VALUE

NUMBER

Used as input to the DBMS_LOGMNR.MINE_VALUE() and DBMS_LOGMNR.COLUMN_PRESENT()


functions

SQL_COLUMN_TYPE

VARCHAR2(30)

This column is deprecated.

SQL_COLUMN_NAME

VARCHAR2(30)

This column is deprecated.

REDO_LENGTH

NUMBER

This column is deprecated.

REDO_OFFSET

NUMBER

This column is deprecated.

UNDO_LENGTH

NUMBER

This column is deprecated.

UNDO_OFFSET

NUMBER

This column is deprecated.

DATA_OBJV#

NUMBER

Version number of the table being modified

SAFE_RESUME_SCN

NUMBER

Reserved for future use

Column

Datatype

Description

XID

RAW(8)

Raw representation of the transaction identifier

PXID

RAW(8)

Raw representation of the parent transaction identifier

AUDIT_SESSIONID

NUMBER

Audit session ID associated with the user session making the change