Wednesday, November 25, 2009

V$CPOOL_CC_INFO

Thank you for visiting Spatial DBA - Oracle and ArcSDE.

I have stopped updating the blog.

Please visit Oracle DBA Tips (http://www.oracledbatips.com) for more Oracle DBA Tips.

=================================================================


V$CPOOL_CC_INFO displays information about the pool-to-connection class mapping for the Database Resident Connection Pool per instance.
Column
Datatype
Description
POOL_NAME
VARCHAR2(1024)
Name of the Database Resident Connection Pool
CCLASS_NAME
VARCHAR2(1024)
Name of the connection class

Note:
1.       New in 11g.

Oracle data dictionary views

Last updated: 2009-11-24 Tuesday



V$CPOOL_STATS

Thank you for visiting Spatial DBA - Oracle and ArcSDE.

I have stopped updating the blog.

Please visit Oracle DBA Tips (http://www.oracledbatips.com) for more Oracle DBA Tips.

=================================================================

V$CPOOL_STATS displays information about the Database Resident Connection Pool statistics for an instance.
Column
Datatype
Description
POOL_NAME
VARCHAR2(1024)
Name of the Database Resident Connection Pool
NUM_OPEN_SERVERS
NUMBER
Total number of busy and free servers in the pool (including the authentication servers)
NUM_BUSY_SERVERS
NUMBER
Total number of busy servers in the pool (not including the authentication servers)
NUM_AUTH_SERVERS
NUMBER
Number of authentication servers in the pool
NUM_REQUESTS
NUMBER
Number of client requests
NUM_HITS
NUMBER
Total number of times client requests found matching pooled servers in the pool
NUM_MISSES
NUMBER
Total number of times client requests could not find a matching pooled server in the pool
NUM_WAITS
NUMBER
Total number of client requests that had to wait due to non-availability of free pooled servers
WAIT_TIME
NUMBER
Reserved for future use
CLIENT_REQ_TIMEOUTS
NUMBER
Reserved for future use
NUM_AUTHENTICATIONS
NUMBER
Total number of authentications of clients done by the pool
NUM_PURGED
NUMBER
Total number of sessions purged by the pool
HISTORIC_MAX
NUMBER
Maximum size that the pool has ever reached

Note:
1.       New in 11g.

Oracle data dictionary views

Last updated: 2009-11-24 Tuesday


V$CPOOL_CC_STATS


V$CPOOL_CC_STATS displays information about the connection class level statistics for the Database Resident Connection Pool per instance.
Column
Datatype
Description
CCLASS_NAME
VARCHAR2(1024)
Name of the connection class
NUM_REQUESTS
NUMBER
Number of session requests
NUM_HITS
NUMBER
Total number of times a session that matches with the request was found in the pool
NUM_MISSES
NUMBER
Total number of times an exact match to the request was not found in the pool and a new session had to be created
NUM_WAITS
NUMBER
Total number of times session requests had to wait before getting served
WAIT_TIME
NUMBER
Reserved for future use
CLIENT_REQ_TIMEOUTS
NUMBER
Reserved for future use
NUM_AUTHENTICATIONS
NUMBER
Total number of authentications of clients done by the pool

Note:
1.       New in 11g.

Oracle data dictionary views

Last updated: 2009-11-24 Tuesday


Tuesday, November 24, 2009

V$ARCHIVE_DEST

Thank you for visiting Spatial DBA - Oracle and ArcSDE.

I have stopped updating the blog.

Please visit Oracle DBA Tips (http://www.oracledbatips.com) for more Oracle DBA Tips.

===================================================================



V$ARCHIVE_DEST displays, for the current instance, all of the destinations in the Data Guard configuration, including each destination's current value, mode, and status.
Column
Datatype
Description
DEST_ID
NUMBER
Log archive destination parameter identifier (1 to 10)
DEST_NAME
VARCHAR2(256)
Log archive destination parameter name
STATUS
VARCHAR2(9)
Identifies the current status of the destination:
  • VALID - Initialized and available
  • INACTIVE - No destination information
  • DEFERRED - Manually disabled by the user
  • ERROR - Error during open or copy
  • DISABLED - Disabled after error
  • BAD PARAM - Parameter has errors
  • ALTERNATE - Destination is in an alternate state
  • FULL - Exceeded quota size for the destination
BINDING
VARCHAR2(9)
Specifies how failure will affect the archival operation:
  • MANDATORY - Successful archival is required
  • OPTIONAL - Successful archival is not required (depends on LOG_ARCHIVE_MIN_SUCCEED_DEST)
NAME_SPACE
VARCHAR2(7)
Identifies the scope of parameter setting:
  • SYSTEM - System definition
  • SESSION - Session definition
TARGET
VARCHAR2(7)
Specifies whether the archive destination is local or remote to the primary database:
  • PRIMARY - local
  • STANDBY - remote
ARCHIVER
VARCHAR2(10)
Identifies the archiver process relative to the database where the query is issued:
  • ARCn
  • FOREGROUND
  • LGWR
  • RFS
SCHEDULE
VARCHAR2(8)
Indicates whether the archival of this destination is INACTIVE, PENDING, ACTIVE, or LATENT
DESTINATION
VARCHAR2(256)
Specifies the location where the archived redo logs are to be archived
LOG_SEQUENCE
NUMBER
Identifies the sequence number of the last archived redo log to be archived
REOPEN_SECS
NUMBER
Identifies the retry time (in seconds) after error
DELAY_MINS
NUMBER
Identifies the delay interval (in minutes) before the archived redo log is automatically applied to a standby database
MAX_CONNECTIONS
NUMBER
Maximum number of connections
NET_TIMEOUT
NUMBER
Number of seconds the log writer process will wait for status from the network server of a network operation issued by the log writer process
PROCESS
VARCHAR2(10)
Identifies the archiver process relative to the primary database, even if the query is issued on the standby database:
  • ARCn
  • FOREGROUND
  • LGWR
REGISTER
VARCHAR2(3)
Indicates whether the archived redo log is registered in the remote destination control file (YES) or not (NO). If the archived redo log is registered, it is available to log apply services.
FAIL_DATE
DATE
Date and time of last error
FAIL_SEQUENCE
NUMBER
Sequence number of the archived redo log being archived when the last error occurred
FAIL_BLOCK
NUMBER
Block number of the archived redo log being archived when the last error occurred
FAILURE_COUNT
NUMBER
Current number of contiguous archival operation failures that have occurred for the destination
MAX_FAILURE
NUMBER
Allows you to control the number of times log transport services will attempt to reestablish communication and resume archival operations with a failed destination
ERROR
VARCHAR2(256)
Displays the error text
ALTERNATE
VARCHAR2(256)
Alternate destination, if any
DEPENDENCY
VARCHAR2(256)
Reserved for future use
REMOTE_TEMPLATE
VARCHAR2(256)
Specifies the template to be used to derive the location to be recorded
QUOTA_SIZE
NUMBER
Destination quotas, expressed in bytes
QUOTA_USED
NUMBER
Size of all the archived redo logs currently residing on the specified destination
MOUNTID
NUMBER
Instance mount identifier
TRANSMIT_MODE
VARCHAR2(12)
Specifies network transmission mode:
  • SYNCHRONOUS
  • PARALLELSYNC
  • ASYNCHRONOUS
ASYNC_BLOCKS
NUMBER
Number of blocks specified for the ASYNC attribute
AFFIRM
VARCHAR2(3)
Specifies disk I/O mode
TYPE
VARCHAR2(7)
Indicates whether the archived log destination definition is PUBLIC or PRIVATE. Only PUBLIC destinations can be modified at runtime using the ALTER SYSTEM SET or ALTER SESSION SET statements. By default, all archived log destinations are PUBLIC.
VALID_NOW
VARCHAR2(16)
Indicates whether the destination is valid right now for archival operations:
  • YES - Redo log type and database role for this destination are valid for the current database
  • WRONG VALID_TYPE - Redo log type specified for this destination is not valid for the current database role. For example, WRONG VALID_TYPE would be returned if a destination specified with the VALID_FOR=(STANDBY_LOGFILE,STANDBY_ROLE) attribute is running in the standby database role but does not have standby redo logs implemented.
  • WRONG VALID_ROLE - Database role specified for this destination is not the role in which the database is currently running. For example, the WRONG VALID_ROLE would be returned when a destination defined with the VALID_FOR=(ONLINE_LOGFILE,STANDBY_ROLE) attribute is running in the primary database role.
  • INACTIVE - Destination is inactive, probably due to an error
VALID_TYPE
VARCHAR2(15)
Redo log type or types that are valid for the destination:
  • ONLINE_LOGFILE
  • STANDBY_LOGFILE
  • ALL_LOGFILES
VALID_ROLE
VARCHAR2(12)
Database role or roles that are valid for the destination:
  • PRIMARY_ROLE
  • STANDBY_ROLE
  • ALL_ROLES
DB_UNIQUE_NAME
VARCHAR2(30)
Unique database name
VERIFY
VARCHAR2(3)
Indicates whether the value of the VERIFY attribute on the LOG_ARCHIVE_DEST_n parameter is verified (YES) or not verified (NO)
COMPRESSION
VARCHAR2(7)
Indicates whether network compression is ENABLED or DISABLED.
Note:
1.       Scripts using V$ARCHIVE_DEST
--show archive destination

select dest_name, status, binding, name_space, target, archiver,
       schedule, destination, log_sequence, reopen_secs,
       delay_mins, TYPE
from   V$ARCHIVE_DEST
order by 2 desc,1;
select dest_name, status, type, database_mode, recovery_mode, protection_mode,
       destination, applied_seq#, error
from   V$ARCHIVE_DEST_STATUS
order by 2 desc;

Oracle data dictionary views

Last updated: 2009-11-24 Tuesday