Call (800) 766-1884 for Oracle support & training
Free Oracle Tips


Oracle Consulting Support
Oracle Upgrades
Use New Oracle Features
Oracle Replication Support
Oracle Training
Remote Oracle DBA
System Documentation
Oracle Tips
Oracle Performance
 

Free Oracle Tips


 

HTML Text

BC Oracle tuning

Oracle training

Oracle support

Remote Oracle

Redneck
 

 

   
 

DBA_ALL_TABLES view tips

Oracle Tips by Burleson Consulting

DBA_ALL_TABLES

<< Return to the index

Oracle 11g makes the following comments about the DBA_ALL_TABLES table: "Description of all object and relational tables in the database"

Related notes on DBA_ALL_TABLES:

Column description of the DBA_ALL_TABLES view:

OBJECT_ID_TYPE
Description of DBA_ALL_TABLES.OBJECT_ID_TYPE: "If user-defined OID, then USER-DEFINED, else if system generated OID, then SYST EM GENERATED"
TABLE_TYPE_OWNER
Description of DBA_ALL_TABLES.TABLE_TYPE_OWNER: "Owner of the type of the table if the table is an object table"
TABLE_TYPE
Description of DBA_ALL_TABLES.TABLE_TYPE: "Type of the table if the table is an object table"
TEMPORARY
Description of DBA_ALL_TABLES.TEMPORARY: "Can the current session only see data that it place in this object itself?"
SECONDARY
Description of DBA_ALL_TABLES.SECONDARY: "Is this table object created as part of icreate for domain indexes?"
NESTED
Description of DBA_ALL_TABLES.NESTED: "Is the table a nested table?"
BUFFER_POOL
Description of DBA_ALL_TABLES.BUFFER_POOL: "The default buffer pool to be used for table blocks"
ROW_MOVEMENT
Description of DBA_ALL_TABLES.ROW_MOVEMENT: "Whether partitioned row movement is enabled or disabled"
GLOBAL_STATS
Description of DBA_ALL_TABLES.GLOBAL_STATS: "Are the statistics calculated without merging underlying partitions?"
USER_STATS
Description of DBA_ALL_TABLES.USER_STATS: "Were the statistics entered directly by the user?"
DURATION
Description of DBA_ALL_TABLES.DURATION: "If temporary table, then duration is sys$session or sys$transaction else NULL"
SKIP_CORRUPT
Description of DBA_ALL_TABLES.SKIP_CORRUPT: "Whether skip corrupt blocks is enabled or disabled"
MONITORING
Description of DBA_ALL_TABLES.MONITORING: "Should we keep track of the amount of modification?"
CLUSTER_OWNER
Description of DBA_ALL_TABLES.CLUSTER_OWNER: "Owner of the cluster, if any, to which the table belongs"
DEPENDENCIES
Description of DBA_ALL_TABLES.DEPENDENCIES: "Should we keep track of row level dependencies?"
COMPRESSION
Description of DBA_ALL_TABLES.COMPRESSION: "Whether table compression is enabled or not"
COMPRESS_FOR
Description of DBA_ALL_TABLES.COMPRESS_FOR: "Compress what kind of operations"
DROPPED
Description of DBA_ALL_TABLES.DROPPED: "Whether table is dropped and is in Recycle Bin"
OWNER
Description of DBA_ALL_TABLES.OWNER: "Owner of the table"
TABLE_NAME
Description of DBA_ALL_TABLES.TABLE_NAME: "Name of the table"
TABLESPACE_NAME
Description of DBA_ALL_TABLES.TABLESPACE_NAME: "Name of the tablespace containing the table"
CLUSTER_NAME
Description of DBA_ALL_TABLES.CLUSTER_NAME: "Name of the cluster, if any, to which the table belongs"
IOT_NAME
Description of DBA_ALL_TABLES.IOT_NAME: "Name of the index-only table, if any, to which the overflow or mapping table entry belongs"
STATUS
Description of DBA_ALL_TABLES.STATUS: "Status of the table will be UNUSABLE if a previous DROP TABLE operation failed, VALID otherwise"
PCT_FREE
Description of DBA_ALL_TABLES.PCT_FREE: "Minimum percentage of free space in a block"
PCT_USED
Description of DBA_ALL_TABLES.PCT_USED: "Minimum percentage of used space in a block"
INI_TRANS
Description of DBA_ALL_TABLES.INI_TRANS: "Initial number of transactions"
MAX_TRANS
Description of DBA_ALL_TABLES.MAX_TRANS: "Maximum number of transactions"
INITIAL_EXTENT
Description of DBA_ALL_TABLES.INITIAL_EXTENT: "Size of the initial extent in bytes"
NEXT_EXTENT
Description of DBA_ALL_TABLES.NEXT_EXTENT: "Size of secondary extents in bytes"
MIN_EXTENTS
Description of DBA_ALL_TABLES.MIN_EXTENTS: "Minimum number of extents allowed in the segment"
MAX_EXTENTS
Description of DBA_ALL_TABLES.MAX_EXTENTS: "Maximum number of extents allowed in the segment"
PCT_INCREASE
Description of DBA_ALL_TABLES.PCT_INCREASE: "Percentage increase in extent size"
FREELISTS
Description of DBA_ALL_TABLES.FREELISTS: "Number of process freelists allocated in this segment"
FREELIST_GROUPS
Description of DBA_ALL_TABLES.FREELIST_GROUPS: "Number of freelist groups allocated in this segment"
LOGGING
Description of DBA_ALL_TABLES.LOGGING: "Logging attribute"
BACKED_UP
Description of DBA_ALL_TABLES.BACKED_UP: "Has table been backed up since last modification?"
NUM_ROWS
Description of DBA_ALL_TABLES.NUM_ROWS: "The number of rows in the table"
BLOCKS
Description of DBA_ALL_TABLES.BLOCKS: "The number of used blocks in the table"
EMPTY_BLOCKS
Description of DBA_ALL_TABLES.EMPTY_BLOCKS: "The number of empty (never used) blocks in the table"
AVG_SPACE
Description of DBA_ALL_TABLES.AVG_SPACE: "The average available free space in the table"
CHAIN_CNT
Description of DBA_ALL_TABLES.CHAIN_CNT: "The number of chained rows in the table"
AVG_ROW_LEN
Description of DBA_ALL_TABLES.AVG_ROW_LEN: "The average row length, including row overhead"
AVG_SPACE_FREELIST_BLOCKS
Description of DBA_ALL_TABLES.AVG_SPACE_FREELIST_BLOCKS: "The average freespace of all blocks on a freelist"
NUM_FREELIST_BLOCKS
Description of DBA_ALL_TABLES.NUM_FREELIST_BLOCKS: "The number of blocks on the freelist"
DEGREE
Description of DBA_ALL_TABLES.DEGREE: "The number of threads per instance for scanning the table"
INSTANCES
Description of DBA_ALL_TABLES.INSTANCES: "The number of instances across which the table is to be scanned"
CACHE
Description of DBA_ALL_TABLES.CACHE: "Whether the table is to be cached in the buffer cache"
TABLE_LOCK
Description of DBA_ALL_TABLES.TABLE_LOCK: "Whether table locking is enabled or disabled"
SAMPLE_SIZE
Description of DBA_ALL_TABLES.SAMPLE_SIZE: "The sample size used in analyzing this table"
LAST_ANALYZED
Description of DBA_ALL_TABLES.LAST_ANALYZED: "The date of the most recent time this table was analyzed"
PARTITIONED
Description of DBA_ALL_TABLES.PARTITIONED: "Is this table partitioned? YES or NO"
IOT_TYPE
Description of DBA_ALL_TABLES.IOT_TYPE: "If index-only table, then IOT_TYPE is IOT or IOT_OVERFLOW or IOT_MAPPING else NULL"

DBA_ALL_TABLES View Source

Oracle 11g's data dictionary defines the DBA_ALL_TABLES view using the following source query:

select OWNER, TABLE_NAME, TABLESPACE_NAME, CLUSTER_NAME, IOT_NAME, STATUS,
PCT_FREE, PCT_USED,
INI_TRANS, MAX_TRANS,
INITIAL_EXTENT, NEXT_EXTENT,
MIN_EXTENTS, MAX_EXTENTS, PCT_INCREASE,
FREELISTS, FREELIST_GROUPS, LOGGING,
BACKED_UP, NUM_ROWS, BLOCKS, EMPTY_BLOCKS,
AVG_SPACE, CHAIN_CNT, AVG_ROW_LEN,
AVG_SPACE_FREELIST_BLOCKS, NUM_FREELIST_BLOCKS,
DEGREE, INSTANCES, CACHE, TABLE_LOCK,
SAMPLE_SIZE, LAST_ANALYZED, PARTITIONED,
IOT_TYPE, NULL, NULL, NULL, TEMPORARY, SECONDARY, NESTED,
BUFFER_POOL, ROW_MOVEMENT,
GLOBAL_STATS, USER_STATS, DURATION, SKIP_CORRUPT, MONITORING,
CLUSTER_OWNER, DEPENDENCIES, COMPRESSION, COMPRESS_FOR, DROPPED
from dba_tables
union all
select "OWNER","TABLE_NAME","TABLESPACE_NAME","CLUSTER_NAME","IOT_NAME","STATUS","PCT_FREE","PCT_USED","INI_TRANS","MAX_TRANS","INITIAL_EXTENT","NEXT_EXTENT","MIN_EXTENTS","MAX_EXTENTS","PCT_INCREASE","FREELISTS","FREELIST_GROUPS","LOGGING","BACKED_UP","NUM_ROWS","BLOCKS","EMPTY_BLOCKS","AVG_SPACE","CHAIN_CNT","AVG_ROW_LEN","AVG_SPACE_FREELIST_BLOCKS","NUM_FREELIST_BLOCKS","DEGREE","INSTANCES","CACHE","TABLE_LOCK","SAMPLE_SIZE","LAST_ANALYZED","PARTITIONED","IOT_TYPE","OBJECT_ID_TYPE","TABLE_TYPE_OWNER","TABLE_TYPE","TEMPORARY","SECONDARY","NESTED","BUFFER_POOL","ROW_MOVEMENT","GLOBAL_STATS","USER_STATS","DURATION","SKIP_CORRUPT","MONITORING","CLUSTER_OWNER","DEPENDENCIES","COMPRESSION","COMPRESS_FOR","DROPPED" from dba_object_tables

 
If you like Oracle tuning, see the book "Oracle Tuning: The Definitive Reference", with 950 pages of tuning tips and scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.

 

 

Download your Oracle scripts now:

www.oracle-script.com

The definitive Oracle Script collection for every Oracle professional DBA

 

  
 

Oracle performance tuning software 
 
 
 
 

Oracle performance tuning book

 

 
 
 
Oracle performance Tuning 10g reference poster
 
 
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

   

Copyright © 1996 -  2009 by Burleson Enterprises, Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.