Reader small image

You're reading from  Oracle Database 11gR2 Performance Tuning Cookbook

Product typeBook
Published inJan 2012
Reading LevelIntermediate
PublisherPackt
ISBN-139781849682602
Edition1st Edition
Languages
Right arrow
Author (1)
Ciro Fiorillo
Ciro Fiorillo
author image
Ciro Fiorillo

Ciro Fiorillo is an IT professional and consultant with experience of more than a decade in different roles (developer, analyst, DBA, project manager, data and software architect) among software industries. He has worked on different technologies and architectures, such as Oracle, SQL Server, Delphi, C# and .NET Framework, C/C++, Java, PHP, COBOL, Fortran, and Tibco. Ciro is currently employed as Lead Software and Data Architect with FinWin Srl, a software house specializing in banking and loans applications. As a freelancer he writes articles for websites and printed magazines about software and computing, participates in workshops, and teaches C++ and Fortran parallel programming with Intel Software tools. Ciro can be reached at ciro@cirofiorillo.com.
Read more about Ciro Fiorillo

Right arrow

DBA_TABLES


This view lists all the tables in the database. There are the corresponding ALL_TABLES and USER_TABLES, showing, respectively, the tables which the current user can access and the tables the current user owns.

Fields

The most relevant view fields are as follows:

  • OWNER: The owner of the table

  • TABLE_NAME: The name of the table

  • TABLESPACE_NAME: The name of the tablespace in which the table is stored

  • STATUS: This can be VALID or UNUSABLE

  • LOGGING: This indicates whether changes to the table are logged or not (YES/NO)

  • NUM_ROWS: The number of rows in the table

  • BLOCKS: The number of used database blocks in the table

  • EMPTY_BLOCKS: The number of empty database blocks in the table

  • AVG_SPACE: The average free space in bytes for allocated data blocks

  • CHAIN_CNT: The number of chained rows in the table

  • AVG_ROW_LEN: The average length of a row in the table

  • AVG_SPACE_FREELIST_BLOCKS: The average free space of all blocks on a freelist

  • NUM_FREELIST_BLOCKS: The number of blocks in a freelist

  • SAMPLE_SIZE: The sample size used when analyzing the table

  • GLOBAL_STATS: For partitioned tables, this indicates whether the statistics were made on all the partitions (YES) or estimated (NO)

  • USER_STATS: This indicates whether the statistics were entered by the user (YES/NO)

  • LAST_ANALYZED: The date on which the table was last analyzed

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Oracle Database 11gR2 Performance Tuning Cookbook
Published in: Jan 2012Publisher: PacktISBN-13: 9781849682602

Author (1)

author image
Ciro Fiorillo

Ciro Fiorillo is an IT professional and consultant with experience of more than a decade in different roles (developer, analyst, DBA, project manager, data and software architect) among software industries. He has worked on different technologies and architectures, such as Oracle, SQL Server, Delphi, C# and .NET Framework, C/C++, Java, PHP, COBOL, Fortran, and Tibco. Ciro is currently employed as Lead Software and Data Architect with FinWin Srl, a software house specializing in banking and loans applications. As a freelancer he writes articles for websites and printed magazines about software and computing, participates in workshops, and teaches C++ and Fortran parallel programming with Intel Software tools. Ciro can be reached at ciro@cirofiorillo.com.
Read more about Ciro Fiorillo