We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58ea405 commit 038a270Copy full SHA for 038a270
startDb.sh
@@ -1,4 +1,13 @@
1
-docker run --rm --name postgres -e 'POSTGRES_USER=root' -e 'POSTGRES_PASSWORD=root' -d -p 5432:5432 -v ~/Desktop/db/pstgres:/var/lib/postgresql/data postgres -c 'max_connections=10000'
+docker run --rm --name postgres \
2
+ -e 'POSTGRES_USER=root' \
3
+ -e 'POSTGRES_PASSWORD=root' \
4
+ -d -p 5432:5432 \
5
+ -v ~/Desktop/db/pstgres:/var/lib/postgresql/data \
6
+ postgres \
7
+ -c 'max_connections=1000' \
8
+ -c 'autovacuum_naptime=1' \
9
+ -c 'autovacuum_vacuum_threshold=10' \
10
+ -c 'autovacuum_analyze_threshold=10'
11
12
sleep 30
13
0 commit comments