add settings
This commit is contained in:
parent
a24c2efb5a
commit
cd93fe381f
1 changed files with 16 additions and 0 deletions
|
|
@ -10,6 +10,22 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- dwh-local:/var/lib/postgresql/data
|
- dwh-local:/var/lib/postgresql/data
|
||||||
shm_size: 1g
|
shm_size: 1g
|
||||||
|
command:
|
||||||
|
[
|
||||||
|
"-c", "default_statistics_target=500",
|
||||||
|
"-c", "effective_io_concurrency=200",
|
||||||
|
"-c", "huge_pages=off",
|
||||||
|
"-c", "maintenance_work_mem=2000000kB",
|
||||||
|
"-c", "max_parallel_workers=4",
|
||||||
|
"-c", "max_wal_size=16288MB",
|
||||||
|
"-c", "max_worker_processes=4",
|
||||||
|
"-c", "min_wal_size=8000MB",
|
||||||
|
"-c", "random_page_cost=1.1",
|
||||||
|
"-c", "shared_buffers=4000000kB",
|
||||||
|
"-c", "work_mem=200000kB",
|
||||||
|
"-c", "max_connections=200"
|
||||||
|
]
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
dwh-local:
|
dwh-local:
|
||||||
driver: local
|
driver: local
|
||||||
Loading…
Add table
Add a link
Reference in a new issue