Returns activity information from a table snapshot.
The schema is SYSPROC.
If the null value is specified, -1 is set implicitly.
If both parameters are set to NULL, the snapshot is taken only if a file has not previously been created by the SNAPSHOT_FILEW stored procedure for the corresponding snapshot API request type.
The function returns a table as shown in the following section.
Column name | Data type | Description or corresponding monitor element |
---|---|---|
SNAPSHOT_TIMESTAMP | TIMESTAMP | snapshot_timestamp - Snapshot timestamp |
ROWS_WRITTEN | BIGINT | rows_written - Rows written |
ROWS_READ | BIGINT | rows_read - Rows read |
OVERFLOW_ACCESSES | BIGINT | overflow_accesses - Accesses to overflowed records |
TABLE_FILE_ID | BIGINT | table_file_id - Table file identification |
TABLE_TYPE | BIGINT | table_type - Table type |
PAGE_REORGS | BIGINT | page_reorgs - Page reorganizations |
TABLE_NAME | VARCHAR(128) | table_name - Table name |
TABLE_SCHEMA | VARCHAR(128) | table_schema - Table schema name |