Skip to content

Commit

Permalink
Merge pull request #4666 from Tishj/patch-24
Browse files Browse the repository at this point in the history
Add `force_compression` and `disabled_compression_methods` to the list of pragmas, under the Checkpointing section
  • Loading branch information
szarnyasg authored Feb 5, 2025
2 parents 0219d4e + b3607a9 commit 4410745
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/configuration/pragmas.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,27 @@ PRAGMA disable_object_cache;

## Checkpointing

#### Compression

During checkpointing, the existing column data + any new changes get compressed.
There exist a couple pragmas to influence which compression functions are considered.

##### Force Compression

Prefer using this compression method over any other method if possible:

```sql
PRAGMA force_compression = 'bitpacking';
```

##### Disabled Compression Methods

Avoid using any of the listed compression methods from the comma separated list:

```sql
PRAGMA disabled_compression_methods = 'fsst,rle';
```

#### Force Checkpoint

When [`CHECKPOINT`]({% link docs/sql/statements/checkpoint.md %}) is called when no changes are made, force a checkpoint regardless:
Expand Down

0 comments on commit 4410745

Please sign in to comment.