From 4b15382b2f14af13f94a64d19dce3ed644a45bd8 Mon Sep 17 00:00:00 2001 From: maxmcd Date: Wed, 19 Jun 2019 09:25:13 -0400 Subject: [PATCH] disable fsync and full page writes --- postgresql.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgresql.conf b/postgresql.conf index b2de0b9..0096ca6 100644 --- a/postgresql.conf +++ b/postgresql.conf @@ -171,7 +171,7 @@ dynamic_shared_memory_type = posix # the default is the first option #wal_level = minimal # minimal, archive, hot_standby, or logical # (change requires restart) -#fsync = on # turns forced synchronization on or off +fsync = off # turns forced synchronization on or off #synchronous_commit = on # synchronization level; # off, local, remote_write, or on #wal_sync_method = fsync # the default is the first option @@ -181,7 +181,7 @@ dynamic_shared_memory_type = posix # the default is the first option # fsync # fsync_writethrough # open_sync -#full_page_writes = on # recover from partial page writes +full_page_writes = off # recover from partial page writes #wal_compression = off # enable compression of full-page writes #wal_log_hints = off # also do full page writes of non-critical updates # (change requires restart) @@ -622,4 +622,4 @@ include_if_exists = '/circleconfig/postgres/extra.conf' # include file only if i # CUSTOMIZED OPTIONS #------------------------------------------------------------------------------ -# Add settings for extensions here \ No newline at end of file +# Add settings for extensions here