Skip to content

Commit 051a917

Browse files
committed
Updated Postgres parameters
1 parent 08b8a7e commit 051a917

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/servers/pgvector-single-node/docker-compose.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ services:
1111
- POSTGRES_HOST_AUTH_METHOD=trust
1212
# shared_buffers should be 25% of memory
1313
# maintenance_work_mem should be ~65%
14-
command: postgres -c shared_buffers=2GB -c maintenance_work_mem=5GB -c max_connections=200
14+
command: postgres -c shared_buffers=6GB -c maintenance_work_mem=16GB -c max_connections=200
1515
# shm_size should be shared_buffers + maintenance_work_mem
16-
shm_size: 7g
16+
shm_size: 22g
1717
ports:
1818
- 5432:5432
1919
logging:

0 commit comments

Comments
 (0)