Skip to content

Commit

Permalink
PM-1737 - Increase Archive DB performance
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmarcou committed Jun 12, 2024
1 parent 9cae1bc commit fcba5bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mina-archive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ helmfile status
| postgresql.auth.password | string | `"password"` | Password for the database |
| postgresql.auth.username | string | `"username"` | Username for the database |
| postgresql.enabled | bool | `true` | Enable local postgresql database server |
| postgresql.primary.extendedConfiguration | string | `"max_wal_size=2048\n"` | Extended configuration to configure postgresql server |
| postgresql.primary.extendedConfiguration | string | `"max_connections=500\nmax_locks_per_transaction=100\nmax_pred_locks_per_relation=100\nmax_pred_locks_per_transaction=5000\nmax_wal_size=2048\n"` | Extended configuration to configure postgresql server |
| postgresql.primary.persistence.enabled | bool | `true` | Enable the persistence for the postgresql server |
| postgresql.primary.persistence.size | string | `"8Gi"` | Size of the postgresql server volume |
| postgresql.primary.persistence.storageClass | string | `""` | Storage class for the postgresql server volume |
Expand Down
4 changes: 4 additions & 0 deletions mina-archive/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ postgresql:
resourcesPreset: "nano"
# -- Extended configuration to configure postgresql server
extendedConfiguration: |
max_connections=500
max_locks_per_transaction=100
max_pred_locks_per_relation=100
max_pred_locks_per_transaction=5000
max_wal_size=2048
persistence:
# -- Enable the persistence for the postgresql server
Expand Down

0 comments on commit fcba5bc

Please sign in to comment.