Skip to content

Commit 2f117ba

Browse files
authored
Merge pull request #418 from timescale/atovpeko1/edu-628-timescale-db-2290-release-recompress-unordered
Document recompress_unordered columnstore policy option (2.29.0)
2 parents d8ba723 + 5989ead commit 2f117ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/content/docs/reference/timescaledb/jobs-automation

src/content/docs/reference/timescaledb/jobs-automation/alter_job.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ SELECT alter_job(
149149
| `max_retries` | INTEGER | - || The number of times the job is retried if it fails. |
150150
| `retry_period` |INTERVAL| - || The amount of time the scheduler waits between retries of the job on failure. |
151151
| `scheduled` |BOOLEAN| `true` || Set to `false` to exclude this job from being run as a background job. |
152-
| `config` |JSONB| - | ✖| {C.JOB_CAP}-specific configuration, passed to the function when it runs. For the {C.COLUMNSTORE} policy this includes: <ul><li>`maxchunks_to_compress`: integer, defaults to `0` (no limit). The maximum number of {C.CHUNK}s to add to the {C.COLUMNSTORE} during a policy run.</li><li>`compress_after`: see [`add_columnstore_policy`](/reference/timescaledb/hypercore/add_columnstore_policy#arguments).</li><li>`compress_created_before`: see [`add_columnstore_policy`](/reference/timescaledb/hypercore/add_columnstore_policy#arguments).</li></ul> For the {C.CAGG} refresh policy this includes <ul><li>`compress_after_refresh`: boolean, defaults to `false`. When `true`, {C.TIMESCALE_DB} converts the {C.CAGG} {C.CHUNK}s in the refresh window to the {C.COLUMNSTORE} at the end of each scheduled refresh. Since 2.27.0.</li></ul> |
152+
| `config` |JSONB| - | ✖| {C.JOB_CAP}-specific configuration, passed to the function when it runs. For the {C.COLUMNSTORE} policy this includes: <ul><li>`maxchunks_to_compress`: integer, defaults to `0` (no limit). The maximum number of {C.CHUNK}s to add to the {C.COLUMNSTORE} during a policy run.</li><li>`compress_after`: see [`add_columnstore_policy`](/reference/timescaledb/hypercore/add_columnstore_policy#arguments).</li><li>`compress_created_before`: see [`add_columnstore_policy`](/reference/timescaledb/hypercore/add_columnstore_policy#arguments).</li><li>`recompress_unordered`: boolean, defaults to `true`. Whether the policy recompresses fully compressed {C.CHUNK}s whose batches are out of order, which rewrites the whole {C.CHUNK}. Set to `false` to leave them to the cheaper [compaction policy](/reference/timescaledb/hypercore/add_compaction_policy). Since 2.29.0.</li></ul> For the {C.CAGG} refresh policy this includes <ul><li>`compress_after_refresh`: boolean, defaults to `false`. When `true`, {C.TIMESCALE_DB} converts the {C.CAGG} {C.CHUNK}s in the refresh window to the {C.COLUMNSTORE} at the end of each scheduled refresh. Since 2.27.0.</li></ul> |
153153
| `config_merge` |JSONB| - | ✖| Since 2.29.0. Merge these keys into the {C.JOB}'s existing `config` instead of replacing it. The keys you pass take precedence, and the keys you leave out are unchanged. Cannot be combined with `config`. |
154154
| `next_start` |TIMESTAMPTZ| - || The next time at which to run the job. The job can be paused by setting this value to `infinity`, and restarted with a value of `now()`. |
155155
| `if_exists` |BOOLEAN| `false` || Set to `true` to issue a notice instead of an error if the job does not exist. |

0 commit comments

Comments
 (0)