Skip to content
Snippets Groups Projects
Commit 560985b9 authored by julian's avatar julian
Browse files

fixed configuration mistakes, added script to launch query test environment

parent 4322918d
No related branches found
No related tags found
No related merge requests found
...@@ -36,7 +36,7 @@ services: ...@@ -36,7 +36,7 @@ services:
postgres: postgres:
build: postgres build: postgres
command: -c config_file=/postgres_conf command: -c config_file=/postgres_conf
shm_size: 10gb shm_size: 5gb
hostname: $PGHOST hostname: $PGHOST
environment: environment:
- PGUSER - PGUSER
......
...@@ -127,7 +127,7 @@ max_connections = 100 # (change requires restart) ...@@ -127,7 +127,7 @@ max_connections = 100 # (change requires restart)
# - Memory - # - Memory -
shared_buffers = 20GB # min 128kB shared_buffers = 10GB # min 128kB
# (change requires restart) # (change requires restart)
#huge_pages = try # on, off, or try #huge_pages = try # on, off, or try
# (change requires restart) # (change requires restart)
...@@ -138,9 +138,9 @@ shared_buffers = 20GB # min 128kB ...@@ -138,9 +138,9 @@ shared_buffers = 20GB # min 128kB
# (change requires restart) # (change requires restart)
# Caution: it is not advisable to set max_prepared_transactions nonzero unless # Caution: it is not advisable to set max_prepared_transactions nonzero unless
# you actively intend to use prepared transactions. # you actively intend to use prepared transactions.
work_mem = 1GB # min 64kB work_mem = 256MB # min 64kB
#hash_mem_multiplier = 2.0 # 1-1000.0 multiplier on hash table work_mem #hash_mem_multiplier = 2.0 # 1-1000.0 multiplier on hash table work_mem
maintenance_work_mem = 2GB # min 1MB maintenance_work_mem = 1GB # min 1MB
#autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem #autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem
#logical_decoding_work_mem = 64MB # min 64kB #logical_decoding_work_mem = 64MB # min 64kB
#max_stack_depth = 2MB # min 100kB #max_stack_depth = 2MB # min 100kB
...@@ -223,13 +223,13 @@ dynamic_shared_memory_type = posix # the default is usually the first option ...@@ -223,13 +223,13 @@ dynamic_shared_memory_type = posix # the default is usually the first option
# fsync_writethrough # fsync_writethrough
# open_sync # open_sync
#full_page_writes = on # recover from partial page writes #full_page_writes = on # recover from partial page writes
wal_log_hints = on # also do full page writes of non-critical updates #wal_log_hints = off # also do full page writes of non-critical updates
# (change requires restart) # (change requires restart)
wal_compression = on # enables compression of full-page writes; wal_compression = on # enables compression of full-page writes;
# off, pglz, lz4, zstd, or on # off, pglz, lz4, zstd, or on
#wal_init_zero = on # zero-fill new WAL files #wal_init_zero = on # zero-fill new WAL files
#wal_recycle = on # recycle WAL files #wal_recycle = on # recycle WAL files
wal_buffers = 1GB # min 32kB, -1 sets based on shared_buffers #wal_buffers = -1 # min 32kB, -1 sets based on shared_buffers
# (change requires restart) # (change requires restart)
#wal_writer_delay = 200ms # 1-10000 milliseconds #wal_writer_delay = 200ms # 1-10000 milliseconds
#wal_writer_flush_after = 1MB # measured in pages, 0 disables #wal_writer_flush_after = 1MB # measured in pages, 0 disables
......
#!/usr/bin/bash
docker compose --profile inspect -f compose.yml -f compose.load-data.yml -f compose.edge-id.yml -f compose.fill-edge-id.yml -f compose.index.yml up -d
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment