Tune sanitizer postgres and bump workflow image
This commit is contained in:
parent
1c13a407a2
commit
176445e9f9
@ -44,8 +44,10 @@ spec:
|
|||||||
max_connections = 60
|
max_connections = 60
|
||||||
autovacuum = off
|
autovacuum = off
|
||||||
jit = off
|
jit = off
|
||||||
|
max_worker_processes = 32
|
||||||
max_parallel_workers = 4
|
max_parallel_workers = 4
|
||||||
max_parallel_maintenance_workers = 2
|
max_parallel_maintenance_workers = 2
|
||||||
|
max_parallel_workers_per_gather = 0
|
||||||
max_wal_size = 16GB
|
max_wal_size = 16GB
|
||||||
checkpoint_timeout = 1h
|
checkpoint_timeout = 1h
|
||||||
checkpoint_completion_target = 0.9
|
checkpoint_completion_target = 0.9
|
||||||
@ -53,6 +55,8 @@ spec:
|
|||||||
max_wal_senders = 0
|
max_wal_senders = 0
|
||||||
archive_mode = off
|
archive_mode = off
|
||||||
random_page_cost = 1.1
|
random_page_cost = 1.1
|
||||||
|
timescaledb.max_background_workers = 16
|
||||||
|
timescaledb.telemetry_level = off
|
||||||
terminationGracePeriodSeconds: 3600
|
terminationGracePeriodSeconds: 3600
|
||||||
customStartupProbe:
|
customStartupProbe:
|
||||||
exec:
|
exec:
|
||||||
|
|||||||
@ -68,7 +68,7 @@ spec:
|
|||||||
value: sts
|
value: sts
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
container:
|
container:
|
||||||
image: cr.yandex/crp3ccidau046kdj8g9q/yc-pg-sanitizer:0.1.8
|
image: cr.yandex/crp3ccidau046kdj8g9q/yc-pg-sanitizer:0.1.10
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /usr/local/bin/company_sanitize_from_s3.sh
|
- /usr/local/bin/company_sanitize_from_s3.sh
|
||||||
@ -93,6 +93,8 @@ spec:
|
|||||||
value: postgres
|
value: postgres
|
||||||
- name: PGSSLMODE
|
- name: PGSSLMODE
|
||||||
value: disable
|
value: disable
|
||||||
|
- name: PG_ALLOW_NONLOCAL
|
||||||
|
value: "false"
|
||||||
- name: PGRESTORE_JOBS
|
- name: PGRESTORE_JOBS
|
||||||
value: "6"
|
value: "6"
|
||||||
- name: DB_WORK_MEM
|
- name: DB_WORK_MEM
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user