Skip to content

Commit

Permalink
Speed up PostGIS database with with synchronous_commit=off and more
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyfok committed Apr 29, 2021
1 parent a2d9d0c commit 841bfed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,7 @@ services:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASS: ${POSTGRES_PASS}
POSTGRES_DB: ${DB_NAME}


command: -c fsync=off -c full_page_writes=off -c synchronous_commit=off

restart: on-failure

0 comments on commit 841bfed

Please sign in to comment.