Oracle “dba_tables”介绍
DBA_TABLES describes all relational tables in the database. Its columns are the same as those in ALL_TABLES. To gather statistics for this view, use the ANALYZE SQL statement.
ALL_TABLES describes the relational tables accessible to the current user. To gather statistics for this view, use the ANALYZE SQL statement.
Related Views
DBA_TABLESdescribes all relational tables in the database.USER_TABLESdescribes the relational tables owned by the current user. This view does not display theOWNERcolumn.
Note:
Columns marked with an asterisk (*) are populated only if you collect statistics on the table with the ANALYZE statement or theDBMS_STATS package.
| Column | Datatype | NULL | Description |
|---|---|---|---|
OWNER |
VARCHAR2(30) |
NOT NULL |
Owner of the table |
TABLE_NAME |
VARCHAR2(30) |
NOT NULL |
Name of the table |
TABLESPACE_NAME |
VARCHAR2(30) |
Name of the tablespace containing the table; null for partitioned, temporary, and index-organized tables | |
CLUSTER_NAME |
VARCHAR2(30) |
Name of the cluster, if any, to which the table belongs | |
IOT_NAME |
VARCHAR2(30) |
Name of the index-organized table, if any, to which the overflow or mapping table entry belongs. If the IOT_TYPE column is not null, then this column contains the base table name. |
|
STATUS |
VARCHAR2(8) |
If a previous DROP TABLE operation failed, indicates whether the table is unusable (UNUSABLE) or valid (VALID) |
|
PCT_FREE |
NUMBER |
Minimum percentage of free space in a block; null for partitioned tables | |
PCT_USED |
NUMBER |
Minimum percentage of used space in a block; null for partitioned tables | |
INI_TRANS |
NUMBER |
Initial number of transactions; null for partitioned tables | |
MAX_TRANS |
NUMBER |
Maximum number of transactions; null for partitioned tables | |
INITIAL_EXTENT |
NUMBER |
Size of the initial extent (in bytes); null for partitioned tables | |
NEXT_EXTENT |
NUMBER |
Size of secondary extents (in bytes); null for partitioned tables | |
MIN_EXTENTS |
NUMBER |
Minimum number of extents allowed in the segment; null for partitioned tables | |
MAX_EXTENTS |
NUMBER |
Maximum number of extents allowed in the segment; null for partitioned tables | |
PCT_INCREASE |
NUMBER |
Percentage increase in extent size; null for partitioned tables | |
FREELISTS |
NUMBER |
Number of process freelists allocated to the segment; null for partitioned tables | |
FREELIST_GROUPS |
NUMBER |
Number of freelist groups allocated to the segment; null for partitioned tables | |
LOGGING |
VARCHAR2(3) |
Logging attribute; NULL for partitioned tables |
|
BACKED_UP |
VARCHAR2(1) |
Has table been backed up since last change | |
NUM_ROWS* |
NUMBER |
Number of rows in the table | |
BLOCKS* |
NUMBER |
Number of used data blocks in the table | |
EMPTY_BLOCKS* |
NUMBER |
Number of empty (never used) data blocks in the table | |
AVG_SPACE* |
NUMBER |
Average amount of free space, in bytes, in a data block allocated to the table | |
CHAIN_CNT* |
NUMBER |
Number of rows in the table that are chained from one data block to another, or which have migrated to a new block, requiring a link to preserve the old ROWID | |
AVG_ROW_LEN* |
NUMBER |
Average length of a row in the table (in bytes) | |
AVG_SPACE_FREELIST _BLOCKS |
NUMBER |
Average freespace of all blocks on a freelist | |
NUM_FREELIST_BLOCKS |
NUMBER |
Number of blocks on the freelist | |
DEGREE |
VARCHAR2(10) |
Number of threads per instance for scanning the table | |
INSTANCES |
VARCHAR2(10) |
Number of instances across which the table is to be scanned | |
CACHE |
VARCHAR2(5) |
Indicates whether the table is to be cached in the buffer cache (Y) or not (N) |
|
TABLE_LOCK |
VARCHAR2(8) |
Indicates whether table locking is enabled (ENABLED) or disabled (DISABLED) |
|
SAMPLE_SIZE |
NUMBER |
Sample size used in analyzing this table | |
LAST_ANALYZED |
DATE |
Date on which this table was most recently analyzed | |
PARTITIONED |
VARCHAR2(3) |
Indicates whether this table is partitioned. Set to YES if it is partitioned. |
|
IOT_TYPE |
VARCHAR2(12) |
If this is an index-organized table, then IOT_TYPE is IOT, IOT_OVERFLOW, or IOT_MAPPING. If this is not an index-organized table, then IOT_TYPEis NULL. |
|
TEMPORARY |
VARCHAR2(1) |
Can the current session only see data that it place in this object itself? | |
SECONDARY |
VARCHAR2(1) |
Whether the trigger is a secondary object created by theODCIIndexCreate method of the Oracle Data Cartridge (Y |N) |
|
NESTED |
VARCHAR2(3) |
Indicates whether the table is a nested table (YES) or not (NO) |
|
BUFFER_POOL |
VARCHAR2(7) |
The default buffer pool for the object. NULL for partitioned tables |
|
ROW_MOVEMENT |
VARCHAR2(8) |
Whether partitioned row movement is enabled or disabled | |
GLOBAL_STATS |
VARCHAR2(3) |
For partitioned tables, indicates whether statistics were collected for the table as a whole (YES) or were estimated from statistics on underlying partitions and subpartitions (NO) |
|
USER_STATS |
VARCHAR2(3) |
Indicates whether statistics were entered directly by the user (YES) or not (NO) |
|
DURATION |
VARCHAR2(15) |
Indicates the duration of a temporary table:
Null for a permanent table |
|
SKIP_CORRUPT |
VARCHAR2(8) |
Whether the Oracle Database ignores blocks marked corrupt during table and index scans (ENABLED) or raises an error (DISABLED). To enable this feature, run the DBMS_REPAIR.SKIP_CORRUPT_BLOCKSprocedure. |
|
MONITORING |
VARCHAR2(3) |
Whether the table has the MONITORING attribute set |
|
CLUSTER_OWNER |
VARCHAR2(30) |
Owner of the cluster, if any, to which the table belongs | |
DEPENDENCIES |
VARCHAR2(8) |
Indicates whether row-level dependency tracking is enabled (ENABLED) or disabled (DISABLED) |
|
COMPRESSION |
VARCHAR2(8) |
Indicates whether table compression is enabled (ENABLED) or not (DISABLED); null for partitioned tables |
|
DROPPED |
VARCHAR2(3) |
Indicates whether the table has been dropped and is in the recycle bin (YES) or not (NO); null for partitioned tables
|
Oracle “dba_tables”介绍的更多相关文章
- 【体系结构】Oracle参数介绍
[体系结构]Oracle参数介绍 1 BLOG文档结构图 2 前言部分 2.1 导读和注意事项 各位技术爱好者,看完本文后,你可以掌握如下的技能,也可以学到一些其它你所不知道的知识,~O(∩_∩ ...
- Oracle asm介绍和安装linux+oracle10g+asm过程
Oracle asm介绍和安装linux5.2+oracle10g+asm过程 1)ASM(自动存储管理)的来由: ASM是Oracle 10g R2中为了简化Oracle数据库的管理而推出来 ...
- Oracle Dataguard 介绍
Oracle DataGuard介绍 一. DataGuard的基本原理 当某次事务处理对生产数据库中的数据作出更改时,Oracle数据库将在一个联机重做日志文件里记录此次更改.在DataGuard中 ...
- [Oracle] Lob介绍
[Oracle] Lob介绍 像Oracle这种关系型数据库,比较擅长处理结构化的数据,那么对于非结构化的数据,Oracle是怎么处理和存储的呢?Lob (Large Object)是Oracle ...
- oracle regexp_like介绍和例子
oracle regexp_like介绍和例子 学习了:http://www.cnblogs.com/einyboy/archive/2012/08/01/2617606.html ORACLE中的支 ...
- Oracle 备份与恢复介绍
一.Oracle备份方式分类:Oracle有两类备份方式:(1)物理备份:是将实际组成数据库的操作系统文件从一处拷贝到另一处的备份过程,通常是从磁盘到磁带.物理备份又分为冷备份.热备份: (2)逻 ...
- Oracle 存储过程介绍
存储过程 1 CREATE OR REPLACE PROCEDURE 存储过程名 2 IS 3 BEGIN 4 NULL; 5 END; 行1: CREATE OR REPLACE PROCEDURE ...
- ORACLE RMAN介绍
本地连接: $ rman target / or $ rman target / nocatalog 远程连接: $ rman target sys/sys@sky RMAN命令执行方式: 1.单条 ...
- oracle 序列介绍
序列介绍 序列是一个计数器,它并不会与特定的表关联.通过创建Oracle序列和触发器实现表的主键自增. 序列的用途一般用来填充主键和计数. 序列使用 1.创建序列 ORACLE序列的语法格式为: CR ...
随机推荐
- NYOJ 128 前缀式计算
前缀式计算 时间限制:1000 ms | 内存限制:65535 KB 难度:3 描述 先说明一下什么是中缀式: 如2+(3+4)*5这种我们最常见的式子就是中缀式. 而把中缀式按运算顺序加上括 ...
- 关于Java控制台输入输出乱码问题
产生原因:因为这个开源项目的默认字符编码为UTF-8,所以我的控制台的字符编码也自动变成了UTF-8,而键盘的输入流的默认格式是GBK格式,这样就造成了在GBK转UTF-8的过程中产生的奇数乱码错误( ...
- Visual Studio 2012 RC 中RC表示什么意思
来自:http://zhidao.baidu.com/question/507233956.html Release Candidate 缩写为 RC ,经常用于计算机软件方面,表示软件的候选发布版. ...
- placeholder在不同浏览器下的表现及兼容方法(转)
1.什么是placeholder? placeholder是html5新增的一个属性,当input或者textarea设置了该属性后,该值的内容将作为灰字提示显示在文本框中,当文本框获得焦点(或 ...
- 使用ioctl“实现”自定义的系统调用
http://www.educity.cn/Linux/1242138.html 最近做的项目跟Linux内核的关系比较大,我们的项目需要在用户态触发一些内核态的代码运行.众所周知,内核态的代码是不能 ...
- iOS开发之Xcode 6更新默认不支持armv7s架构
最近一次的Xcode 6更新默认不再支持arm7s架构,究竟是要废除不用呢还是仅仅只是一个疏忽? 目前的Xcode 6配置里定义${ARCHS_STANDARD}为armv7, arm64,当然这个定 ...
- z-index总结【转载http://www.cnblogs.com/mind/archive/2012/04/01/2198995.html】
元素位置重叠的背景常识 (x)html文档中的元素默认处于普通流(normal flow)中,也就是说其顺序由元素在文档中的先后位置决定,此时一般不会产生重叠(但指定负边距可能产生重叠).当我们用cs ...
- jpeg了解
JPEG是一个压缩标准,又可分为标准 JPEG.渐进式JPEG及JPEG2000三种: ①标准JPEG:以24位颜色存储单个光栅图像,是与平台无关的格式,支持最高级 别的压缩,不过,这种压缩是有损耗的 ...
- jquery select选中项 赋值
$("flag").attr("value",flag); $("#flag").find("option:selected&qu ...
- Linux 打包和压缩 方法详解
一般基因组的数据都非常大,所以都会 打包 压缩 后进行传输,拿到数据后的第一步必然就是要 解包 和 解压缩. 基本常识 首先要弄清两个概念:打包 和 压缩. 打包 是指将一大堆文件或目录变成一个总的文 ...