Skip to content

Commit

Permalink
Merge pull request #43 from qonto/fix-readme
Browse files Browse the repository at this point in the history
Fix README.md
  • Loading branch information
dcupif authored Oct 10, 2024
2 parents ed3b1c2 + 9d4699a commit 6c5125e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ PPM will process all referenced partitions and exit with a non-zero code if it d
| ------------------ | ----------------------------------------- | ----------------- |
| daily | `<parent_table>_<YYYY>_<DD>_<MM>` | `logs_2024_06_25` |
| weekly | `<parent_table>_w<week number>` | `logs_2024_w26` |
| quarterly | `<parent_table>_<YYYY>_q<quarter number>` | `logs_2024_q1` |
| quarterly | `<parent_table>_<YYYY>_q<quarter number>` | `logs_2024_q1` |
| monthly | `<parent_table>_<YYYY>_<MM>` | `logs_2024_06` |
| yearly | `<parent_table>_<YYYY>` | `logs_2024` |

Expand Down Expand Up @@ -239,14 +239,14 @@ Configuration could be defined in `postgresql-partition-manager.yaml` or environ
Partition object:
| Parameter | Description | Default |
| -------------- | ---------------------------------------------------- | ------- |
| column | Column used for partitioning | |
| interval | Partitioning interval (`daily`, `weekly`, `monthly`, `quarterly` or `yearly`) | |
| preProvisioned | Number of partitions to create in advance | |
| retention | Number of partitions to retain | |
| schema | PostgreSQL schema | |
| table | Table to be partitioned | |
| Parameter | Description | Default |
| -------------- | ----------------------------------------------------------------------------------------------------- | ------- |
| partitionKey | Column used for partitioning | |
| interval | Partitioning interval (`daily`, `weekly`, `monthly`, `quarterly` or `yearly`) | |
| preProvisioned | Number of partitions to create in advance | |
| retention | Number of partitions to retain | |
| schema | PostgreSQL schema | |
| table | Table to be partitioned | |
| cleanupPolicy | `detach` refers to detaching only the partition while `drop` refers to both detaching and dropping it | |
See the [full configuration file](configs/postgresql-partition-manager/postgresql-partition-manager.yaml).
Expand Down
3 changes: 2 additions & 1 deletion pkg/ppm/mocks/PostgreSQLClient.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6c5125e

Please sign in to comment.