Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - SQL Reference » System Procedures » System procedures

sa_table_fragmentation system procedure Next Page

sa_table_page_usage system procedure


Reports information about the page usage of database tables.

Syntax

sa_table_page_usage( )

Result set
Column nameData type Description
TableId UNSIGNED INTEGERThe table ID.
TablePagesINTEGERThe number of table pages used by the table.
PctUsedTINTEGERThe percentage of used table page space.
IndexPagesINTEGERThe number of index pages used by the table.
PctUsedIINTEGERThe percentage of used index page space.
PctOfFileINTEGERThe percentage of the total database file the table occupies.
TableNameCHAR(128)The table name.
Remarks

The results include the same information provided by the Information utility.

Permissions

DBA authority required

Side effects

None

See also