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_TAB_COLUMNS view tips

Oracle Tips by Burleson Consulting

DBA_TAB_COLUMNS

<< Return to the index

Oracle 11g makes the following comments about the DBA_TAB_COLUMNS table: "Columns of user's tables, views and clusters"

Related notes on DBA_TAB_COLUMNS:

Column description of the DBA_TAB_COLUMNS view:

OWNER
No comments exist for the OWNER column of the DBA_TAB_COLUMNS table.
TABLE_NAME
Description of DBA_TAB_COLUMNS.TABLE_NAME: "Table, view or cluster name"
COLUMN_NAME
Description of DBA_TAB_COLUMNS.COLUMN_NAME: "Column name"
DATA_TYPE
Description of DBA_TAB_COLUMNS.DATA_TYPE: "Datatype of the column"
DATA_TYPE_MOD
Description of DBA_TAB_COLUMNS.DATA_TYPE_MOD: "Datatype modifier of the column"
DATA_TYPE_OWNER
Description of DBA_TAB_COLUMNS.DATA_TYPE_OWNER: "Owner of the datatype of the column"
DATA_LENGTH
Description of DBA_TAB_COLUMNS.DATA_LENGTH: "Length of the column in bytes"
DATA_PRECISION
Description of DBA_TAB_COLUMNS.DATA_PRECISION: "Length: decimal digits (NUMBER) or binary digits (FLOAT)"
DATA_SCALE
Description of DBA_TAB_COLUMNS.DATA_SCALE: "Digits to right of decimal point in a number"
NULLABLE
Description of DBA_TAB_COLUMNS.NULLABLE: "Does column allow NULL values?"
COLUMN_ID
Description of DBA_TAB_COLUMNS.COLUMN_ID: "Sequence number of the column as created"
DEFAULT_LENGTH
Description of DBA_TAB_COLUMNS.DEFAULT_LENGTH: "Length of default value for the column"
DATA_DEFAULT
Description of DBA_TAB_COLUMNS.DATA_DEFAULT: "Default value for the column"
NUM_DISTINCT
Description of DBA_TAB_COLUMNS.NUM_DISTINCT: "The number of distinct values in the column"
LOW_VALUE
Description of DBA_TAB_COLUMNS.LOW_VALUE: "The low value in the column"
HIGH_VALUE
Description of DBA_TAB_COLUMNS.HIGH_VALUE: "The high value in the column"
DENSITY
Description of DBA_TAB_COLUMNS.DENSITY: "The density of the column"
NUM_NULLS
Description of DBA_TAB_COLUMNS.NUM_NULLS: "The number of nulls in the column"
NUM_BUCKETS
Description of DBA_TAB_COLUMNS.NUM_BUCKETS: "The number of buckets in histogram for the column"
LAST_ANALYZED
Description of DBA_TAB_COLUMNS.LAST_ANALYZED: "The date of the most recent time this column was analyzed"
SAMPLE_SIZE
Description of DBA_TAB_COLUMNS.SAMPLE_SIZE: "The sample size used in analyzing this column"
CHARACTER_SET_NAME
Description of DBA_TAB_COLUMNS.CHARACTER_SET_NAME: "Character set name"
CHAR_COL_DECL_LENGTH
Description of DBA_TAB_COLUMNS.CHAR_COL_DECL_LENGTH: "Declaration length of character type column"
GLOBAL_STATS
Description of DBA_TAB_COLUMNS.GLOBAL_STATS: "Are the statistics calculated without merging underlying partitions?"
USER_STATS
Description of DBA_TAB_COLUMNS.USER_STATS: "Were the statistics entered directly by the user?"
AVG_COL_LEN
Description of DBA_TAB_COLUMNS.AVG_COL_LEN: "The average length of the column in bytes"
CHAR_LENGTH
Description of DBA_TAB_COLUMNS.CHAR_LENGTH: "The maximum length of the column in characters"
CHAR_USED
Description of DBA_TAB_COLUMNS.CHAR_USED: "C if the width was specified in characters, B if in bytes"
V80_FMT_IMAGE
Description of DBA_TAB_COLUMNS.V80_FMT_IMAGE: "Is column data in 8.0 image format?"
DATA_UPGRADED
Description of DBA_TAB_COLUMNS.DATA_UPGRADED: "Has column data been upgraded to the latest type version format?"
HISTOGRAM
No comments exist for the HISTOGRAM column of the DBA_TAB_COLUMNS table.

DBA_TAB_COLUMNS View Source

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

select OWNER, TABLE_NAME,
COLUMN_NAME, DATA_TYPE, DATA_TYPE_MOD, DATA_TYPE_OWNER,
DATA_LENGTH, DATA_PRECISION, DATA_SCALE, NULLABLE, COLUMN_ID,
DEFAULT_LENGTH, DATA_DEFAULT, NUM_DISTINCT, LOW_VALUE, HIGH_VALUE,
DENSITY, NUM_NULLS, NUM_BUCKETS, LAST_ANALYZED, SAMPLE_SIZE,
CHARACTER_SET_NAME, CHAR_COL_DECL_LENGTH,
GLOBAL_STATS, USER_STATS, AVG_COL_LEN, CHAR_LENGTH, CHAR_USED,
V80_FMT_IMAGE, DATA_UPGRADED, HISTOGRAM
from DBA_TAB_COLS
where HIDDEN_COLUMN = 'NO'

 
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.