ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
This page is a work in progress. As I find demos and descriptions of X$ structures this page will continue to be enhanced.
Assignments on this page are based on research, white papers, and wild guesses based on naming conventions: Some may well be incorrect.
If you have any information that might further expand these contents please forward them to me. Thank you. Morgan
X$ Linked List Growth
Version
Number Views
6
~35
7.1
126
8.1
271
9.2
394
10.1
543
10.2
613
11.1
798
11.2
945
12.1
1062
12.2
1312
18.3
1347
19.3
1379
21.3
1422
Dependencies
V$FIXED_TABLE
V$INDEXED_FIXED_COLUMN
List X$ Arrays and related information
conn / as sysdba
desc v$fixed_table
desc
v$fixed_view_definition
desc v$indexed_fixed_column
SELECT kqftanam
FROM x$kqfta
ORDER BY 1;
-- returns 1,377 objects
SELECT t.kqftanam "Table Name"
FROM x$kqfta t, x$kqfco c
WHERE t.indx = c.kqfcotab
AND c.kqfconam like '%SID%'
INTERSECT
SELECT DISTINCT t.kqftanam "Table Name"
FROM x$kqfta t, x$kqfco c
WHERE t.indx = c.kqfcotab
AND c.kqfconam like '%NAM%';
-- returns 45 objects
Morgan's brute-force code for collecting the names of X$ objects.
Not elegant but it gets the job done ... eventually.
Adding additional loops allows for brute force construction of arbitrarily sized X$ objects. Of course there is no need to do this given the answer can be obtained sub-second from v$fixed_table but it was an interesting academic exercise so it will remain here until I tire of it.
CREATE OR REPLACE PROCEDURE xdollarproc AUTHID DEFINER IS
rindex BINARY_INTEGER;
slno BINARY_INTEGER;
sofar NUMBER(12,2);
twork NUMBER;
pfix CONSTANT VARCHAR2(23) := 'SELECT COUNT(*) FROM X$';
str1 VARCHAR2(128);
str2 VARCHAR2(128);
str3 VARCHAR2(128);
str4 VARCHAR2(128);
str5 VARCHAR2(128);
xstr VARCHAR2(128);
n xdollar.numrows%TYPE;
BEGIN
rindex := dbms_application_info.set_session_longops_nohint;
-- one
twork := ((95-65)+1)**1;
FOR a IN 65 .. 95 LOOP
sofar := (a-65);
dbms_application_info.set_session_longops(rindex,slno,'1',0,0,sofar,twork,'');
str1 := pfix || CHR(a);
BEGIN
xstr := str1;
EXECUTE IMMEDIATE xstr INTO n;
INSERT INTO xdollar (xname,numrows) VALUES ('X$' || CHR(a),n);
EXCEPTION
WHEN others THEN
NULL;
END;
END LOOP;
COMMIT;
-- two
twork := ((95-65)+1)**2;
FOR a IN 65 .. 95 LOOP
str1 := pfix || CHR(a);
FOR b IN 65 .. 95 LOOP
sofar := (a-65)*(b-65);
dbms_application_info.set_session_longops(rindex,slno,'2',0,0,sofar,twork,'');
str2 := str1 || CHR(b);
BEGIN
xstr := str2;
EXECUTE IMMEDIATE xstr INTO n;
INSERT INTO xdollar (xname, numrows) VALUES ('X$' || CHR(a) || CHR(b),n);
EXCEPTION
WHEN others THEN
NULL;
END;
END LOOP;
END LOOP;
COMMIT;
-- three
twork := ((95-65)+1)**3;
FOR a IN 65 .. 95 LOOP
str1 := pfix || CHR(a);
FOR b IN 65 .. 95 LOOP
str2 := str1 || CHR(b);
FOR c IN 65 .. 95 LOOP
sofar := (a-65)*(b-65)*(c-65);
dbms_application_info.set_session_longops(rindex,slno,'3',0,0,sofar,twork,'');
str3 := str2 || CHR(c);
BEGIN
xstr := str3;
EXECUTE IMMEDIATE xstr INTO n;
INSERT INTO xdollar (xname,numrows) VALUES
('X$'||CHR(a)||CHR(b)||CHR(c),n);
EXCEPTION
WHEN others THEN
NULL;
END;
END LOOP;
END LOOP;
END LOOP;
COMMIT;
-- four
twork := ((95-65)+1)**4;
FOR a IN 65 .. 95 LOOP
str1 := pfix || CHR(a);
FOR b IN 65 .. 95 LOOP
str2 := str1 || CHR(b);
FOR c IN 65 .. 95 LOOP
str3 := str2 || CHR(c);
FOR d IN 65 .. 95 LOOP
sofar := (a-65)*(b-65)*(c-65)*(d-65);
dbms_application_info.set_session_longops(rindex,slno,'4',0,0,sofar,twork,'');
str4 := str3 || CHR(d);
BEGIN
xstr := str4;
EXECUTE IMMEDIATE xstr INTO n;
INSERT INTO xdollar (xname,numrows) VALUES ('X$' || CHR(a) || CHR(b) || CHR(c) || CHR(d),n);
EXCEPTION
WHEN others THEN
NULL;
END;
END LOOP;
END LOOP;
END LOOP;
END LOOP;
COMMIT;
-- five
FOR a IN 65 .. 95 LOOP
str1 := pfix || CHR(a);
FOR b IN 65 .. 95 LOOP
str2 := str1 || CHR(b);
FOR c IN 65 .. 95 LOOP
str3 := str2 || CHR(c);
FOR d IN 65 .. 95 LOOP
str4 := str3 || CHR(d);
FOR e IN 65 .. 95 LOOP
str5 := str4 || CHR(e);
BEGIN
xstr := str5;
EXECUTE IMMEDIATE xstr INTO n;
INSERT INTO xdollar (xname,numrows) VALUES ('X$' || CHR(a) || CHR(b) || CHR(c) || CHR(d) || CHR(e),n);
EXCEPTION
WHEN others THEN
NULL;
END;
END LOOP;
END LOOP;
END LOOP;
END LOOP;
END LOOP;
COMMIT;
END xdollarproc;
/
exec xdollarproc;
Morgan's less brutal, but less satisfying, solution to obtaining the number of rows in each X$ object.
CREATE OR REPLACE PROCEDURE xdollarproc AUTHID DEFINER IS
pfix CONSTANT VARCHAR2(21) := 'SELECT COUNT(*) FROM ';
sqlStr VARCHAR2(128);
n INTEGER;
BEGIN
FOR i IN (SELECT name FROM v$fixed_table WHERE name LIKE 'X$%') LOOP
sqlStr := pfix || i.name;
BEGIN
execute immediate sqlStr INTO n;
EXCEPTION
WHEN OTHERS THEN
n := -99;
END;
INSERT INTO xdollar2 (xname,numrows)
VALUES (i.name,n);
END LOOP;
COMMIT;
END xdollarproc;
/
set timing on
exec xdollarproc
Elapsed: 00:03:01.90
SQL> SELECT xname FROM xdollar2 where NUMROWS = -99 ORDER BY 1;
SELECT start_time
FROM v$rman_backup_job_details
ORDER BY 1;
X$KCVFHONL
-- from a private communication with Riyaj Shamsudeen:
v$backup is based upon x$kcvfhonl. KCV tables are mapping from file headers.Read from v$backup will show lots of db file sequential reads with block_id=1 and blocks=1, i.e. reading file headers.
Here is the file header update, I was talking about. you can see that backup checkpointed at SCN from thread 6. This is not a problem per se, but other sessions in the remote nodes are not reading the file headers.
obj column matches dba_objects.data_object_id
The tch column, touch count, records how many times a particular buffer has been accessed
Tim is time the buffer touch happened
Lru_flag relates to a buffer's hot/cold feature and is often used to find hot blocks
It's better than checking for DX locks for outgoing sessions (since a DX lock only shows up in v$lock for the current distributed transaction session).
x$k2gte2 is the same as x$k2gte except on k2gtetyp which may show 2 for 'TIGHTLY COUPLED' instead of 0 for 'FREE'.
One use of x$k2gte[2] is the clearly translated global transaction ID in k2gtitid_ora as opposed to the hex numbers in v$global_transaction.globalid.
X$K2GTE2
kernel 2-phase commit, global transaction entry: See above entry.
0 rows
DNFS
Object Name
Notes
X$DNFS_CHANNELS
0 rows
X$DNFS_FILES
0 rows
X$DNFS_HIST
0 rows
X$DNFS_META
1 rows
X$DNFS_SERVERS
0 rows
X$DNFS_STATS
90 rows
DUAL
Object Name
Notes
X$DUAL
SELECT * FROM x$dual;
ADDR INDX INST_ID CON_ID D
---------------- ---- ------- ------ -
00007FF79B21A43C 0 1 0 X
SQL> select * from dual;
DUMMY
-----
X
Exadata Cells
Object Name
Notes
X$CELL_NAME
Cell names, 0 rows
X$KCFISOSS
Stat types, 0 rows
X$KCFISOSSN
Waits, 0 rows
X$KCFISOSST
Snapshots, 0 rows
Explain Plan Lookup Table
Object Name
Notes
X$XPLTON
-- explain plan operation types lookup table
SELECT xplton_name
FROM x$xplton
ORDER BY 1;
149 rows
X$XPLTOO
-- explain plan lookup table
SELECT xpltoo_name
FROM x$xpltoo
ORDER BY 1;
259 rows
Heat Maps
Object Name
Notes
X$HEATMAPSEGMENT
0 rows
X$HEATMAPSEGMENT1
0 rows
Heterogeneous Services
Object Name
Notes
X$HS_SESSION
Heterogeneous services data base link users, hosts, and SIDs, 0 rows
In-Memory
Object Name
Notes
X$IMCSEGEXTMAP
0 rows
X$IMCSEGMENTS
0 rows
X$IMCTBSEXTMAP
0 rows
Incident Repair
Object Name
Notes
X$IR_MANUAL_OPTION
0 rows
X$IR_REPAIR_OPTION
0 rows
X$IR_REPAIR_STEP
0 rows
X$IR_RS_PARAM
0 rows
X$IR_WF_PARAM
0 rows
X$IR_WORKING_FAILURE_SET
0 rows
X$IR_WORKING_REPAIR_SET
0 rows
X$IR_WR_PARAM
0 rows
Kernel Cache
Object Name
Notes
X$KCBBES
19 rows
X$KCBBF
According to Jonathan Lewis the number of available buffer handles set at instance start-up, and likely dependent on the number of processes,
apparently 5 * processes, although that value five may be related to the fact that the default value for _db_handles_cached is five. These handles appear as the structure x$kcbbf.
SQL> show parameter processes
SELECT COUNT(*)
FROM x$kcbbf;
COUNT(*)
---------
3200
X$KCBBHS
0 rows
X$KCBDBK
Encrypted key, 3 rows
X$KCBDWOBJ
0 rows
X$KCBDWS
1 row
X$KCBFCIO
0 rows
X$KCBFWAIT
Kernel Cache Buffer File Wait used to break down the contents of v$waitstat into per-datafile statistics
SELECT name, count, time
FROM v$datafile df, x$kcbfwait fw
WHERE fw.indx+1 = df.file#;
SELECT platform_id, endian_format, platform_name
FROM x$kcpxpl
ORDER BY 1;
PLATFORM_ID ENDIAN_FORMAT PLATFORM_NAME
----------- ------------- ----------------------------------
1 1 Solaris[tm] OE (32-bit)
2 1 Solaris[tm] OE (64-bit)
3 1 HP-UX (64-bit)
4 1 HP-UX IA (64-bit)
5 0 HP Tru64 UNIX
6 1 AIX-Based Systems (64-bit)
7 0 Microsoft Windows IA (32-bit)
8 0 Microsoft Windows IA (64-bit)
9 1 IBM zSeries Based Linux
10 0 Linux IA (32-bit)
11 0 Linux IA (64-bit)
12 0 Microsoft Windows x86 64-bit
13 0 Linux x86 64-bit
15 0 HP Open VMS
16 1 Apple Mac OS
17 0 Solaris Operating System (x86)
18 1 IBM Power Based Linux
19 0 HP IA Open VMS
20 0 Solaris Operating System (x86-64)
21 0 Apple Mac OS (x86-64)
22 1 Linux OS (S64)
X$KCRFDEBUG
1 row
X$KCRFWS
1 row
X$KCRFX
0 rows
X$KCRMF
0 rows
X$KCRMT
0 rows
X$KCRMX
0 rows
X$KCRRARCH
30 rows
X$KCRRASTATS
31 rows
X$KCRRDSTAT
31 rows
X$KCRRLNS
0 rows
X$KCRRNHG
3050 rows
X$KCTICW
1 row
X$KCTLAX
0 rows
X$KCVFHALL
13 rows
X$KCVFHMRR
0 rows
Kernel Data Layer
Object Name
Notes
X$KDKVIMHASHINDEX
0 rows
X$KDKVIMHASHINDEX_OBJECTS
0 rows
X$KDLT
1 row
X$KDLU_STAT
273 rows
X$KDMADOELEMENTS
0 rows
X$KDMADOTASKDETAILS
0 rows
X$KDMADOTASKS
0 rows
X$KDMIMCCOL
0 rows
X$KDMIMCHEAD
0 rows
X$KDMIMEUCOL
0 rows
X$KDMIMEUHEAD
0 rows
X$KDMUFASTSTARTAREA
3 rows
X$KDMUSEGDICT
0 rows
X$KDMUSEGDICTPMAP
0 rows
X$KDMUSEGDICTSO
0 rows
X$KDMUSEGDICTVER
0 rows
X$KDNSSF
504 rows
X$KDXHS
Histograms, 16 rows
X$KDXST
Stats collection, 0 rows
X$KDZCOLCL
In-Memory Compression, 0 rows
X$KD_COLUMN_STATISTICS
0 rows
Kernel eXecution Layer
Object Name
Notes
X$KXDBIO_STATS
0 rows
X$KXDCM_DB
0 rows
X$KXDCM_DISK
0 rows
X$KXDCM_DISK_HISTORY
0 rows
X$KXDCM_GLOBAL
0 rows
X$KXDCM_GLOBAL_HISTORY
0 rows
X$KXDCM_IOREASON
0 rows
X$KXDCM_IOREASON_NAME
SELECT reason_name
FROM x$kxdcm_ioreason_name
ORDER BY 1;
REASON_NAME
-----------------------------------
AKM AutoLogin KeyStore I/O
AKM KeyStore I/O
AM Container I/O
ASM Block Format
ASM CACHE IO
ASM Cache Cleanup IO
ASM Cache ping
ASM Checkpoint IO
ASM Disk Header IO
ASM Extent Repair I/O
ASM Filter Driver I/O
ASM Fixed Package IO
ASM Heartbeat IO
ASM PST IO
ASM REDO IO
ASM Recovery IO
ASM Relocate IO
ASM Replacement IO
ASM Stale File
ASM User File Relocate
ASM scrub IO
ASM volume file I/O
Calibration data read
Cell IMC population I/O
Cell internal I/O
Clear ORL/SRL write
Data Guard I/O
I/O to Oracle parameter file
I/O to Oracle passwd file
IDR I/O error check
Internal IO
NBR recovery write
OSD header I/O
Other
PQ induced IO
REQ list writes
Voting file I/O
aged writes by dbwr
archive log read for recovery
archive log write
audit file I/O
backup I/O
block dump
block media recovery write
buffer cache reads
change tracking I/O
cross platform I/O
data file reads to private memory
data file writes to private memory
data header read
data header write
data pump I/O
database control file read
database control file write
dbwr instance recovery writes
dbwr media recovery writes
fast file create
file format writes
file transfer IO
fixedpkg hard I/O
flashback log read
flashback log write
high-priority checkpoint write
incremental apply I/O
invalid IO
limit dirty buffer writes
low priority checkpoint writes
medium-priority checkpoint writes
misc I/O
online move datafile I/O
redo log HWM update
redo log file rdma write
redo log read
redo log read for archiving
redo log seqno read
redo log write
reread of a block on error
resilvering write
reuse block range writes by dbwr
reuse object writes by dbwr
self tune checkpoint writes
smart backup
smart scan
table space checkpoint writes
trace file write
xrov I/O
X$KXDCM_METRIC_DESC
327 rows
X$KXDCM_OPEN_ALERTS
0 rows
X$KXDRS
0 rows
X$KXDSPPHYSMP
0 rows
X$KXFBBOX
458 rows
X$KXFPBS
5 rows
X$KXFPCDS
Client Dequeue Statistics, 38 rows
X$KXFPCMS
Client Messages Statistics, 71 rows
X$KXFPCST
col value format 99999999999
SELECT statistic, value
FROM x$kxfpcst
ORDER BY 1;
STATISTIC VALUE
------------------------------ ------------
Data Messages Dequeued 10591
Data Messages Sent 10606
Dequeues for Credit (enq) 523
Dequeues for Credit (free) 0
Dequeues for Credit (geb) 2
Dialog Messages Sent 11591
Double Credit Pings 128
Fast Distributed Streams 0
Fast Shared Memory Streams 21
Immediate Dequeues 26400
Implicit Dequeues 26590
Multiple Credit Pings 502
Null Messages Dequeued 86468
Null Messages Sent 113112
Posted Dequeues 67565
Query Sessions 1770
Single Credit Pings 808
Stream Messages Sent 34
Stream Mode Credit Pings 25
Timed-out Dequeues 9441
Total Dequeue Timeouts 691743
Total Dequeue Waits 759035
Total Messages Dequeued 97059
Total Messages Sent 123718
Triple Credit Pings 29
Unknown Credit Pings 113087
X$KXFPDP
8 rows
X$KXFPIG
0 rows
X$KXFPNS
SELECT kxfpnsnam, kxfpnsval
FROM x$kxfpns
ORDER BY 1;
KXFPNSNAM KXFPNSVAL
------------------------- ----------
Buffers Allocated 7307
Buffers Current 0
Buffers Current Free 28
Buffers Current Total 28
Buffers Freed 7307
Buffers HWM 55
Chunk Lists 4
Estimated Buffers HWM 45
Estimated Buffers Max 5040
Memory Chunks Allocated 182
Memory Chunks Current 4
Memory Chunks Freed 178
Memory Chunks HWM 9
Memory Chunks Permanent 4
Server Sessions 1303
Servers Available 8
Servers Cleaned Up 0
Servers Highwater 6
Servers In Use 0
Servers Max 80
Servers Shutdown 22
Servers Started 30
X$KXFPPFT
100 rows
X$KXFPPIG
0 rows
X$KXFPREMINSTLOAD
0 rows
X$KXFPSDS
38 rows
X$KXFPSMS
71 rows
X$KXFPSST
SELECT kxfpssnam
FROM x$kxfpsst
ORDER BY 1;
KXFPSSNAM
---------------------
Allocation Height
Allocation Width
DDL Parallelized
DFO Trees
DML Parallelized
DOP
Distr Msgs Recv'd
Distr Msgs Sent
Local Msgs Recv'd
Local Msgs Sent
Queries Parallelized
Server Threads
Slave Sets
X$KXFPYS
SELECT kxfpysnam, kxffpyval
FROM x$kxfpys
ORDER BY 1;
KXFPYSNAM KXFPYSVAL
------------------------ ----------
DDL Initiated 0
DDL Initiated (IPQ) 0
DFO Trees 458
DML Initiated 0
DML Initiated (IPQ) 0
Distr Msgs Recv'd 0
Distr Msgs Sent 0
Local Msgs Recv'd 9045
Local Msgs Sent 9045
Queries Initiated 6
Queries Initiated (IPQ) 0
Queries Queued 0
Server Sessions 1281
Servers Busy 0
Servers Cleaned Up 0
Servers Highwater 6
Servers Idle 8
Servers Shutdown 22
Servers Started 30
Sessions Active 0
X$KXFQSROW
0 rows
X$KXFRSVCHASH
0 rows
X$KXFSOURCE
0 rows
X$KXFTASK
0 rows
X$KXSBD
5 rows
X$KXSCC
64 rows
X$KXSREPLAY
0 rows
X$KXSREPLAYDATE
0 rows
X$KXSREPLAYGUID
0 rows
X$KXSREPLAYLOB
0 rows
X$KXSREPLAYSEQ
0 rows
X$KXSREPLAYTIME
0 rows
X$KXTTSTECS
0 rows
X$KXTTSTEHS
0 rows
X$KXTTSTEIS
0 rows
X$KXTTSTETS
0 rows
X$KXTTSTETS
0 rows
Kernel Generic Heap
Object Name
Notes
X$KGHLU
kernel generic, heap LRUs: A one-row summary of LRU statistics for the shared pool, 1 row
X$KGICS
1 row
X$KGLAU
1539 rows
X$KGLBODY
Derived from X$KGLOB (col kglhdnsp = 2), 208 rows
X$KGLCLUSTER
Derived from X$KGLOB (col kglhdnsp = 5), 27 rows
X$KGLCURSOR
19982 rows
X$KGLCURSOR_CHILD_SQLID
4382 rows
X$KGLCURSOR_CHILD_SQLIDPH
4372 rows
X$KGLCURSOR_PARENT
13904 rows
X$KGLDP
13276 rows
X$KGLINDEX
Derived from X$KGLOB (col kglhdnsp = 4), 156 rows
X$KGLJMEM
0 rows
X$KGLJSIM
0 rows
X$KGLLK
kernel generic, library cache lock, 1403 rows
X$KGLMEM
143 rows
X$KGLNA
30427 rows
X$KGLNA1
30427 rows
X$KGLOB
kernel generic, library cache object. A direct dependency for DBMS_ALERT, 34838 rows
X$KGLOBXML
34838 rows
X$KGLPN
kernel generic, library cache pin, 1 row
X$KGLRD
13251 row
X$KGLSIM
24 rows
X$KGLSN
32 rows
X$KGLSQLTXL
0 rows
X$KGLST
kernel generic, library cache status,
302 rows
X$KGLTABLE
Derived from X$KGLOB (col kglhdnsp = 1), 4457 rows
X$KGLTR
Library Cache Translation Table entry, 4915 rows
X$KGLTRIGGER
Derived from X$KGLOB (col kglhdnsp = 3), 9 rows
X$KGLXS
Library Cache Access, 7419 rows
X$KGSCC
1 row
X$KGSKASP
Active Session Pool, 1 row
X$KGSKCFT
10 rows
X$KGSKCP
2 rows
X$KGSKDOPP
SELECT policy_name_kgskdopp, attributes_kgskdopp
FROM x$kgskdopp;
SELECT kjznwlmpcrankdesc,
kjznwlmpcrankshrtdesc
FROM x$kjznwlmpcrank
ORDER BY 1;
KJZNWLMPCRAN KJZNWLMP
------------ --------
HIGH HIGH
HIGHEST HIGHEST
LOW LOW
LOWEST LOWEST
MEASURE ONLY PCMONLY
MEDIUM MEDIUM
NOT MANAGED PCNMNGD
UNDEFINED UNDEF
UNKNOWN UNKNOWN
X$KJZSIWTEVT
1919 rows
Kernel Query
Object Name
Notes
X$KQDPG
kernel query, fixed table columns, 1 row
X$KQFCO
22037 rows
X$KQFDT
kernel query, fixed tables, 43 rows
X$KQFOPT
159 rows
X$KQFP
kernel query, fixed procedures, 41 rows
X$KQFSZ
kernel query, fixed size, 45 rows
X$KQFTA
Kernel Query, Fixed Table: Base table of v$fixed_table, whose object_id (indx of x$kqfta) matches obj# of tab_stats$, the table dbms_stats.gather_fixed_objects_stats inserts stats into
1335 rows
Kernel Query, Rowcache Parent Definition: Column kqrpdosz is the size of the parent rowcache object, not exposed in v$rowcache_parent although shown in rowcache dump
65 rows
X$KQRSD
Kernel Query, Rowcache Subordinate Definition: Column kqrsdosz is the size of the subordinate rowcache object, not exposed in v$rowcache_subordinate although shown in rowcache dump.
14 rows
X$KQRST
75 rows
Kernel Security
Object Name
Notes
X$KZAHIST
0 rows
X$KZAJOBS
0 rows
X$KZALOADJOBS
0 rows
X$KZAPARAMS
0 rows
X$KZATS
0 rows
X$KZCKMCS
0 rows
X$KZCKMEK
0 rows
X$KZDOS
Represent an OS role as defined by the operating system, 0 rows
X$KZDPSUPSF
col kzdpsupsfnm format a28
col kzdpsupsffn format a24
col kzdpsupsfcom format a28
SELECT kzdpsupsfnm, kzdpsupsffn, kzdpsupsfcom
FROM x$kzdpsupsf
ORDER BY 1;
KZDPSUPSFNM KZDPSUPSFFN KZDPSUPSFCOM
---------------------------- ------------------------ ----------------------------
DATA REDACTION ALL Supports all data redaction
functionality (DBMS_REDACT).
FINE GRAINED AUDIT ALL Supports all fine grained au
dit functionality (DBMS_FGA)
TRANSPARENT DATA ENCRYPTION COLUMN-LEVEL ENCRYPTION Supports TDE Column level en
cryption.
UNIFIED AUDIT OBJECT-LEVEL POLICY Supports object-level Unifie
d Audit policies.
VIRTUAL PRIVATE DATABASE OBJECT-LEVEL POLICY Supports object-level VPD po
licies.
VIRTUAL PRIVATE DATABASE COLUMN-LEVEL POLICY Supports column-level VPD po
licies. This corresponds to
the SEC_RELEVANT_COL paramet
er functionality provided by
DBMS_RLS.ADD_POLICY.
X$KZEKMENCWAL
Wallets, their location, type and status
col wrl_type format a8
col wrl_parameter format a32
col wallet_type format a11
SELECT wrl_type, wrl_parameter, status, wallet_type, wallet_order
FROM x$kzekmencwal;
column definitions:
ksmlrsiz - amount of contiguous memory allocated
ksmlrnum - number of objects being displaced
ksmlrhon - name of inbound object if pl/sql or cursor
ksmlrohv - hash value of object loaded
ksmlrses - saddr of the loading session
SELECT ksmlrses, ksmlrsiz, ksmlrnum, ksmlrhon
FROM x$ksmlru;
Possibly relates to tablespaces that have valid save undo segments, 14 rows
X$KTUCUS
0 rows
X$KTUGD
1 row
X$KTUMASCN
1 row
X$KTUQQRY
122024 rows
X$KTURD
11 rows
X$KTURHIST
0 rows
X$KTUSMST
133 rows
X$KTUSMST2
1 row
X$KTUSUS
13 rows
X$KTUTST
0 rows
X$KTUXCHE
0 rows
X$KTUXE
The most recent 438 terminated sessions
(appears to always be 438)
Kernel Variables
Object Name
Notes
X$KVII
Internal instance parameters set at instance initialization
col kviitag format a24
col kviidsc format a54
SELECT kviival, kviitag, kviidsc
FROM x$kvii;
KVIIVAL KVIITAG KVIIDSC
-------- ------------------------ -----------------------------------------------------
1566 kslnbe # of base events
447 kslnbesess # of base events in session
703 kslltl number of latches
39952 kslerb event range base
4 ksbcpurawthrcnt_startup initial number of raw CPU threads in the system
4 ksbcpueffthrcnt_startup initial number of effective CPU threads in the system
4096 kcbswc DBWR max outstanding writes
1 kcbnwp number of DBWR processes
204 kcbscw DBWR write chunk
1 kctsat true if Statically Allocated Thread
1 kctthr THRead mounted by this instance - zero if none
1 ktsinm sga shadow value of instance_number
X$KVIS
Oracle Data Block (size_t type) variables, 0 rows
X$KVIT
Instance internal flags, variables and parameters that can change during the life of an instance
col kvittag format a17
col kvitdsc format a40
SELECT kvitval, kvittag, kvitdsc
FROM x$kvit;
KVITVAL KVITTAG KVITDSC
------- ---------------- ------------------------------------------------
4 ksbcpurawthrcnt number of raw CPU threads in the system used
by Oracle
4 ksbcpueffthrcnt number of effective CPU threads in the system
used by Oracle
2 ksbcpucore number of physical CPU cores in the system
used by Oracle
1 ksbcpusocket number of physical CPU sockets in the system
used by Oracle
4 ksbcpu_hwm high water mark of number of CPUs used by Oracle
2 ksbcpucore_hwm high water mark of number of CPU cores on system
1 ksbcpusocket_hwm high water mark of number of CPU sockets on
system
4 ksbcpu_actual number of available CPUs in the system
1 ksbcpu_dr CPU dynamic reconfiguration supported
469920 kcbncbh number of buffers in cdb
469920 kcbnbh number of buffers
25 kcbldq large dirty queue if kcbclw reaches this
40 kcbfsp Max percentage of LRU list foreground can scan
for free
2 kcbcln Initial percentage of LRU list to keep clean
3200 kcbnbf number buffer objects
0 kcbwst Flag that indicates recovery or db suspension
0 kcteln Error Log Number for thread open
0 kcvgcw SGA: opcode for checkpoint cross-instance call
0 kcvgcw SGA:opcode for pq checkpoint cross-instance call
Large Objects (LOB)
Object Name
Notes
X$ABSTRACT_LOB
52 rows
X$KEWX_LOBS
0 rows
X$LOBSEGSTAT
LOB Segment Stats, 2 rows
X$LOBSTAT
LOB Stats, 5 rows
X$LOBSTATHIST
LOB Stat History, 30 rows
X$TEMPORARY_LOB_REFCNT
4 rows
Locks
Object Name
Notes
X$LE
Lock Element : each PCM lock that is used by the buffer cache (gc_db_locks)
If a buffer is locked maps to v$lock_element - 0 rows
Log Buffers
Object Name
Notes
X$LOGBUF_READHIST
Log buffer read history, 16 rows
Log Miner
Object Name
Notes
X$LOGMNR_ATTRCOL$
0 rows
X$LOGMNR_ATTRIBUTE$
0 rows
X$LOGMNR_CALLBACK
0 rows
X$LOGMNR_CDEF$
Log Miner Column Definitions, 0 rows
X$LOGMNR_CLU$
Log Miner Clusters, 0 rows
X$LOGMNR_COL$
Log Miner Columns, 0 rows
X$LOGMNR_COLTYPE$
Log Miner Column Types, 0 rows
X$LOGMNR_CONTENTS
Used by DBMS_LOGMNR to hold redo log transactions while mining
X$LOGMNR_DICTIONARY
0 rows
X$LOGMNR_DICTIONARY_LOAD
0 rows
X$LOGMNR_ENC$
0 rows
X$LOGMNR_ENCRYPTED_OBJ$
Log Miner Encrypted Objects, 0 rows
X$LOGMNR_ENCRYPTION_PROFILE$
0 rows
X$LOGMNR_FILE$
Log Miner Data and Temp Files, 0 rows
X$LOGMNR_IND$
Log Miner Indexes, 0 rows
X$LOGMNR_INDCOMPART$
0 rows
X$LOGMNR_INDPART$
Log Miner Index Partitions, 0 rows
X$LOGMNR_INDSUBPART$
Log Miner Index Subpartitions, 0 rows
X$LOGMNR_KOPM$
0 rows
X$LOGMNR_KTFBUE
0 rows
X$LOGMNR_LATCH
Log Miner Latches, 0 rows
X$LOGMNR_LOB$
Log Miner Large Objects, 0 rows
X$LOGMNR_LOBFRAG$
0 rows
X$LOGMNR_LOG
0 rows
X$LOGMNR_LOGFILE
Log Miner Log Files, 0 rows
X$LOGMNR_LOGS
0 rows
X$LOGMNR_NTAB$
0 rows
X$LOGMNR_OBJ$
Log Miner Objects, 0 rows
X$LOGMNR_OPQTYPE$
Log Miner Opaque Types, 0 rows
X$LOGMNR_PARAMETERS
Log Miner Parameters, 0 rows
X$LOGMNR_PARTOBJ$
0 rows
X$LOGMNR_PROCESS
0 rows
X$LOGMNR_PROPS$
0 rows
X$LOGMNR_REFCON$
0 rows
X$LOGMNR_REGION
0 rows
X$LOGMNR_ROOT$
0 rows
X$LOGMNR_SEG$
Log Miner Segments, 0 rows
X$LOGMNR_SESSION
Log Miner Sessions, 0 rows
X$LOGMNR_SUBCOLTYPE$
0 rows
X$LOGMNR_TAB$
Logminer Tables, 0 rows
X$LOGMNR_TABCOMPART$
0 rows
X$LOGMNR_TABPART$
Log Miner Table Partitions, 0 rows
X$LOGMNR_TABSUBPART$
Log Miner Table Subpartitions, 0 rows
X$LOGMNR_TS$
Log Miner Tablespaces, 0 rows
X$LOGMNR_TYPE$
Log Miner Data Types, 0 rows
X$LOGMNR_UET$
0 rows
X$LOGMNR_UNDO$
Log Miner Undo, 0 rows
X$LOGMNR_USER$
Log Miner Users, 0 rows
Long Operations
Object Name
Notes
X$KSULOP
Kernel Services: user long operation, 115 rows
X$XSLONGOPS
Maps to v$session_longops, 0 rows
Memoptimize Pool
Object Name
Notes
X$MEMOPTIMIZE_WRITE_AREA
3 rows
MMON Process
Object Name
Notes
X$MMON_ACTION
224 rows
X$MMON_AUTOTASK
7 rows
X$MMON_TRACKING_DEBUG
0 rows
Mutexes
Object Name
Notes
X$MUTEX_SLEEP
24 rows
X$MUTEX_SLEEP_HISTORY
183 rows
NLS Parameters
Object Name
Notes
X$NLS_PARAMETERS
set NLS database parameters, 20 rows
col parameter format a26
SELECT parameter, value
FROM x$nls_parameters
ORDER BY 1;
PARAMETER VALUE
-------------------------- ------------------------------
NLS_CALENDAR GREGORIAN
NLS_CHARACTERSET AL32UTF8
NLS_COMP BINARY
NLS_CURRENCY $
NLS_DATE_FORMAT DD-MON-YYYY HH24:MI:SS
NLS_DATE_LANGUAGE AMERICAN
NLS_DUAL_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_LANGUAGE AMERICAN
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_NCHAR_CONV_EXCP FALSE
NLS_NUMERIC_CHARACTERS .,
NLS_SORT BINARY
NLS_SPECIAL_CHARS |@
NLS_TERRITORY AMERICA
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
SELECT parameter, value
FROM x$nls_parameters
MINUS
SELECT parameter, value
FROM v$nls_parameters
PARAMETER VALUE
-------------------------- ------
NLS_SPECIAL_CHARS |@
Note, as highlighted, TSNAM includes tablespaces that do not show in the data dictionary (highlighted) not just those in PDB$SEED. A TSTSN value of -1 indicates the tablespace has been dropped.
SELECT con_id, tablespace_name
FROM cdb_tablespaces
ORDER BY 1,2;
FILENAME VERSION
-------------------- --------
timezlrg_32.dat 32
X$TIMEZONE_NAMES
Timezones, 2341 rows
col tzname format a30
SELECT tzname, tzabbrev
FROM x$timezone_names;
Wait Interface
Object Name
Notes
X$KCBSH
58560 rows
X$KSDHNG_CHAINS
Blockers and waits- 0 rows
X$AL Objects
Object Name
Notes
X$ALL_KESWXMON
68 rows
X$ALL_KESWXMON_PLAN
542 rows
X$ALL_KQLFXPL
22163 rows
X$BU Objects
Object Name
Notes
X$BUFFER
0 rows
X$BUFFER2
0 rows
X$CON Objects
Object Name
Notes
X$CON
3 rows
X$CONTEXT
0 rows
X$CON_KEWMDRMV
65435 rows
X$CON_KEWMSMDV
263 rows
X$CON_KEWSSYSV
72 rows
X$CON_KSLEI
5754 rows
X$CON_KSLSCS
39 rows
X$CON_KSLSESHIST_MICRO
3314 rows
X$CON_KSUSGSTA
6000 rows
X$DB Objects
Object Name
Notes
X$DBGATFLIST
1 row
X$DBGDIREXT
714 rows
X$DBGLOGEXT
2 rows
X$DBGRICX
1 row
X$DBGRIFX
2 rows
X$DBGRIKX
8 rows
X$DBGRIPX
1 row
X$DBGTFLIST
231 rows
X$DBGTFOPTT
0 rows
X$DBGTFSOPTT
0 rows
X$DBGTFSQLT
0 rows
X$DBGTFSSQLT
0 rows
X$DBGTFVIEW
15760 rows
X$DBKECE
42 rows
X$DBKEFAFC
SELECT "ACTION ID", "ACTION NAME"
FROM x$dbkefafc
ORDER BY 2;
ACTION ID ACTION NAME
---------- --------------------------------
34340926 ASM_ALLOC_FAIL_CHECK
34340905 DB_STRUCTURE_INTEGRITY_CHECK
34340906 REDO_INTEGRITY_CHECK
17563684 act1
17563685 action1
17563686 action2
34340884 dbkeTestAction2
X$DBKEFDEAFC
SELECT "ACTION ID", "PROBLEM KEY"
FROM x$dbkefdeafc;
no rows selected
X$DBKEFEFC
18 rows
X$DBKEFIEFC
512 rows
X$DBKFDG
0 rows
X$DBKFSET
0 rows
X$DBKH_CHECK
38 rows
X$DBKH_CHECK_PARAM
63 rows
X$DBKINCMETCFG
1 row
X$DBKINCMETINFO
0 rows
X$DBKINCMETSUMMARY
1 row
X$DBKINFO
0 rows
X$DBKRECO
0 rows
X$DBREPLAY_PATCH_INFO
0 rows
X$DG Objects
Object Name
Notes
X$DGLPARAM
37 rows
X$DGLXDAT
0 rows
X$DRA Objects
Object Name
Notes
X$DRA_FAILURE
75 rows
X$DRA_FAILURE_CHECK
53 rows
X$DRA_FAILURE_CHECK_MAP
107 rows
X$DRA_FAILURE_PARAM
190 rows
X$DRA_FAILURE_PARENT_MAP
11 rows
X$DRA_FAILURE_REPAIR
264 rows
X$DRA_FAILURE_REPAIR_MAP
116 rows
X$DRA_REPAIR
112 rows
X$DRA_REPAIR_PARAM
73 rows
X$DRM Objects
Object Name
Notes
X$DRM_HISTORY
0 rows
X$DRM_HISTORY_STATS
0 rows
X$DRM_WAIT_STATS
0 rows
X$GC Objects
Object Name
Notes
X$GCRACTIONS
0 rows
X$GCRLOG
0 rows
X$GCRMETRICS
0 rows
X$GCRSTATUS
0 rows
X$IE Objects
Object Name
Notes
X$IEE
0 rows
X$IEE_CONDITION
0 rows
X$IEE_ORPIECE
0 rows
X$IM Objects
Object Name
Notes
X$IMHMSEG
0 rows
X$IMHMSEG1
0 rows
X$IP Objects
Object Name
Notes
X$IPCOR_TOPO_DOMAIN
0 rows
X$IPCOR_TOPO_NDEV
0 rows
X$JO Objects
Object Name
Notes
X$JOXDRC
2 rows
X$JOXDRR
2 rows
X$JOXFC
37366 rows
X$JOXFD
1224 rows
X$JOXFM
37366 rows
X$JOXFR
1693 rows
X$JOXFS
2 rows
X$JOXFT
40285 rows
X$JOXMAG
442157 rows
X$JOXMEX
108095 rows
X$JOXMFD
174493 rows
X$JOXMIC
59944 rows
X$JOXMIF
39952 rows
X$JOXMMD
353537 rows
X$JOXMOB
37366 rows
X$JOXOBJ
40285 rows
X$JOXREF
498332 rows
X$JOXRSV
42594 rows
X$JOXSCD
68 rows
X$JS Objects
Object Name
Notes
X$JSKJOBQ
3 rows
X$JSKMIMMD
0 rows
X$JSKMIMRT
0 rows
X$JSKSLV
0 rows
X$KE Objects
Object Name
Notes
X$KEACMDN
64 rows
X$KEAFDGN
88 rows
X$KEAOBJT
32 rows
X$KECPDENTRY
0 rows
X$KECPRT
0 rows
X$KECPTC
0 rows
X$KECUC_CACHE
0 rows
X$KEC_COMPONENT_TIMING
6 rows
X$KEC_PROGRESS
8 rows
X$KEHECLMAP
12 rows
X$KEHETSX
9 rows
X$KEHEVTMAP
113 rows
X$KEHF
124 rows
X$KEHOSMAP
9 rows
X$KEHPRMMAP
25 rows
X$KEHR
-- lookup table possibly ADDM internal rules
col description format a64
SELECT rule_id RID, description
FROM x$kehr
ORDER BY 1;
RID DESCRIPTION
--- ----------------------------------------------------------------
0
1 Root node for the Wait-Model tree
2 Root node for the Time-Model tree
3 Root node for the top special rules like Top SQL
4 Rule node for Admin wait-class
5 Rule node for Application wait-class
6 To analyze waits on row locks
7 To analyze waits on table locks
8 To analyze waits on user-lock enqueues
9 Rule node for cluster wait-class
10 Rule node for cluster messaging
11 Rule node for cluster messaging network latency
12 Rule node for cluster messaging congestion
13 Rule node for cluster messaging contention
14 Rule node for cluster messaging lost blocks
15 Rule node for commit wait-class
16 Analyze high number of log file syncs
17 Rule node for Concurrency wait-class
18 Detect problems due to high number of buffer-busy waits
19 Detect problems due to hot blocks in buffer-busy
20 Detect problems due to hot objects in buffer-busy
21 Analyze latch-waits related to hard parsing
22 Detect too many buffer cache latch waits
23 To analyze waits on pipes
24 Rule node for Configuration wait-class
25 Detect too many free-buffer waits
26 To Investigate log file switch waits on archiving needed
27 To investigate log file switch waits on checkpoint incomplete
28 To detect contention on log buffer waits
29 To investigate on HW enqueue waits
30 To investigate on ST enqueue waits
31 To detect too many ITL waits
32 Detects too much time spent in cross instance tmp segment cleanu
33 Detect blocked enqueues in Streams AQ due to flow control waits
34 Detect blocked enqueues in Streams AQ due to low memory
35 Wait model rule node to detect CPU bottleneck
36 Rule to detect OS VM paging
37 Rule node for network wait-class
38 Rule node for queueing wait-class
39 Rule node for scheduler wait-class
40 Rule node for session slot wait event
41 Rule node for cpu quantum wait event
42 Rule node for rman pq queued wait event
43 Rule node for rman pga limit wait event
44 Rule node for rman I/O queue wait events
45 Rule node for Others wait-class
46 Rule node for latch free waits
47 Dummy rule node for all Other PQ waits
48 Rule node for IO wait-class
49 Detect DB IO problems due to application SQL and Objects waiting
50 Detect DB IO problems due to undersized buffer cache
51 Detect DB IO problems due to undersized streams pool
52 Detect DB IO problems due to excessive temp writes
53 Detect DB IO problems due to IO capacity limit
54 Detect DB IO problems due to excessive checkpoint writes
55 Detect DB IO problems due to excessive undo writes
56 Detect DB IO problems due to excessive pq checkpoint writes
57 Detect DB IO problems due to excessive truncate writes
58 Detect DB IO problems due to excessive tablespace DDL checkpoint
59 Detect writers contention on index block splits (enqueue TX)
60 Detect connection management issues
61 Detect SQL hard parsing issues
62 Detect SQL soft parsing issues
63 Detect SQL hard parsing issues due to cursor sharing criteria fa
64 Detect SQL hard parsing issues due to cursor aging
65 Detect SQL hard parsing issues due to too many non-memory failed
66 Detect SQL hard parsing issues due to out-of-memory failed parse
67 Detect SQL hard parsing issues due to cursor invalidation or lit
68 Investigate excessive rebinds
69 Investigate issues in PL/SQL execution
70 Investigate issues in PL/SQL compilation
71 Investigate issues in Java execution
72 Investigate issues in sequences
73 Admin unhandled wait events
74 Application unhandled wait events
75 Cluster unhandled wait events
76 Commit unhandled wait events
77 Concurrency unhandled wait events
78 Configuration unhandled wait events
79 Network unhandled wait events
80 Queueing unhandled wait events
81 Scheduler unhandled wait events
82 Other unhandled wait events
83 User IO unhandled wait events
84 SGA target size analysis
85 Top SQL statements by various criteria
X$KEHRP
lookup table
col description format a65
SELECT parameter_id PID, description
FROM x$kehrp
ORDER BY 1;
PID DESCRIPTION
---- -----------------------------------------------------------------
0
1 # of terminal findings to be reported to the user
2 DB Elapsed Time threshold for reporting terminal fdgs
3 Minimum database activity in seconds of database elapsed time be
4 max # of sql stmt to be examined by some criteria
5 # of top (hot) objects to look at
6 # of top (hot) blocks to look at
7 percent of sql elapsed time to total db elapsed time below which
8 average inter-instance network latency in microseconds
9 Wait-class % threshold on DB elpased time
10 % threshold to find unhandled top events within a wait-class
11 # of top events inside wait-classes to find unhandled ones
12 min% threshold for wait ev elapsed time. Used in rule eval
13 relative % for a leftover symptom to become a terminal finding
14 % threshold on DB elapsed for CPU to be a bottleneck
15 Threshold % to decide on system cpu bottleneck
16 Min % occurence for a hot blocks
17 % above which a SQL Type should occur on a hot object to suggest
18 Ideally, how many seconds of redo should the redo log buffer be
19 Ideally, how many minutes of redo should the redo log file be a
20 Avg prcessing time (in microsec) for the LMS process
21 Avg block serve time for an instance. This includes the defer t
22 Expected (average) time in microseconds to wait for one read I/O
23 Min % of total IO for an object or a file to be selected
24 Max % for files with high average io time to indicate a file acc
25 minimum percent of a set of writes to total writes for it tocons
26 % of undo io from total io to indicate no problem
27 max number of rows to consult from shared pool advice
28 ratio of shared pool impact to total system time (in percent) to
29 total database elapsed time for the period being analyzed. This
30 Min value for (cursor invalidations/hardparse count) to consider
31 Min value for (distinct fms&plan/distinct hash) to consider lite
32 Min value (in bytes) for transaction size, to prevent generation
33 Min # of fetches per execution to investigate single row fetches
34 Max # of rows per fetch to investigate single row fetches
35 Maximal ratio (in percents) of AWR flush time to wall clock for
36 Min # of rows per exec to recommend array interface for INSs
37 % used to resize shared_pool_size for out-of-memory failed parse
X$KEHR_CHILD
raw/numeric - 90 rows
X$KEHSQT
65 rows
X$KEHSYSMAP
11 rows
X$KEHTIMMAP
19 rows
X$KEIUT
0 rows
X$KEIUT_INFO
0 rows
X$KELRSGA
1 row
X$KELRTD
130 rows
X$KELRXMR
3 rows
X$KELTGSD
8 rows
X$KELTOSD
29 rows
X$KELTSD
186 rows
X$KEOMM_DBOP_LIST
1 row
X$KEOMNMON_SESSTAT
0 rows
X$KERPIREPREQ
0 rows
X$KERPISTATS
1 row
X$KESPLAN
0 rows
X$KESSPAMET
9 rows
X$KESWXMON
68 rows
X$KESWXMON_PLAN
542 rows
X$KESWXMON_STATNAME
128 rows
X$KETCL
7 rows
X$KETOP
15 rows
X$KETTG
15 rows
X$KEUMLINKTB
0 rows
X$KEUMREGTB
0 rows
X$KEUMSVCTB
0 rows
X$KEUMTB
4 rows
X$KEUMTOPTB
0 rows
X$KEXSVFU
0 rows
X$KEXSVUS
0 rows
KEW Objects
Object Name
Notes
X$KEWAM
1 row
X$KEWASH
15729 rows
X$KEWCATPDBINSNAP
0 rows
X$KEWECLS
0 rows
X$KEWEFXT
0 rows
X$KEWEPCS
0 rows
X$KEWESMAS
0 rows
X$KEWESMS
0 rows
X$KEWFLINFO
6 rows
X$KEWMAFMV
0 rows
X$KEWMCHKMV
0 rows
X$KEWMDRMV
59013 rows
X$KEWMDSM
359 rows
X$KEWMEVMV
4629 rows
X$KEWMFLMV
91 rows
X$KEWMGSM
19 rows
X$KEWMIOFMV
915 rows
X$KEWMRMGMV
427 rows
X$KEWMRMPDBMV
122 rows
X$KEWMRSM
279 rows
X$KEWMRWMV
52984 rows
X$KEWMSEMV
106 rows
X$KEWMSMDV
212 rows
X$KEWMSRGMV
0 rows
X$KEWMSVCMV
430 rows
X$KEWMWCRMV
0 rows
X$KEWMWPCMV
0 rows
X$KEWPDBINSNAP
0 rows
X$KEWRATTRNEW
0 rows
X$KEWRATTRSTALE
0 rows
X$KEWRCACHE
0 rows
X$KEWRCONIDLOOKUP
4 rows
X$KEWRIMSEGSTAT
0 rows
X$KEWRIPSL
0 rows
X$KEWRSQLCRIT
0 rows
X$KEWRSQLIDTAB
0 rows
X$KEWRSQLSUM
0 rows
X$KEWRSTGTB
25 rows
X$KEWRTB
161 rows
X$KEWRTBGM
21 rows
X$KEWRTB_ALL
161 rows
X$KEWRTOPTENV
0 rows
X$KEWRTSEGSTAT
0 rows
X$KEWRTSQLPLAN
0 rows
X$KEWRTSQLTEXT
0 rows
X$KEWSSESV
49392 rows
X$KEWSSMAP
330 rows
X$KEWSSVCV
145 rows
X$KEWSSYSV
45 rows
X$KEWXOCF
32 rows
X$KEWX_INDEXES
0 rows
X$KEWX_SEGMENTS
0 rows
X$KF Objects
Object Name
Notes
X$KFALS
0 rows
X$KFBF
0 rows
X$KFBH
0 rows
X$KFBTYP
39 rows
X$KFCBH
0 rows
X$KFCCE
0 rows
X$KFCLLE
0 rows
X$KFCSGA
0 rows
X$KFCSTAT
0 rows
X$KFCTE
8 rows
X$KFCTET
0 rows
X$KFCTET_DELTA
0 rows
X$KFDAP
0 rows
X$KFDAT
0 rows
X$KFDDD
0 rows
X$KFDFS
0 rows
X$KFDPARTNER
0 rows
X$KFDSD
0 rows
X$KFDSK
0 rows
X$KFDSK_SPARSE
0 rows
X$KFDSK_SPARSE_STAT
0 rows
X$KFDSK_STAT
0 rows
X$KFDSR
0 rows
X$KFDXEXT
0 rows
X$KFENV
0 rows
X$KFFG
0 rows
X$KFFGF
0 rows
X$KFFGPT
0 rows
X$KFFIL
0 rows
X$KFFIL_SPARSE
0 rows
X$KFFOF
0 rows
X$KFFSCRUB
0 rows
X$KFIPCOMPAT
0 rows
X$KFFXP
0 rows
X$KFGBRB
0 rows
X$KFGBRC
0 rows
X$KFGBRS
0 rows
X$KFGBRW
0 rows
X$KFGMG
0 rows
X$KFGRP
0 rows
X$KFGRP_SPARSE
0 rows
X$KFGRP_STAT
0 rows
X$KFGXP
0 rows
X$KFIAS_CLNT
0 rows
X$KFIAS_FILE
0 rows
X$KFIAS_PROC
0 rows
X$KFIPCOMPAT
1 row
X$KFKID
0 rows
X$KFKLIB
0 rows
X$KFKLSOD
0 rows
X$KFMDGRP
0 rows
X$KFNCL
0 rows
X$KFNCWCL
0 rows
X$KFNDIOSPRS
0 rows
X$KFNRCL
0 rows
X$KFNSDSKIOST
0 rows
X$KFQG
0 rows
X$KFRC
0 rows
X$KFTMTA
0 rows
X$KFVACFS
ACFS 0 rows
X$KFVACFSA
0 rows
X$KFVACFSADMIN
ACFS Administration 0 rows
X$KFVACFSCMDRULE
ACFS 0 rows
X$KFVACFSENCR
ACFS 0 rows
X$KFVACFSREALM
ACFS 0 rows
X$KFVACFSREALMFILTER
ACFS 0 rows
X$KFVACFSREALMGROUP
ACFS 0 rows
X$KFVACFSREALMS
ACFS 0 rows
X$KFVACFSREALMUSER
ACFS 0 rows
X$KFVACFSREPL
ACFS 0 rows
X$KFVACFSREPLTAG
ACFS 0 rows
X$KFVACFSRULE
ACFS 0 rows
X$KFVACFSRULESET
ACFS 0 rows
X$KFVACFSRULESETRULE
ACFS 0 rows
X$KFVACFSS
ACFS 0 rows
X$KFVACFSTAG
ACFS 0 rows
X$KFVACFSV
ACFS 0 rows
X$KFVOL
0 rows
X$KFVOLSTAT
0 rows
X$KFZGDR
0 rows
X$KFZPBLK
0 rows
X$KFZUAGR
0 rows
X$KFZUDR
0 rows
X$KM Objects
Object Name
Notes
X$KMCQS
6 rows
X$KMCVC
0 rows
X$KMGSBSADV
14 rows
X$KMGSBSMEMADV
0 rows
X$KMGSCT
22 rows
X$KMGSOP
22 rows
X$KMGSTFR
800 rows
X$KMMDI
2 rows
X$KMMDP
1 row
X$KMMHST
1 row
X$KMMNV
3 rows
X$KMMRD
96 rows
X$KMMSAS
1 row
X$KMMSG
1 row
X$KMMSI
8 rows
X$KMPCMON
4 rows
X$KMPCP
4 rows
X$KMPCSO
1 row
X$KMPDH
1 row
X$KMPSRV
8 rows
X$KN Objects
Object Name
Notes
X$KNGFL
0 rows
X$KNGFLE
0 rows
X$KNLAROW
0 rows
X$KNLASG
1 row
X$KNLPMSGSTAT
14 rows
X$KNLP_ACTV_MSGS
0 rows
X$KNLP_PEND_MSGS
0 rows
X$KNSTACR
0 rows
X$KNSTANR
0 rows
X$KNSTASL
0 rows
X$KNSTCAP
0 rows
X$KNSTCAPCACHE
0 rows
X$KNSTCAPS
0 rows
X$KNSTMT
0 rows
X$KNSTMVR
Kernel replication, statistics materialized view refresh. Base table of v$mvrefresh. Stores MV refresh history info, such as session SID and serial#.
Un-exposed columns reftype_knstmvr, groupstate_knstmvr and total_* are useful; see the query in Note: 258021.1.
0 rows
X$KNSTOGGC
10 rows
X$KNSTORD
0 rows
X$KNSTPSTS
0 rows
X$KNSTRPP
0 rows
X$KNSTRQU
1 row
X$KNSTSESS
3 rows
X$KNSTTXN
0 rows
X$KNSTXSTS
0 rows
X$KP Objects
Object Name
Notes
X$KPDBVPROXY
0 rows
X$KPONDCONSTAT
0 rows
X$KPONDESTAT
0 rows
X$KPONESTAT
0 rows
X$KPONJSTAT
1 row
X$KPOQSTA
0 rows
X$KPOXFT
17 rows
X$KPPLCC_INFO
0 rows
X$KPPLCC_STATS
0 rows
X$KPPLCONN_INFO
0 rows
X$KPPLCP_STATS
0 rows
X$KR Objects
Object Name
Notes
X$KRASGA
1 row
X$KRBABRSTAT
0 rows
X$KRBAFF
13 rows
X$KRBMCA
8 rows
X$KRBMROT
72 rows
X$KRBMRST
0 rows
X$KRBMSFT
0 rows
X$KRBPDATA
0 rows
X$KRBPDIR
0 rows
X$KRBPHEAD
0 rows
X$KRBPPBCTX
1 row
X$KRBPPBTBL
34 rows
X$KRBPSPARSE
0 rows
X$KRBZA
3 rows
X$KRCBIT
Bitmap Block, 0 rows
X$KRCCDE
0 rows
X$KRCCDR
0 rows
X$KRCCDS
0 rows
X$KRCEXT
Allocate Bitmap Extent Map, 0 rows
X$KRCFBH
Bitmap Extent Header, 0 rows
X$KRCFDE
Datafile Descriptor, 0 rows
X$KRCFH
Block Change Tracking File Header, 0 rows
X$KRCGFE
0 rows
X$KRCSTAT
1 row
X$KRDEVTHIST
0 rows
X$KRDMMIRA
0 rows
X$KRDRSBROV
0 rows
X$KRFBLOG
0 rows
X$KRFGSTAT
0 rows
X$KRFSTHRD
0 rows
X$KRSOPROC
9 rows
X$KRSSMS
7 rows
X$KRSSRTT
10 rows
X$KRSTALG
24 rows
X$KRSTAPPSTATS
1055 rows
X$KRSTDEST
31 rows
X$KRSTDGC
0 rows
X$KRSTPVRS
0 rows
X$KRVSLV
0 rows
X$KRVSLVPG
0 rows
X$KRVSLVS
0 rows
X$KRVSLVST
0 rows
X$KRVSLVTHRD
0 rows
X$KRVXDKA
33 rows
X$KRVXDTA
50 rows
X$KRVXISPCHK
0 rows
X$KRVXISPLCR
0 rows
X$KRVXOP
0 rows
X$KRVXSV
0 rows
X$KRVXTHRD
0 rows
X$KRVXTX
0 rows
X$KRVXWARNV
0 rows
X$KU Objects
Object Name
Notes
X$KUPVA
0 rows
X$KUPVJ
0 rows
X$KW Objects
Object Name
Notes
X$KWDDEF
2457 rows
X$KWQBPMT
1 row
X$KWQDLSTAT
90 rows
X$KWQITCX
1 row
X$KWQMNC
1 row
X$KWQMNJIT
31 rows
X$KWQMNSCTX
2 rows
X$KWQMNTASK
2 rows
X$KWQMNTASKSTAT
27 rows
X$KWQPD
0 rows
X$KWQPS
0 rows
X$KWQSI
64 rows
X$KWRSNV
13 rows
X$KWSBGAQPCSTAT
1 row
X$KWSBGQMNSTAT
1 row
X$KWSBJCSQJIT
0 rows
X$KWSBSMSLVSTAT
2 rows
X$KWSCPJOBSTAT
0 rows
X$KWSSUBUSTATS
0 rows
X$KY Objects
Object Name
Notes
X$KYWMCLTAB
0 rows
X$KYWMNF
0 rows
X$KYWMPCMN
0 rows
X$KYWMPCS
0 rows
X$KYWMPCTAB
0 rows
X$KYWMWRCTAB
0 rows
X$KYWMWRCTAB
0 rows
X$OFS Objects
Object Name
Notes
X$OFSMOUNT
0 rows
X$OFS_RW_LATENCY_STATS
0 rows
X$OFS_RW_SIZE_STATS
0 rows
X$OFS_STATS
0 rows
X$QE Objects
Object Name
Notes
X$QERFXTST
10 rows
X$QESBLSTAT
20 rows
X$QESMMAHIST
462 rows
X$QESMMAPADV
14 rows
X$QESMMIWH
33 rows
X$QESMMIWT
0 rows
X$QESMMSGA
40 rows
X$QESRCDEP
14 rows
X$QESRCDR
27 rows
X$QESRCMEM
64 rows
X$QESRCMSG
0 rows
X$QESRCOBJ
47 rows
X$QESRCRD
0 rows
X$QESRCRR
14 rows
X$QESRCSTA
48 rows
X$QESRSTAT
0 rows
X$QESRSTATALL
22087 rows
X$QESXL
0 rows
X$QK Objects
Object Name
Notes
X$QKSBGSES
116720 rows
X$QKSBGSYS
1459 rows
X$QKSCESES
48560 rows
X$QKSCESYS
607 rows
X$QKSCR
0 rows
X$QKSCR_RSN
0 rows
X$QKSFGI_CURSOR
1432 rows
X$QKSFM
1584 rows
X$QKSFMDEP
1584 rows
X$QKSFMPRT
1589 rows
X$QKSHT
373 rows
X$QKSMMWDS
2556 rows
X$QKSXA_REASON
522 rows
X$RF Objects
Object Name
Notes
X$RFAFO
0 rows
X$RFAHIST
0 rows
X$RFMP
1 row
X$RFMTE
0 rows
X$RFOB
3 rows
X$SK Objects
Object Name
Notes
X$SKGXPIA
0 rows
X$SKGXP_CONNECTION
not queryable
X$SKGXP_MISC
not queryable
X$SKGXP_PORT
not queryable
X$SQL Objects
Object Name
Notes
X$SQL_SHARD
0 rows
X$SQL_TESTCASES
0 rows
X$ZA Objects
Object Name
Notes
X$ZASAXTAB
0 rows
X$ZASAXTD1
0 rows
X$ZASAXTD2
0 rows
X$ZASAXTD3
0 rows
Miscellaneous Objects
Object Name
Notes
X$BMAPNONDURSUB
90 rows
X$CDBVW$
SQL> desc X$CDBVW$
ERROR:
ORA-65318: query to cross-container fixed tables not allowed
X$COMVW$
SQL> desc X$COMVW$
ERROR:
ORA-65318: query to cross-container fixed tables not allowed
X$DURABLE_SHARDED_SUBS
0 rows
X$GIMSA
24 rows
X$GLOBALCONTEXT
0 rows
X$GSMREGIONS
0 rows
X$GWMRAFF
0 rows
X$HOFP
0 rows
X$KAUVRSTAT
1 row
X$KBRPSTAT
133 rows
X$KLCIE
0 rows
X$KLPT
0 rows
X$KOCST
1 row
X$LOCKDOWN
0 rows
X$MODACT_LENGTH
1 row
X$MSGBM
0 rows
X$NONDURSUB
0 rows
X$NONDURSUB_LWM
0 rows
X$NSV
0 rows
X$OBJECT_POLICY_STATISTICS
0 rows
X$OBJ_BIN_EXCEPTIONS
64 rows
X$OBLNK$
Not queryable
X$OCT
256 rows
X$OPARG
721 rows
X$OPDESC
1097 rows
X$OPERATORS
1097 rows
SELECT name, operands, in_type, out_type
FROM x$operators
ORDER BY 1;
X$OPTIM_CALIB_STATS
Workload calibration and
DBMS_STATS.SET_PROCESSING_RATE
col statname_kkecstats format a25
SELECT UNIQUE statname_kkecstats, statvalue_kkecstats
FROM x$optim_calib_stats
WHERE statvalue_kkecstats > 0
ORDER BY 1,2;
Mark Bobak's query (originally in Metalink forum thread 524821.994, where he further attributed authorship) uses this table to find sessions coming from or going to a remote database;
in short, x$k2gte.k2gtdses matches v$session.saddr, .k2gtdxcb matches v $transaction.addr. It's more robust than this query, and better than checking for DX locks for outgoing sessions (since a DX lock only shows up in v$lock for the current distributed transaction session).
SELECT /*+ ORDERED */ SUBSTR(s.ksusemnm,1,10)||'-'|| SUBSTR(s.ksusepid,1,10) ORIGIN, SUBSTR(g.k2gtitid_ora,1,35) GTXID,
SUBSTR(s.indx,1,4) ||'.'|| SUBSTR(s.ksuseser,1,5) LSESSION,
s2.username,
SUBSTR(DECODE(BITAND(s.ksuseidl,11),
1,'ACTIVE', 0,
DECODE(BITAND(s.ksuseflg,4096) , 0,'INACTIVE','CACHED'),
2,'SNIPED',
3,'SNIPED',
'KILLED' ),1,1) S,
SUBSTR(w.event,1,10) "WAITING"
FROM x$k2gte g, x$ktcxb t, x$ksuse s, gv$session_wait w, gv$session s2
WHERE g.k2gtdxcb =t.ktcxbxba
AND g.K2GTDSES=t.ktcxbses
AND s.addr=g.k2gtdses
AND w.sid=s.indx
AND s2.sid = w.sid;
Largest number of blocks per write
SELECT kviival write_batch_size
FROM x$kvii
WHERE kviitag = 'kcbswc';