7 Commits

Author SHA1 Message Date
Ivan Folgueira Bande
062cb6d51a
set max_locks_per_transaction to 2160
We are using partitions in our postgres DBs. And we have one
partition per hour (24 partitions per day.)

The default max_locks_per_transaction value (64) can cause
"our of memory" and block issues in the DB because we use to
have more than 64 partitions.

With 2160 we aim to avoid that issue for 90 days (2160 == 90*24.)
if we consider a time retention policy of 90 days. Nevertheless,
we usually have time retention policy of 30 days in our Status fleets,
but we are just adding some extra margin.
2024-06-26 13:15:24 +02:00
8a94903ad0
store-db: disable database backups
We don't need them currently.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:53:23 +01:00
32662b3bd8
store-db: add Write Ahead Log size limits
Related to:
https://github.com/status-im/infra-role-postgres-ha/issues/3

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-09 14:05:26 +01:00
9345291a26
store-db: disable db dump timer
Not necessary for now, failes due to timeouts.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-01-02 13:38:44 +01:00
710444384b
node-db: disable replication explicitly
https://github.com/status-im/infra-role-postgres-ha/commit/97f525e9

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-22 13:30:26 +01:00
Anton Iakimov
3d0eb07857
bootstrap: provide SSH access to ivansete 2023-10-04 12:41:41 +02:00
Anton Iakimov
592b15b1e3
store-db: forgotten group_vars 2023-09-29 12:29:40 +02:00