Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
ma_code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sven-Ove Hänsel
ma_code
Commits
560985b9
Commit
560985b9
authored
8 months ago
by
julian
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
compose.yml
+1
-1
1 addition, 1 deletion
compose.yml
postgresql.conf
+5
-5
5 additions, 5 deletions
postgresql.conf
query_test.sh
+2
-0
2 additions, 0 deletions
query_test.sh
with
8 additions
and
6 deletions
compose.yml
+
1
−
1
View file @
560985b9
...
@@ -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
:
10
gb
shm_size
:
5
gb
hostname
:
$PGHOST
hostname
:
$PGHOST
environment
:
environment
:
-
PGUSER
-
PGUSER
...
...
This diff is collapsed.
Click to expand it.
postgresql.conf
+
5
−
5
View file @
560985b9
...
@@ -127,7 +127,7 @@ max_connections = 100 # (change requires restart)
...
@@ -127,7 +127,7 @@ max_connections = 100 # (change requires restart)
# - Memory -
# - Memory -
shared_buffers
=
2
0
GB
# min 128kB
shared_buffers
=
1
0
GB
# 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
=
1
G
B
# min 64kB
work_mem
=
256
M
B
# 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
=
2
GB
# min 1MB
maintenance_work_mem
=
1
GB
# 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
=
o
n
# also do full page writes of non-critical updates
#
wal_log_hints = o
ff
# 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
=
1
GB
# 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
...
...
This diff is collapsed.
Click to expand it.
query_test.sh
0 → 100755
+
2
−
0
View file @
560985b9
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment