tsm_system_time
TABLESAMPLE method which accepts time in milliseconds as a limit
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
tsm_system_time | 1.0 | FUNC | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4890 | tsm_system_time | No | Yes | No | Yes | Yes | No | - |
Version
| PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|
| 1.0 | 1.0 | 1.0 | 1.0 | 1.0 |
Install
Note: This is a built-in contrib extension of PostgreSQL
Usage
Provides the SYSTEM_TIME table sampling method that returns as many rows as can be read within a specified time limit.
TABLESAMPLE Method
SYSTEM_TIME(milliseconds float) – maximum time to spend reading the table.
Examples
Performs block-level sampling (not row-level). If the entire table can be read within the time limit, all rows are returned. Does not support REPEATABLE.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)