cleanup, helperbot fixes
This commit is contained in:
parent
8613217221
commit
ead7a6ea6c
4 changed files with 34 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ services:
|
|||
# custom image for docker with pgroonga support
|
||||
image: groonga/pgroonga:latest-alpine-17
|
||||
restart: always
|
||||
shm_size: 6GB
|
||||
shm_size: 4GB
|
||||
volumes:
|
||||
- ./db:/var/lib/postgresql/data
|
||||
networks:
|
||||
|
|
|
|||
28
neptunium/srv/docker/postgres/db/postgresql.conf
Normal file
28
neptunium/srv/docker/postgres/db/postgresql.conf
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# PGTune for Neptunium.
|
||||
# Append to the bottom of the autogenerated postgresql.conf file made on first container creation.
|
||||
|
||||
# DB Version: 17
|
||||
# OS Type: linux
|
||||
# DB Type: oltp
|
||||
# Total Memory (RAM): 8 GB
|
||||
# CPUs num: 4
|
||||
# Connections num: 300
|
||||
# Data Storage: ssd
|
||||
|
||||
max_connections = 300
|
||||
shared_buffers = 2GB
|
||||
effective_cache_size = 6GB
|
||||
maintenance_work_mem = 512MB
|
||||
checkpoint_completion_target = 0.9
|
||||
wal_buffers = 16MB
|
||||
default_statistics_target = 100
|
||||
random_page_cost = 1.1
|
||||
effective_io_concurrency = 200
|
||||
work_mem = 6898kB
|
||||
huge_pages = off
|
||||
min_wal_size = 2GB
|
||||
max_wal_size = 8GB
|
||||
max_worker_processes = 4
|
||||
max_parallel_workers_per_gather = 2
|
||||
max_parallel_workers = 4
|
||||
max_parallel_maintenance_workers = 2
|
||||
Loading…
Add table
Add a link
Reference in a new issue