The system table FILES describes all internal database files except for LONG files.
FILES
CHAR(8) BYTE |
ID of the file |
|
SESSIONID |
FIXED(10) |
ID of the database session in which temporary files were created |
ROOT |
FIXED(10) |
Page number of the file root |
TYPE |
CHAR(20) |
Type of file (TABLE | INDEX | FIXED OBJECT | VARIABLE OBJECT | KEYED OBJECT | KEYED OBJECT INDEX | SHORT COLUMN FILE | internal file type for temporary files | UNKNOWN) |
PRIMARYFILEID |
CHAR(8) BYTE |
ID of the corresponding table if the file is of the type SHORT COLUMN FILE or
INDEX or |
FILESTATE |
CHAR(20) |
File status (OK | DELETED | BAD | READ ONLY | UNKNOWN) |
ENTRYCOUNT |
FIXED(20) |
Number of entries in the file |
TREEINDEXSIZE |
FIXED(20) |
Space that is occupied by index pages of the file (KB) |
TREELEAVESSIZE |
FIXED(20) |
Space that is occupied by the leaf pages of the file (KB) |
LOBSIZE |
FIXED(20) |
Space that is occupied by LONG values of the table (KB) |