Entering content frame

 TABLESTATISTICS 

The statistics system table TABLESTATISTICS contains information about the structure and sizes of base tables.

TABLESTATISTICS

OWNER

CHAR(32)

Owner of the table

TABLENAME

CHAR(32)

Table name

DESCRIPTION

CHAR(40)

Description (see table Column DESCRIPTION) of how to interpret following columns

CHAR_VALUE

CHAR(12)

Alphanumeric value

NUMERIC_VALUE

FIXED(10)

Numeric value

Column DESCRIPTION

Value

Explanation

Root pno

NUMERIC_VALUE contains the page number of the root of the B* tree

Filetype

CHAR_VALUE contains the type of the B* tree

Used pages

NUMERIC_VALUE indicates how many pages are used by the table

Index pages

NUMERIC_VALUE indicates how many pages are used by the table in the B* tree index

Leaf pages

NUMERIC_VALUE indicates how many leaf pages are used by the table

Index levels

NUMERIC_VALUE contains the number of index levels of the B* tree

Space used in all pages(%)

NUMERIC_VALUE contains the used space of all pages in the B* tree (as a percentage)

Space used in root page(%)

NUMERIC_VALUE contains the used space of the root page in the B* tree (as a percentage)

Space used in index pages(%)

NUMERIC_VALUE contains the used space of the index pages in the B* tree (as a percentage)

Space used in index pages(%) min

NUMERIC_VALUE contains the minimum used space of the index pages in the B* tree (as a percentage)

Space used in index pages(%) max

NUMERIC_VALUE contains the maximum used space of the index pages in the B* tree (as a percentage)

Space used in leaf pages(%)

NUMERIC_VALUE contains the used space of the leaf pages in the B* tree (as a percentage)

Space used in leaf pages(%) min

NUMERIC_VALUE contains the minimum used space of the leaf pages in the B* tree (as a percentage)

Space used in leaf pages(%) max

NUMERIC_VALUE contains the maximum used space of the leaf pages in the B* tree (as a percentage)

Rows

NUMERIC_VALUE contains the number of rows in the table

Avg rows per page

NUMERIC_VALUE contains the average number of rows for each page

Min rows per page

NUMERIC_VALUE contains the minimum number of rows for each page

Max rows per page

NUMERIC_VALUE contains the maximum number of rows for each page

Avg row length

NUMERIC_VALUE contains the average length of a row

Min row length

NUMERIC_VALUE contains the minimum length of a row

Max row length

NUMERIC_VALUE contains the maximum length of a row

Avg key length

NUMERIC_VALUE contains the average length of a key

Min key length

NUMERIC_VALUE contains the minimum length of a key

Max key length

NUMERIC_VALUE contains the maximum length of a key

Avg separator length

NUMERIC_VALUE contains the average length of a separator

Min separator length

NUMERIC_VALUE contains the minimum length of a separator

Max separator length

NUMERIC_VALUE contains the maximum length of a separator

Defined LONG columns

NUMERIC_VALUE contains the number of defined LONG columns

Avg LONG column length

NUMERIC_VALUE contains the average length of a LONG column

Min LONG column length

NUMERIC_VALUE contains the minimum length of a LONG column

Max LONG column length

NUMERIC_VALUE contains the maximum length of a LONG column

LONG column pages

NUMERIC_VALUE contains the number of pages of all the LONG columns in the table

Avg pages per LONG column

NUMERIC_VALUE contains the average number of pages in the table for each LONG column

Min pages per LONG column

NUMERIC_VALUE contains the smallest LONG column in the table (in pages)

Max pages per LONG column

NUMERIC_VALUE contains the largest LONG column in the table (in pages)

 

 

Leaving content frame