hypertable | REGCLASS | - | ✔ | Name of the or |
compress_after | INTERVAL or INTEGER | - | ✔ | The age after which the policy job compresses s. compress_after is calculated relative to the current time, so s containing data older than now - compress_after::interval are compressed. This argument is mutually exclusive with compress_created_before. |
compress_created_before | INTERVAL | NULL | - | s with creation time older than this cut-off point are compressed. The cut-off point is computed as now() - compress_created_before. Defaults to NULL. Not supported for s yet. This argument is mutually exclusive with compress_after. |
schedule_interval | INTERVAL | 12 hours for s with chunk_interval >= 1 day, chunk_interval / 2 for others | - | The interval between the finish time of the last execution and the next start. |
initial_start | TIMESTAMPTZ | NULL | - | Time the policy is first run. Defaults to NULL. If omitted, then the schedule interval is the interval from the finish time of the last execution to the next start. If provided, it serves as the origin with respect to which the next_start is calculated |
timezone | TEXT | NULL | - | A valid time zone. If initial_start is also specified, subsequent executions of the compression policy are aligned on its initial start. However, daylight savings time (DST) changes may shift this alignment. Set to a valid time zone if this is an issue you want to mitigate. If omitted, UTC bucketing is performed. |
if_not_exists | BOOLEAN | false | - | Setting to true causes the command to fail with a warning instead of an error if a compression policy already exists on the . |