Virtual Table

The Virtual Tables are virtual tables that represent various operational information of the Machbase server in the form of a table. The names of these tables begin with “V$”.

This data is used to know what state the Machbase server is operating in. In addition, various information can be obtained through JOIN operation with other tables in this virtual table.

Virtual Tables are read-only and can not be added / deleted / updated by the user.

Index

Session/System

V$PROPERTY


Displays the property information set in the server.

Column NameDescription
NAMEProperty name
VALUEProperty value
TYPEData type
DEFLTDefault value
MINMinimum set value
MAXMaximum set value

V$SESSION


Displays session information connected to the Machbase server.

Column NameDescription
HOSTNAME (Cluster Only)Name of the HOST which the session is connected.
IDSession identifier
CLOSEDWhether connection is closed
USER_IDUser identifier
LOGIN_TIMEConnection time
CLIENT_TYPEConnected client type
USER_NAMEUser name
USER_IPUser IP address
SQL_LOGGINGLeave message in session trace log status

1: Leaves errors occurring in the Parsing, Validation, Optimization steps
2: Leaves result performance of DDL
3: (Leaves both cases above)
SHOW_HIDDEN_COLSWhether hidden columns are shown upon SELECT
FEEDBACK_APPEND_ERRORWhether there is feedback to client on APPEND error
DEFAULT_DATE_FORMATDefault input format upon Datetime input
HASH_BUCKET_SIZENumber of Buckets in Temp Hashtable created when performing query
MAX_QPX_MEMMaximum memory size available when performing query
RS_CACHE_ENABLEWhether Result Cache in in use
RS_CACHE_TIME_BOUND_MSECMaximum elapsed time to store results when using Result Cache
RS_CACHE_MAX_MEMORY_PER_QUERYMaximum size of memory used per query when using Result Cache
RS_CACHE_MAX_RECORD_PER_QUERYMaximum number of results used per query when using Result Cache
RS_CACHE_APPROXIMATE_RESULT_ENABLEWhether to cache approximate query results when using Result Cache
IDLE_TIMEOUTTerminate the session if the client does nothing for that time after the session connected.
QUERY_TIMEOUTResponse waiting time for query execution

V$SESMEM


Displays session memory information.

Column NameDescription
SIDSession identifier
IDMemory manager identifier
USAGEUsage size

V$SESSTAT


Displays statistical information of the session.

Column NameDescription
SIDSession identifier
IDStatistical information identifier
VALUEStatistical information value

V$SESTIME


Displays the time information of the session.

Column NameDescription
SIDSession identifier
IDPerformance unit identifier
ACCUM_TICKCumulative time
MAX_TICKMaximum time (per each performance unit)

V$SYSMEM

Displays memory information of the system.

Column NameDescription
IDMemory manager identifier
NAMEMemory manager name
USAGECurrent usage
MAX_USAGE(Recorded) Maximum usage

V$SYSSTAT


Displays statistical information of the system.

Column NameDescription
IDStatistical information identifier
NAMEStatistical information name
VALUEStatistical information value

V$SYSTIME


Displays the time information of the system.

Column NameDescription
IDPerformance unit identifier
NAMEPerformance unit name
ACCUM_TICKCumulative time
AVG_TICKAverage time (per each performance unit)
MIN_TICKMinimum Time (per each performance unit)
MAX_TICKMaximum Time (per each performance unit)
COUNTPerformance frequency

V$STMT


Displays information about the query statement that the user is currently executing.

Column NameDescription
IDQuery identifier
SESS_IDPerformed query session identifier
STATEQuery status
RECORD_SIZEResulting record size of select statements
QUERYQuery statement

V$VERSION


Displays information about Machbase version.

Column NameDescription
BINARY_DB_MAJOR_VERSIONDatabase major version
BINARY_DB_MINOR_VERSIONDatabase minor version
BINARY_META_MAJOR_VERSIONMETA major version
BINARY_META_MINOR_VERSIONMETA minor version
BINARY_CM_MAJOR_VERSIONClient (Communication Level) major version
BINARY_CM_MINOR_VERSIONClient (Communication Level) minor version
BINARY_SIGNATUREVersion name of DB data files.
FILE_DB_MAJOR_VERSIONFile DB major version
FILE_DB_MINOR_VERSIONFile DB minor version
FILE_META_MAJOR_VERSIONFile META major version
FILE_META_MINOR_VERSIONFile META minor version
FILE_CM_MAJOR_VERSIONFile Client (Communication Level) major version
FILE_CM_MINOR_VERSIONFile Client (Communication Level) minor version
FILE_CREATE_TIMEFile creation time
EDITIONMachbase type

Result Cache

V$RS_CACHE_LIST


Display the result cache list.

Column NameDescription
TOUCH_TIMETime cache was used or created
USER_IDCache user identifier
QUERYCache query statement
TIME_SPENTTime spent producing result
TABLE_COUNTNumber of tables associated with query statement
RECORD_COUNTNumber of result records
REFERENCE_COUNTNumber of sessions currently being referenced
HIT_COUNTCache hit count
AGGR_TOUCH_TIMETime the cache was used or created for aggregate results
AGGR_HIT_COUNTCache hit count for aggregate results

V$RS_CACHE_STAT


Display statistical information of result cache in one session.

Column NameDescription
CACHE_COUNTNumber of result caches
CACHE_HITTotal cache hit count
AGGR_HITTotal cache hit count for aggregate results
CACHE_REPLACEDCache replacement count
CACHE_MEMORY_USAGESize of cache memory used

Storage

V$STORAGE


Displays internal information of the storage system.

Column NameDescription
DC_TABLE_FILE_SIZETotal capacity of disk column data
DC_INDEX_FILE_SIZETotal capacity of index file data
DC_TABLESPACE_DWFILE_SIZETotal capacity of DWFILE for all column data
DC_KV_TABLE_FILE_SIZETotal number of data files of TAGDATA table partition tables

V$STORAGE_MOUNT_DATABASES


Displays the information of the mounted backup database using the mount function.

Column NameDescription
NAMEMounted database name
PATHBackup file location
BACKUP_TBSIDBackup database tablespace identifier
BACKUP_SCNBackup database identifier
MOUNTDBBackup time
DB_BEGIN_TIMEBackup database first entry time
DB_END_TIMEBackup database last entry time
BACKUP_BEGIN_TIMEBackup begin time
BACKUP_END_TIMEBackup end time
FLAGProperty flag

V$CACHE


Displays the comprehensive information on the cache objects containing the results read from the storage system.

Column NameDescription
OBJ_COUNTCurrent number of result set cache objects

V$CACHE_OBJECTS


Displays information about each cache object that contains the results read from the storage system.

Column NameDescription
OIDObject identifier
REF_COUNTReference count
FLAG(Internal server use flag)

V$STORAGE_DC_TABLESPACES


Displays the table space information of the storage system.

Column NameDescription
NAMETablespace name
IDTablespace identifier
FLAGFlag indicating tablespace property
REF_COUNTTablespace reference count
DISK_COUNTTablespace disk count

V$STORAGE_DC_TABLESPACE_DISKS


Displays the table space information of the storage system.

Column NameDescription
NAMEDisk name
IDDisk identifier
TABLESPACE_IDDisk tablespace identifier
PATHDisk path
IO_THREAD_COUNTI/O Thread count
IO_JOB_COUNTI/O Job count
VIRTUAL_DISK_COUNTVirtual disk count

V$STORAGE_DC_DWFILES


Displays the information of the double-write file (DW File) operated by the storage system.

Column NameDescription
TBS_IDTablespace identifier
DISK_IDDisk identifier
FILEFile path
TABLE_IDTable identifier
COLUMN_IDColumn identifier
PARTITION_IDPartition identifier
PAGE_IDPage identifier
DISK_OFFSETDisk offset
DISK_IMAGE_SIZEDisk image size
HEAD_CRC32CODE_IMAGEHead CRC32 Code Image
TAIL_CRC32CODE_IMAGETail CRC32 Code Image
CRC32CODE_PAGECRC32 Code Page
HEAD_TIMESTAMP_PAGEHead Timestamp Page
TAIL_TIMESTAMP_PAGETail Timestamp Page

V$STORAGE_DC_PAGECACHE


Displays information about the Page Cache operating on the storage system

Column NameDescription
MAX_MEM_SIZEMaximum memory size of Page Cache
CUR_MEM_SIZECurrent memory size of Page Cache
PAGE_CNTNumber of cached pages
CHECK_TIMECheck time

V$STORAGE_DC_PAGECACHE_LRU_LST


Displays information about the LRU List of Page Cache operated by the storage system.

Column NameDescription
OBJECT_IDObject identifier
LEVELPartition level
PARTITION_IDPartition identifier
OFFSETPage Cache Offset
SIZEPage size
REF_CNTReference count

V$STORAGE_USAGE


Displays the amount of storage used by the storage system.

Column NameDescription
TOTAL_SPACETotal storage capacity where the $MACHBASE_HOME/dbs directory is located
USED_SPACETotal storage usage where the $MACHBASE_HOME/dbs directory is located
USED_RATIOPercentage of usage(%)
RATIO_CAPStorage usage limit. Data input/index construction stops when USED_RATIO reaches this limit.

V$STORAGE_TABLES


Display table details.

Column NameDescription
IDTable ID
TYPETable type
- Persistent: LOG / TAG Table
- Volatile: Volatile Table - Key-Value: Accompanying table of TAG table
STATUSCurrent Status
- Creating…: Creating table by CREATE TABLE query
- Normal: normal
- Predrop: DROP TABLE query accepted
- Dropping…: DROP TABLE query processing
- Dropped: DROP TABLE query completed
- Mounted: The backed up database loaded with the MOUNT query
STORAGE_USAGECapacity occupied by the table in storage

Log Table

V$STORAGE_DC_TABLES


Displays internal information about Log Table.

Column NameDescription
IDTable identifier
DATABASE_IDDatabase identifier
CREATE_SCNSystem Change Number at time of creation
UPDATE_SCNSystem Change Number at time of most recent update
DDL_REF_COUNTNumber of sessions referencing table in DDL syntax execution
BEGIN_RIDMinimum table RID
END_RIDLast row ID of table + 1
BEGIN_META_RIDID at start of recording meta information
END_META_RIDID at end of recording meta information
END_SYNC_RIDLast row ID recorded on disk + 1
FLAGFlag indicating table property
COLUMN_COUNTTable column count
INDEX_COUNTTable index count
INDEX_MIN_END_RIDLast RID recorded in index + 1
LAST_ARRIVAL_TIMELast recorded _arrival_time value
LAST_CHECKPOINT_TIMELast checkpoint time
TYPETable type

V$STORAGE_DC_TABLES_STAT


Displays internal information about Log Table.

Column NameDescription
TABLESPACE_IDTablespace identifier
TABLE_IDTable identifier
COLUMN_IDColumn identifier
COUNTRecord count

V$STORAGE_DC_TABLE_COLUMNS


Displays information about the columns in the Log Table.

Column NameDescription
TABLE_IDTable identifier
DATABASE_IDDatabase identifier
IDColumn identifier
FLAGProperty flag
SIZEColumn data size
PARTITION_VALUE_COUNTMaximum number of data stored in partition
PAGE_VALUE_COUNTMaximum number of data stored in page
CACHE_VALUE_COUNTMaximum number of cache values
MINMAX_CACHE_SIZEMaximum size of MIN / MAX cache for column partitions
CUR_APPEND_PARTITION_IDCurrent partition in progress of input identifier
CUR_CACHE_PARTITION_COUNTNumber of partitions that have read data in current cache
CUR_MINMAX_CACHE_SIZECurrent Min / MAX cache size
END_RID_FOR_DEFAULT_VALUELocation value of end rid maintaining default value
DISK_FILE_SIZETotal size of column partition data file for that column
MEMORY_TOTAL_SIZEMemory size used by table
MEMORY_ALLOC_SIZEMemory size allocated by table

V$STORAGE_DC_TABLE_COLUMN_PARTS


Displays column partition information of log table.

Column NameDescription
TABLE_IDTable identifier
DATABASE_IDDatabase identifier
COLUMN_IDColumn identifier
IDPartition identifier
FLAGFlag indicating column property
BEGIN_RIDFirst RID stored in partition
END_RIDLast RID stored in partition
END_SYNC_RIDLast RID SYNC ended.

Data with a RID greater than the starting RID and less than the last SYNC RID is recorded in the partition file.
MIN_TIMEFirst time data was entered into column partition
MAX_TIMELast time data was entered into column partition
MAX_VALUE_COUNT_PER_PARTITIONMaximum partition data count
MAX_VALUE_COUNT_PER_PAGEMaximum page data count
MAX_PAGE_COUNTMaximum partition page count
PAGE_SIZEPage size stored in column partition
PAGE_COUNTPage count created in current column partition
COMPRESS_RATIOColumn partition compression ratio. If it is 0, data compression has not been performed yet.
DISK_FILENAMEPartition file name
EXTERNAL_PART_SIZEA large amount of data is written to the external partition file, indicating the size of the file
MIN_VALUEMinimum column partition value
MAX_VALUEMaximum column partition value

V$STORAGE_DC_TABLE_INDEXES


Displays index information generated in Log Table.

Column NameDescription
TABLE_IDTable identifier
DATABASE_IDDatabase identifier
IDIndex identifier
FLAGFlag indicating index property
TABLE_BEGIN_RIDFirst RID entered into table
TABLE_END_RIDLast table RID
BEGIN_RIDFirst index RID
END_RIDLast index RID
END_SYNC_RIDLast recorded RID in file + 1
COLUMN_COUNTIndex column count
BEGIN_PART_IDIndex first partition identifier
END_PART_IDIndex last partition identifier
FLUSH_REQUEST_COUNTNumber of index partitions requested to reflect on disk
MAX_KEY_SIZEMaximum key size
INDEX_TYPEIndex type
DISK_FILE_SIZETotal size of index partition file for that index
LAST_CHECKPOINT_TIMELast checkpoint time

LSM(Log Structured Merge) Index

V$STORAGE_DC_LSMINDEX_LEVEL_PARTS


Displays information about LSM Index partitions.

Column NameDescription
TABLE IDIndex table identifier
TABLESPACE_IDTablespace identifier
INDEX_IDIndex identifier
LEVELIndex partition LSM level
PARTITION_IDPartition identifier
BEGIN_RIDFirst RID entered into partition
END_RIDLast RID entered into partition + 1
KEY_VALUE_COUNTKey value count entered into partition
KEY_VALUE_TABLE_SIZESize of page storing key value
KEY_VALUE_TABLE_PAGE_COUNTNumber of pages storing key value
MIN_KEY_VALUEMinimum key value
MAX_KEY_VALUEMaximum key value
BITMAP_TABLE_SIZETotal size of page storing bitmap value
BITMAP_TABLE_PAGE_COUNTNumber of pages storing bitmap value
META_SIZETotal size of page storing meta information
META_PAGE_COUNTNumber of pages storing meta information
TOTAL_BUILD_MSECTotal time to complete partition
KEYVAL_BUILD_MSECTotal time to complete partition for KeyValue Mode
BITMAP_BUILD_MSECTotal time to complete partition for Bitmap Mode

V$STORAGE_DC_LSMINDEX_LEVEL_PARTS_CACHE


Displays information about the LSM Index partition cache.

Column NameDescription
TABLESPACE_IDTablespace identifier
TABLE_IDIndex Table identifier
INDEX_IDIndex identifier
LEVELIndex partition LSM level
PARTITION_IDPartition identifier
BEGIN_RIDFirst RID entered into partition
END_RIDLast RID entered into partition + 1
KEY_VALUE_COUNTNumber of key values entered into partition
KEY_VALUE_TABLE_SIZESize of page storing key value
KEY_VALUE_TABLE_PAGE_COUNTNumber of pages storing key value
BITMAP_TABLE_SIZETotal size of page storing bitmap value
BITMAP_TABLE_PAGE_COUNTNumber of pages storing bitmap value
META_SIZETotal size of page storing meta information
META_PAGE_COUNTNumber of pages storing meta information
MEMORY_SIZEMemory usage
MEMORY_SIZE_RBTREERedblack Tree memory usage

V$STORAGE_DC_LSMINDEX_LEVELS


Displays information about the level of the LSM index.

Column NameDescription
TABLE IDTable identifier
DATABASE_IDDatabase identifier
INDEX_IDIndex identifier
LEVELLevel
BEGIN_RIDFirst partition RID
END_RIDLast partition RID + 1
META_BEGIN_RIDRID at start time of recording meta information
META_END_RIDRID at end time of recording meta information
DELETE_END_RIDMaximum deleted RID + 1

V$STORAGE_DC_LSMINDEX_FILES


Displays information about the files that make up the LSM Index.

Column NameDescription
TABLE_IDTable identifier
DATABASE_IDDatabase identifier
INDEX_IDIndex identifier
LEVELIndex partition LSM level
PARTITION_IDPartition identifier
BEGIN_RIDPartition first RID
END_RIDPartition last RID + 1
PATHIndex file location

V$STORAGE_DC_LSMINDEX_AGER_JOBS


Displays working status of Ager responsible for LSM Index deletion.

Column NameDescription
TABLE_IDTable identifier
INDEX_IDIndex identifier
LEVELIndex partition LSM level
BEGIN_RIDFirst partition RID
END_RIDLast partition RID + 1
STATEIndex Ager working status

Volatile Table

V$STORAGE_DC_VOLATILE_TABLE


Displays information about Volatile Table.

Column NameDescription
MAX_MEM_SIZEMaximum Volatile Tablespace size
CUR_MEM_SIZECurrent Volatile Tablespace size

Tag Table

V$STORAGE_TAG_TABLES


Displays information about the partition table in the Tagdata Table.

Column NameDescription
IDTable identifier
TABLE_BEGIN_RIDTable start RID
TABLE_END_RIDTable end RID
WRITE_END_RIDLast RID which is written to data file.
EXT_ROW_COUNTNumber of entries to external partitions in VARCHAR records
EXT_WRITE_COUNTNumber of entries to data files in VARCHAR records
DISK_INDEX_END_RIDIndex end RID stored in storage
MEMORY_INDEX_END_RIDTable end RID in memory index
DELETE_MIN_DATEMinimum time of deleted data by execute DELETE BETWEEN query
DELETE_MAX_DATEMaximum time of deleted data by execute DELETE BETWEEN/BEFORE query
INDEX_STATECurrent Index Build Stats
- IDLE: Build Complete, waiting
- PROGRESS: Build in progress
- IOWAIT: Waiting for I/O operation in storage
- PENDING: Waiting for table read lock
- SHUTDOWN: Stopped. DELETE operation or DROP operation in progress.
- ABNORMAL: Abnormal end
DELETE_STATECurrent DELETE operation state.
There is no IDLE because it is performed only when a DELETE command is entered.
- PROGRESS: Deletion in progress
- IOWAIT: Waiting for I/O operation in storage
- PENDING: Waiting for table read/write lock
- SHUTDOWN: Stopped. DELETE operation or DROP operation in progress.
- ABNORMAL: Abnormal end
SAVE_STATECurrent Table Save operation state.
- IDLE: Save Complete, waiting
- PROGRESS: Save in progress
- IOWAIT: Waiting for I/O operation in storage
- PENDING: Waiting for table read lock
- SHUTDOWN: Stopped. DELETE operation or DROP operation in progress.
- ABNORMAL: Abnormal end

V$STORAGE_TAG_CACHE


Displays the cache information used in the partition table of the Tagdata Table.

Column NameDescription
CATEGORYType of object in cache
USED_MEMORYSize of memory in use
BLOCK_COUNTData cache count
CACHE_HITData cache hit count
CACHE_MISSData cache miss count
FLUSHOUTNumber of page flushouts due to data cache crash
COLDREADNumber of data pages read directly from storage
MEMORY_WAITNumber of times data memory waited for cache crash
IO_WAITData read operation wait count

V$STORAGE_TAG_CACHE_OBJECTS


Displays detailed information about each cache block used in the partition table of the Tagdata Table.

Column NameDescription
CATEGORYObject classification being cached
LATEST_HITLast approach time
STATUSCache status
- None: Memory allocation done
- Resides: Already stored in cache
- Loading: Loading table data from storage
- ERROR!: Error appears while loading data
WAIT_COUNTThe number of waiting times because the cache could not be read in the Loading state
REF_COUNTNumber of sessions currently referencing the cache block
HIT_COUNTNumber of times a cache block was referenced
TABLE_IDTable Identifier
FILE_IDFile Identifier
PART_IDPartition identifier inside the datafile
SAVE_SCNSCN of table save
VSAVE_SCNSCN of table save
DELETE_SCNSCN of delete operation
OFFSETDatafile offset
DATA_SIZEData size before compression, or 0

V$STORAGE_TAG_TABLE_FILES


Displays the file information of the partition table of the Tag Table.

Column NameDescription
TABLE_IDTable identifier
FILE_IDFile identifier
STATEIndex status
- COMPLETE: Data stored, index build complete
- INDEXING: Index build in progress
- FILLED: Data is full, waiting for Index build
- PARTIAL: Data not yet full, waiting for Index build
REF_COUNTNumber of sessions currently referencing the file
ROW_COUNTNumber of records stored in the file, including those that were deleted
DEL_COUNTNumber of records deleted from the file
MIN_DATEMinimum datatime value of this data file.
MAX_DATEMaximum datatime value of this data file.

V$STORAGE_TAG_INDEX


Displays index information generated in Tag Table.

Column NameDescription
TABLE_IDTable identifier
INDEX_IDIndex identifier (if INDEX_ID is 4294967295 it is a default index that is created automatically when the tag table is created.)
INDEX_STATECurrent index build state
- IDLE: Build Complete, waiting
- INDEXING: Build in progress
- STORAGE FULL: Stopped because of disk full
DISK_INDEX_END_RIDIndex end RID stored in storage
MEMORY_INDEX_END_RIDTable end RID in memory index
TABLE_END_RIDTable end RID

Tag Rollup

V$ROLLUP


Displays the Rollup information that stores information of the Tagdata table.

Column NameDescription
IDRollup job ID
ROLLUP_TABLE_NAMETable name to store Rollup information
SOURCE_TABLE_NAMEName of tag table that Rollup will query
USER_IDUser ID of Rollup Table and Source Table
ROOT_TABLERoot Source Table Name
INTERVALRollup execution cycle (sec)
END_RIDSource Table end RID
ENABLEDIndicates Rollup progress status
LAST_ELAPSED_MSECNumber of recently entered records

Stream

V$STREAMS


Column NameDescription
NAMEThe name of stream query.
LAST_EX_TIMELast execution time of this query.
TABLE_NAMEThe name of table which searched from the query
END_RIDThe last RID read by stream query
STATECurrent state of stream query
QUERY_TXTQuery text
ERROR_MSGError message of the last stream execution
FREQUENCYMinimum wait time for query execution. If it is 0, it is executed every record. If it is not 0, it is executed each time. The unit is nanoseconds.

License

V$LICENSE_INFO


Displays license information.

Column NameDescription
INSTALL_DATEInstallation date
TYPELicense type
POLICYLicense policy type
CUSTOMERCustomer name
ISSUE_DATEIssue date
IDHost ID
EXPIRY_DATEExpiration date
SIZE_LIMITWork input limit
ADDENDUMAdditional data rate
VIOLATION_ACTIONIndicates license violation
VIOLATION_LIMITNumber of violations to suspend service (monthly update)
STOP_ACTIONIndicates database is terminated in the event of license violation
RESET_FLAG(Internal server use)

V$LICENSE_STATUS


Displays the license status.

Column NameDescription
USER_DATA_PER_DAYAmount of data that can be entered per day
PREVIOUS_CHECK_DATEPrevious license check date
VIOLATION_COUNTLicense violation count
STOP_ENABLEDDisplay whether license restrictions are enabled or not.

Mutex

V$MUTEX


Displays current mutex status.

Column NameDescriptionNote
OBJECTAddress of the mutex object
NAMEThe name given when creating the mutex
TYPEMutex type- Mutex: pmuMutex
- RW Mutex: pmuRWMutex
OWNERID of the thread that acquired the mutex- Mutex: 0 if no thread acquired the mutex.
- RW Mutex w/ Read-Lock: 0
- RW Mutex w/ Write-Lock: ID of the thread that acquired the write lock.
LOCK_COUNTNumber of threads that acquired the mutex- RW Mutex can be 2 or more.
PEND_COUNTNumber of threads waiting to acquire a mutex- Collect only when TRACE_MUTEX_WAIT_STATUS=1
TRY_COUNTNumber of attempts to acquire the mutex- Collect only when TRACE_MUTEX_WAIT_STATUS=1
CONFLICT_COUNTNumber of failed to acquire mutex- Collect only when TRACE_MUTEX_WAIT_STATUS=1
WAIT_TICKSum of waiting time to acquire mutex- Collect only when TRACE_MUTEX_WAIT_STATUS
- Do not write to RW Mutex
WAIT_TICK_AVGAverage time to success after an attempt to acquire a mutex- Collect only when TRACE_MUTEX_WAIT_STATUS=1
- Do not write to RW Mutex
HELD_TICKTotal time from acquiring the mutex to releasing it- Collect only when TRACE_MUTEX_WAIT_STATUS=1
- Do not write to RW Mutex
HELD_TICK_AVGAverage time from acquisition to release of mutex- Collect only when TRACE_MUTEX_WAIT_STATUS=1
- Do not write to RW Mutex

V$MUTEX_WAIT_STAT


Shows the call stack of the currently waiting mutex.

Column NameDescriptionNote
THREAD_IDID of the thread waiting to acquire the mutex
OBJECTAddress of the mutex being acquired- Same as OBJECT in V$MUTEX
DEPTHCall stack depth- Collect only when TRACE_MUTEX_WAIT_STATUS=1
SYMBOLSymbol of function that called acquire mutex- Collect only when TRACE_MUTEX_WAIT_STATUS=1

Cluster

V$NODE_STATUS


Displays the Node status for each Cluster. Only one is displayed.

Column NameDescription
NODETYPENode type. There are two types that can be viewed by queries.
- Broker
- Warehouse
STATENode status

V$DDL_INFO


Displays DDL information performed by Cluster.

Column NameDescription
SEQUENCENUMBERDDL sequence number
TIMEDDL execution time
VALUEDDL query result value (Internal server use)
CLIENTClient name
BROKERLead Broker Node name
USERUser name
SQLDDL query value

V$REPLICATION


Displays information about the replication operation.

Column NameDescription
HOSTNAMEReplication Node Hostname
MODE(Internal server use)
STATENode status
ADDRReplication Manager address
PORT_NOReplication Manager port number
MAX_SENDER_COUNTMaximum number of Senders that can be created
RUN_SENDER_COUNTMaximum number of active Senders

V$REPL_SENDER


Displays Sender replication when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
IDSender identifier
STATUSSender operational status
PAYLOAD_RECV_COUNTNumber of payloads received from sender
PAYLOAD_RECV_BYTESTotal payload size received from Sender
QUEUE_REMAIN_COUNTNumber of buffers remaining in the Receive Queue
NET_SEND_COUNTNet send count
NET_SEND_SIZENet send size
NET_RECV_COUNTNet receive count
NET_RECV_SIZENet receive size

V$REPL_SENDER_META


Displays Sender metadata when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
SENDER_IDSender identifier
TABLE_IDTarget table identifier
TABLE_TYPETarget table type
BEGIN_RIDTarget record start RID
END_RIDTarget record end RID

V$REPL_RECEIVER


Displays Receiver information when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
STATUSReceiver operational status
PAYLOAD_RECV_COUNTNumber of payloads received from sender
PAYLOAD_RECV_BYTESTotal payload size received from Sender
QUEUE_REMAIN_COUNTNumber of buffers remaining in the Receive Queue
NET_SEND_COUNTNet send count
NET_SEND_SIZENet send size
NET_RECV_COUNTNet receive count
NET_RECV_SIZENet receive size

V$REPL_RECEIVER_META


Displays Receiver metadata when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
TABLE_IDTarget table identifier
TABLE_TYPETarget table type
BEGIN_RIDTarget record start RID
END_RIDTarget record end RID

V$REPL_READER


Displays Reader information when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
SENDER_IDSender identifier
IDReader identifier
STATUSReader operation status
FETCH_COUNTFETCH count

V$REPL_READER_META


Displays Reader metadata when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
SENDER_IDSender identifier
IDReader identifier
TABLE_IDTarget table identifier
TABLE_TYPETarget table type
BEGIN_RIDTarget record start RID
END_RIDTarget record end RID

V$REPL_WRITER


Displays Writer information when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
IDWriter identifier
STATUSWriter operational status
APPEND_COUNTAPPEND count

V$REPL_WRITER_META


Displays Writer metadata when running Replication.

Column NameDescription
HOSTNAMEReplication Node Hostname
IDWriter identifier
TABLE_IDTarget table identifier
TABLE_TYPETarget table type
BEGIN_RIDTarget record start RID
END_RIDTarget record end RID

Others

V$TABLES


Displays all Virtual Tables that start with “V$”.

Column NameDescription
NAMETable name
TYPETable type
DATABASE_IDDatabase identifier
IDTable identifier
USER IDUser who created table
COLCOUNTColumn count

V$COLUMNS


Displays column information of Virtual Tables.

Column NameDescription
NAMEColumn name
TYPEColumn data type
DATABASE_IDDatabase identifier
IDColumn identifier
LENGTHColumn size
TABLE_IDTable identifier
FLAGPrivate data
PART_PAGE_COUNTUnused
PAGE_VALUE_COUNTUnused
MINMAX_CACHE_SIZEUnused
MAX_CACHE_PART_COUNTUnused

V$RETENTION_JOB


Displays table information to which RETENTION POLICY is applied.

Column NameDescription
USER_NAMEUser name
TABLE_NAMEapplied table name
POLICY_NAMEapplied policy name
STATERETENTION state (RUNNING/WAITING/STOPPED)
LAST_DELETED_TIMEmost recently deleted time
Last updated on