Oracle X$Tables
前言
最早从Yong Huang那里看到关于比较详细的X$表的介绍,后来陆续从其他Oracle专家那里得到了不少信息。在Steve Adams 的书中对X$表多有提及,而且他的站点也是个资源比较丰富的地方。不过在中文Oracle技术社区很少能看到一份比较完备的介绍X$的文档。这算是整理这篇文档的一个起因吧。
Oracle 数据库引擎是个复杂无比的系统,随着每个新版本的推出,Oracle都会有不少新功能新特性加入其中,越发变得复杂。从X$表的数量上可见一斑:
Oracle 816 有265 个 X$ 表
Oracle 901 有352 个 X$ 表
Oracle 920 有394 个 X$ 表
Oracle 10g 有543 个 X$ 表
可以用如下脚本进行基本查看X$ 表的基本信息:
SELECT NAME x$table_name
FROM v$fixed_table
WHERE NAME LIKE 'X$%'
ORDER BY NAME;
V$fixed_table中可以查到所有的X$TABLE的名字。其值等于:X$KQFTA+X$KQFDT这两个表中X$Table的数量。也可以通过 Unix 的 strings 命令抽取 oracle 命令里的 X$ 表的信息。
$ strings $ORACLE_HOME/bin/oracle >xtable.sql
然后查看 xtables.sql 文件的内容。相关站点:
http://www.dbanotes.net/X$TABLES/xtable.sql
http://www.orafaq.com/faqdbain.htm
http://www.stormloader.com/yonghuang/computer/x$table.html
http://www.adp-gmbh.ch/ora/misc/x.html
http://www.geocities.com/kgkrish/ http://www.oracle-training.cc/oracle_tips_x$.htm
注释
一些特定的缩写的含义
X$KS - Kernel Services
X$KSL - Kernel Service Latch
X$KC - Kernel Cache
X$KQ - Kernel Query
X$KQ - Kernel Generic
X$LE - Lock Element
X$KZ - Kernel Security
Table_Name | Meanings | Comments | V$ Views / Scripts |
X$ABSTRACT_LOB | LOB's ABSTRACT | ||
X$ACTIVECKPT | ACTIVE Check Point | ||
X$ASH | Active Session History | ||
X$BH | Buffer Header | Buffer Cache 中所有块的当前状态 从State列可得到缓冲区状态值表: 0,'free' 空闲 1,'xcur' 独占 2,'scur' 并发共享 3,'cr' 一致性读取 4,'read' 读取 5,'mrec' MediaRecovery 6,'irec' InstanceRecovery 7,'write' 写入 8,'pi', Pinned 9,'memory' 内存 10,'mwrite' 内存写 11,'donated' ? |
This is a very useful internal view on the buffer cache headers for database blocks in the buffer cache. GV$BH / V$BH 脚本: 查询当前X$BH状态的脚本 |
X$BUFFER | |||
X$BUFFERED_PUBLISHERS | GV$BUFFERED_PUBLISHERS & V$BUFFERED_PUBLISHERS |
||
X$BUFFERED_QUEUES | |||
X$BUFFERED_SUBSCRIBERS | |||
X$CKPTBUF | Check Point Buffer | ||
X$CONTEXT | |||
X$DUAL | DUAL table | SYS.STANDARD需要用到X$DUAL, | |
X$ESTIMATED_MTTR | |||
X$GLOBALCONTEXT | |||
X$HOFP | |||
X$HS_SESSION | |||
X$INSTANCE_CACHE_TRANSFER | |||
X$JOXFC | |||
X$JOXFD | |||
X$JOXFM | |||
X$JOXFR | |||
X$JOXFS | |||
X$JOXFT | |||
X$JSKJOBQ | |||
X$JSKSLV | |||
X$K2GTE | |||
X$K2GTE2 | |||
X$KAUVRSTAT | |||
X$KCBBES | |||
X$KCBBF | |||
X$KCBBHS | |||
X$KCBFWAIT | |||
X$KCBKPFS | |||
X$KCBKWRL | |||
X$KCBLDRHIST | |||
X$KCBLSC | |||
X$KCBMMAV | |||
X$KCBOBH | |||
X$KCBOQH | |||
X$KCBSC | |||
X$KCBSDS | |||
X$KCBSH | |||
X$KCBSW | |||
X$KCBVBL | |||
X$KCBWAIT | |||
X$KCBWBPD | |||
X$KCBWDS | |||
X$KCBWH | |||
X$KCCAGF | |||
X$KCCAL | |||
X$KCCBF | |||
X$KCCBI | |||
X$KCCBL | |||
X$KCCBP | |||
X$KCCBS | |||
X$KCCCC | |||
X$KCCCF | Kernel Cache Controlfile management ControlFile name | ||
X$KCCCP | |||
X$KCCDC | |||
X$KCCDFHIST | |||
X$KCCDI | MAXLOGMEMBERS is available via x$kccdi.dimlm | ||
X$KCCDI2 | |||
X$KCCDL | |||
X$KCCFC | |||
X$KCCFE | |||
X$KCCFLE | |||
X$KCCFN | |||
X$KCCIC | |||
X$KCCIRT | |||
X$KCCLE | |||
X$KCCLH | |||
X$KCCOR | |||
X$KCCPA | |||
X$KCCPD | |||
X$KCCRDI | |||
X$KCCRM | |||
X$KCCRS | |||
X$KCCRSR | |||
X$KCCRT | |||
X$KCCSL | |||
X$KCCTF | |||
X$KCCTIR | |||
X$KCCTS | |||
X$KCFIO | |||
X$KCFIOHIST | |||
X$KCFTIO | |||
X$KCFTIOHIST | |||
X$KCKCE | |||
X$KCKFM | |||
X$KCKTY | |||
X$KCLCRST | |||
X$KCLCURST | |||
X$KCLFH | |||
X$KCLFI | |||
X$KCLFX | |||
X$KCLLS | |||
X$KCLQN | |||
X$KCLRCVST | |||
X$KCPXPL | |||
X$KCRFDEBUG | |||
X$KCRFSTRAND | |||
X$KCRFWS | |||
X$KCRFX | |||
X$KCRMF | |||
X$KCRMT | |||
X$KCRMX | |||
X$KCRRALG | |||
X$KCRRARCH | |||
X$KCRRDEST | |||
X$KCRRDGC | |||
X$KCRRDSTAT | |||
X$KCRRLNS | |||
X$KCRRMS | |||
X$KCTICW | |||
X$KCTLAX | |||
X$KCVFH | |||
X$KCVFHALL | |||
X$KCVFHMRR | |||
X$KCVFHONL | |||
X$KCVFHTMP | |||
X$KDLT | |||
X$KDNSSF | |||
X$KDXHS | |||
X$KDXST | |||
X$KEACMDN | |||
X$KEAOBJT | |||
X$KEHECLMAP | |||
X$KEHEVTMAP | |||
X$KEHF | |||
X$KEHOSMAP | |||
X$KEHPRMMAP | |||
X$KEHR | |||
X$KEHRP | |||
X$KEHR_CHILD | |||
X$KEHSQT | |||
X$KEHSYSMAP | |||
X$KEHTIMMAP | |||
X$KELRTD | |||
X$KELTGSD | |||
X$KELTOSD | |||
X$KELTSD | |||
X$KEWAM | |||
X$KEWASH | |||
X$KEWECLS | |||
X$KEWEFXT | |||
X$KEWESMAS | |||
X$KEWESMS | |||
X$KEWMAFMV | |||
X$KEWMDRMV | |||
X$KEWMDSM | |||
X$KEWMEVMV | |||
X$KEWMFLMV | |||
X$KEWMGSM | |||
X$KEWMRSM | |||
X$KEWMRWMV | |||
X$KEWMSEMV | |||
X$KEWMSMDV | |||
X$KEWMSVCMV | |||
X$KEWRSQLIDTAB | |||
X$KEWRTB | |||
X$KEWRTSEGSTAT | |||
X$KEWRTSQLSTAT | |||
X$KEWSSESV | |||
X$KEWSSMAP | |||
X$KEWSSVCV | |||
X$KEWSSYSV | |||
X$KEWXOCF | |||
X$KEWX_LOBS | |||
X$KEWX_SEGMENTS | |||
X$KFALS | |||
X$KFDAT | |||
X$KFDPARTNER | |||
X$KFDSK | |||
X$KFFIL | |||
X$KFFXP | |||
X$KFGMG | |||
X$KFGRP | |||
X$KFKID | |||
X$KFNCL | |||
X$KFTMTA | |||
X$KGHLU | |||
X$KGICC | |||
X$KGICS | |||
X$KGLAU | |||
X$KGLBODY | |||
X$KGLCLUSTER | |||
X$KGLCURSOR | |||
X$KGLDP | |||
X$KGLINDEX | |||
X$KGLJMEM | |||
X$KGLJSIM | |||
X$KGLLC | |||
X$KGLLK | |||
X$KGLMEM | |||
X$KGLNA | |||
X$KGLNA1 | |||
X$KGLOB | |||
X$KGLPN | |||
X$KGLRD | |||
X$KGLSIM | |||
X$KGLSN | |||
X$KGLST | |||
X$KGLTABLE | |||
X$KGLTR | |||
X$KGLTRIGGER | |||
X$KGLXS | |||
X$KGSKASP | |||
X$KGSKCFT | |||
X$KGSKCP | |||
X$KGSKDOPP | |||
X$KGSKPFT | |||
X$KGSKPP | |||
X$KGSKQUEP | |||
X$KGSKTE | |||
X$KGSKTO | |||
X$KJBL | |||
X$KJBLFX | |||
X$KJBR | |||
X$KJBRFX | |||
X$KJCTFR | |||
X$KJCTFRI | |||
X$KJCTFS | |||
X$KJDRHV | |||
X$KJDRMAFNSTATS | |||
X$KJDRMHVSTATS | |||
X$KJDRMREQ | |||
X$KJDRPCMHV | |||
X$KJDRPCMPF | |||
X$KJICVT | |||
X$KJILFT | |||
X$KJILKFT | |||
X$KJIRFT | |||
X$KJISFT | |||
X$KJITRFT | |||
X$KJMDDP | |||
X$KJMSDP | |||
X$KJXM | |||
X$KKSAI | |||
X$KKSBV | |||
X$KKSCS | Kernel Kompile Shared Cursor Sharing | ||
X$KKSSRD | |||
X$KLCIE | |||
X$KLPT | |||
X$KMCQS | |||
X$KMCVC | |||
X$KMGSCT | |||
X$KMGSOP | |||
X$KMMDI | |||
X$KMMDP | |||
X$KMMRD | |||
X$KMMSG | |||
X$KMMSI | |||
X$KNGFL | |||
X$KNSTACR | |||
X$KNSTASL | |||
X$KNSTCAP | |||
X$KNSTMVR | |||
X$KNSTRPP | |||
X$KNSTRQU | |||
X$KOCST | |||
X$KQDPG | |||
X$KQFCO | |||
X$KQFDT | |||
X$KQFP | |||
X$KQFSZ | |||
X$KQFTA | |||
X$KQFVI | |||
X$KQFVT | |||
X$KQLFBC | |||
X$KQLFSQCE | |||
X$KQLFXPL | |||
X$KQLSET | |||
X$KQRFP | |||
X$KQRFS | |||
X$KQRPD | |||
X$KQRSD | |||
X$KQRST | |||
X$KRBAFF | |||
X$KRBMROT | |||
X$KRBMRST | |||
X$KRBMSFT | |||
X$KRCBIT | |||
X$KRCCDE | |||
X$KRCCDR | |||
X$KRCCDS | |||
X$KRCEXT | |||
X$KRCFBH | |||
X$KRCFDE | |||
X$KRCFH | |||
X$KRCGFE | |||
X$KRCSTAT | |||
X$KRFBLOG | |||
X$KRFGSTAT | |||
X$KRVSLV | |||
X$KRVSLVS | |||
X$KRVXDKA | |||
X$KRVXSV | |||
X$KSBDD | |||
X$KSBDP | |||
X$KSBTABACT | |||
X$KSFMCOMPL | |||
X$KSFMELEM | |||
X$KSFMEXTELEM | |||
X$KSFMFILE | |||
X$KSFMFILEEXT | |||
X$KSFMIOST | |||
X$KSFMLIB | |||
X$KSFMSUBELEM | |||
X$KSFQDVNT | |||
X$KSFQP | |||
X$KSFVQST | |||
X$KSFVSL | |||
X$KSFVSTA | |||
X$KSIMAT | |||
X$KSIMAV | |||
X$KSIMSI | |||
X$KSIRESTYP | |||
X$KSLCS | |||
X$KSLECLASS | |||
X$KSLED | |||
X$KSLEI | |||
X$KSLEMAP | |||
X$KSLES | |||
X$KSLLCLASS | |||
X$KSLLD | |||
X$KSLLT | |||
X$KSLLW | |||
X$KSLPO | |||
X$KSLSCS | |||
X$KSLSESHIST | |||
X$KSLWSC | |||
X$KSMDD | |||
X$KSMDUT1 | |||
X$KSMFS | |||
X$KSMFSV | |||
X$KSMGE | |||
X$KSMHP | |||
X$KSMJCH | |||
X$KSMJS | |||
X$KSMLRU | |||
X$KSMLS | |||
X$KSMMEM | |||
X$KSMNIM | |||
X$KSMNS | |||
X$KSMPP | |||
X$KSMSD | |||
X$KSMSGMEM | |||
X$KSMSP | Kernel Service Memory in Shared Pool | ||
X$KSMSPR | |||
X$KSMSP_DSNEW | |||
X$KSMSP_NWEX | |||
X$KSMSS | |||
X$KSMSTRS | |||
X$KSMUP | |||
X$KSOLSFTS | |||
X$KSOLSSTAT | |||
X$KSPPCV | |||
X$KSPPCV2 | |||
X$KSPPI | Kernel Service, Parameter, Parameter Info | ||
X$KSPPO | |||
X$KSPPSV | |||
X$KSPPSV2 | |||
X$KSPSPFH | |||
X$KSPSPFILE | |||
X$KSPXFR | |||
X$KSQDN | |||
X$KSQEQ | |||
X$KSQEQTYP | |||
X$KSQRS | |||
X$KSQST | |||
X$KSRCCTX | |||
X$KSRCDES | |||
X$KSRCHDL | |||
X$KSRMPCTX | |||
X$KSRMSGDES | |||
X$KSRMSGO | |||
X$KSTEX | |||
X$KSUCF | |||
X$KSUCPUSTAT | |||
X$KSULL | |||
X$KSULOP | |||
X$KSULV | |||
X$KSUMYSTA | |||
X$KSUPGP | |||
X$KSUPGS | |||
X$KSUPL | |||
X$KSUPR | Kernel Services User Process | V$PROCESS is based on GV$PROCESS; GV$PROCESS is based on X$KSUPR |
|
X$KSUPRLAT | |||
X$KSURLMT | |||
X$KSURU | |||
X$KSUSD | |||
X$KSUSE | |||
X$KSUSECON | |||
X$KSUSECST | |||
X$KSUSEH | |||
X$KSUSESTA | |||
X$KSUSEX | |||
X$KSUSGIF | |||
X$KSUSGSTA | |||
X$KSUSIO | |||
X$KSUTM | |||
X$KSUVMSTAT | |||
X$KSUXSINST | |||
X$KSWSASTAB | |||
X$KSWSCLSTAB | |||
X$KSWSEVTAB | |||
X$KSXAFA | |||
X$KSXPIA | |||
X$KSXRCH | |||
X$KSXRCONQ | |||
X$KSXRMSG | |||
X$KSXRREPQ | |||
X$KSXRSG | |||
X$KTADM | |||
X$KTCSP | |||
X$KTCXB | |||
X$KTFBFE | |||
X$KTFBHC | |||
X$KTFBUE | |||
X$KTFTHC | |||
X$KTFTME | |||
X$KTIFB | |||
X$KTIFF | |||
X$KTIFP | |||
X$KTIFV | |||
X$KTPRHIST | |||
X$KTPRXRS | |||
X$KTPRXRT | |||
X$KTRSO | |||
X$KTSKSTAT | |||
X$KTSPSTAT | |||
X$KTSSO | |||
X$KTSTFC | |||
X$KTSTSSD | |||
X$KTTEFINFO | |||
X$KTTVS | |||
X$KTUGD | |||
X$KTUQQRY | |||
X$KTURD | |||
X$KTURHIST | |||
X$KTUSMST | |||
X$KTUSMST2 | |||
X$KTUXE | Kernel Transaction Undo Transaxtion Entry | This view holds entry for each active undo slot. | To see any DEAD transactions for deferred transaction recovery after startup:
|
X$KUPVA | |||
X$KUPVJ | |||
X$KVII | |||
X$KVIS |
|
||
X$KVIT | |||
X$KWDDEF | |||
X$KWQBPMT | |||
X$KWQPD | |||
X$KWQPS | |||
X$KWQSI | |||
X$KWRSNV | |||
X$KXFPCDS | |||
X$KXFPCMS | |||
X$KXFPCST | |||
X$KXFPDP | |||
X$KXFPNS | |||
X$KXFPPFT | |||
X$KXFPSDS | |||
X$KXFPSMS | |||
X$KXFPSST | |||
X$KXFPYS | |||
X$KXFQSROW | |||
X$KXSBD | |||
X$KXSCC | |||
X$KZDOS | |||
X$KZEMAEA | |||
X$KZEMAIE | |||
X$KZRTPD | |||
X$KZSPR | |||
X$KZSRO | |||
X$KZSRT | |||
X$LCR | |||
X$LE | |||
X$LOGMNR_ATTRIBUTE$ | |||
X$LOGMNR_CALLBACK | |||
X$LOGMNR_COL$ | |||
X$LOGMNR_COLTYPE$ | |||
X$LOGMNR_CONTENTS | |||
X$LOGMNR_DICT$ | |||
X$LOGMNR_DICTIONARY | |||
X$LOGMNR_DICTIONARY_LOAD | |||
X$LOGMNR_ENCRYPTED_OBJ$ | |||
X$LOGMNR_ENCRYPTION_PROFILE$ | |||
X$LOGMNR_IND$ | |||
X$LOGMNR_INDPART$ | |||
X$LOGMNR_LATCH | |||
X$LOGMNR_LOGFILE | |||
X$LOGMNR_LOGS | |||
X$LOGMNR_OBJ$ | |||
X$LOGMNR_PARAMETERS | |||
X$LOGMNR_PROCESS | |||
X$LOGMNR_REGION | |||
X$LOGMNR_ROOT$ | |||
X$LOGMNR_SESSION | |||
X$LOGMNR_TAB$ | |||
X$LOGMNR_TABCOMPART$ | |||
X$LOGMNR_TABPART$ | |||
X$LOGMNR_TABSUBPART$ | |||
X$LOGMNR_TRANSACTION | |||
X$LOGMNR_TS$ | |||
X$LOGMNR_TYPE$ | |||
X$LOGMNR_USER$ | |||
X$MESSAGES | |||
X$NLS_PARAMETERS | |||
X$NSV | |||
X$OPTION | |||
X$PRMSLTYX | |||
X$QESMMAHIST | |||
X$QESMMAPADV | |||
X$QESMMIWH | |||
X$QESMMIWT | |||
X$QESMMSGA | |||
X$QESRSTAT | |||
X$QESRSTATALL | |||
X$QKSCESES | |||
X$QKSCESYS | |||
X$QKSMMWDS | |||
X$QUIESCE | |||
X$RFMP | |||
X$RFMTE | |||
X$SKGXPIA | |||
X$TARGETRBA | |||
X$TEMPORARY_LOB_REFCNT | |||
X$TIMEZONE_FILE | |||
X$TIMEZONE_NAMES | |||
X$TRACE | |||
X$TRACE_EVENTS | |||
X$UGANCO | |||
X$VERSION | |||
X$VINST | |||
X$XSAGGR | |||
X$XSAGOP | |||
X$XSAWSO | |||
X$XSLONGOPS | |||
X$XSOBJECT | |||
X$XSOQMEHI | |||
X$XSOQOJHI | |||
X$XSOQOPHI | |||
X$XSOQOPLU | |||
X$XSOQSEHI | |||
X$XSSINFO |
源自:http://www.cnblogs.com/sopost/archive/2010/07/14/2190104.html
Oracle X$Tables的更多相关文章
- oracle中tables和views的区别
tables存储的行和列的数据,可以做任何操作 views存储的是算法,是虚拟的数据
- <<卸甲笔记>>-Oracle线下迁移到PPAS
迁移原则 1.尽量保持Oracle与PPAS一致,这会使得日后应用程序迁移更为简单 2.迁移前检查PPAS中是否有同名帐号及同名的Schema a)如果有,建议考虑删除或改名 b)如果没有,先手工建立 ...
- 十二、oracle 数据库(表)的逻辑备份与恢复
一.介绍逻辑备份是指使用工具export将数据对象的结构和数据导出到文件的过程.逻辑恢复是指当数据库对象被误操作而损坏后使用工具import利用备份的文件把数据对象导入到数据库的过程.物理备份即可在数 ...
- oracle 数据库(表)的逻辑备份与恢复
一.介绍逻辑备份是指使用工具export将数据对象的结构和数据导出到文件的过程.逻辑恢复是指当数据库对象被误操作而损坏后使用工具import利用备份的文件把数据对象导入到数据库的过程.物理备份即可在数 ...
- Deploying Customizations in Oracle E-Business Suite Release 12.2
DeployingCustomizations in Oracle E-Business Suite Release 12.2 This documentdescribes how to deploy ...
- Oracle Metalink Notes Collection
INV Note 123456.1 Latest 11i Applications Recommended Patch List Note 568012.1:FAQ: Inventory Standa ...
- Oracle Applications DBA 基础(二)
6.OAM及系统管理 2014年9月13日 20:40 参考资料: 1.Oracle Applications System Administrator's Guide - Configuration ...
- Windows系统下oracle数据库每天定时备份
第一步:建立备份脚本oraclebackup.bat 首先建立一个备份bat文件,在D盘下新建备份目录oraclebackup,将oracle安装目录下的EXP.EXE复制到此目录下,再新建一个文本文 ...
- Oracle中删除用户下所有对象的多种方法
Oracle删除用户下所有对象的方法未必人人都会,下面就为您介绍两种常用的Oracle删除用户下所有对象的方法,希望对您学习Oracle删除用户方面能有所帮助. 方法1: drop user XX ...
随机推荐
- HDU 5724 Chess(SG函数+状态压缩)
http://acm.split.hdu.edu.cn/showproblem.php?pid=5724 题意: 现在有一个n*20的棋盘,上面有一些棋子,双方每次可以选择一个棋子把它移动到其右边第一 ...
- Python open 读写小栗子
1.样本内容 A.txt 2.上代码: f=open(r'E:\A.txt','r') boyA=[] boyB=[] count = for each_line in f: ]!='======': ...
- glfw3native.h and glfw3.h
https://www.glfw.org/docs/latest/files.html
- centos7 下载安装tomcat9
需要Java环境 https://www.cnblogs.com/sea-stream/p/10404360.html 官网下载安装包 wget http://archive.apache.org/d ...
- Windows 多用户接续设置
第1步:如果想真正实现多用户接续,请安装角色:remote desktop service.第2步: gpedit.msc,找到“计算机配置”-“管理模板”-“Windows 组件”-“远程桌面服务” ...
- DirectX学习之第一个可运行的工程
学习一门开发语言的第一件事情当然是搭建一个可运行的环境,然后运行一个可成功执行的案例. 本人在学习DirectX的第一个工程的时候,参考了雨凇MoMo的一篇文章(https://www.xuanyus ...
- 第 8 章 容器网络 - 060 - 在 Docker 中使用 flannel
在 Docker 中使用 flannel 编辑 host1 的 Docker 配置文件 /etc/systemd/system/docker.service.d/10-machine.conf 设置 ...
- python基础和进阶思维导图(转)
- 雷林鹏分享:C# 数据类型
C# 数据类型 在 C# 中,变量分为以下几种类型: 值类型(Value types) 引用类型(Reference types) 指针类型(Pointer types) 值类型(Value type ...
- 概率分布之间的推导关系 | Univariate Distribution Relationships
Univariate Distribution Relationships APPL: A Probability Programming Language Maplesoft- Software f ...