The SNAP_GET_STO_PATHS table function returns snapshot information from the storage_paths logical data group.
The schema is SYSPROC.
If the null value is specified, -1 is set implicitly.
If both parameters are set to NULL, the snapshot will be taken only if a file has not previously been created by the SNAP_WRITE_FILE stored procedure for the corresponding snapshot API request type.
In a non-restrictive database, EXECUTE privilege is granted to PUBLIC when the function is automatically created.
The function returns the following table.
Column name | Data type | Description or corresponding monitor element |
---|---|---|
SNAPSHOT_TIMESTAMP | TIMESTAMP | snapshot_timestamp - Snapshot timestamp |
DB_NAME | VARCHAR(128) | db_name - Database name |
DB_STORAGE_PATH | VARCHAR(256) | db_storage_path - Automatic storage path |