hypertable | REGCLASS | - | ✔ | to create the policy for |
index_name | TEXT | - | ✔ | Existing index by which to order the rows on disk |
if_not_exists | BOOLEAN | false | ✖ | Set to true to avoid an error if the reorder_policy already exists. A notice is issued instead. Defaults to false. |
initial_start | TIMESTAMPTZ | NULL | ✖ | Controls when the policy first runs and how its future run schedule is calculated. - If omitted or set to
NULL (default): - The first run is scheduled at
now() + schedule_interval (defaults to 24 hours). - The next run is scheduled at one full
schedule_interval after the end of the previous run.
- If set:
- The first run is at the specified time.
- The next run is scheduled as
initial_start + schedule_interval regardless of when the previous run ends.
|
timezone | TEXT | NULL | ✖ | A valid time zone. If initial_start is also specified, subsequent runs of the reorder policy are aligned on its initial start. However, daylight savings time (DST) changes might shift this alignment. Set to a valid time zone if this is an issue you want to mitigate. If omitted, UTC bucketing is performed. Defaults to NULL. |