From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Settings for fast restores
Date: Wed, 1 Aug 2018 09:39:01 -0500
Message-ID: <4e70e8ee-010b-28ce-9e51-f8c34ad991cc@gmail.com> (raw)
In-Reply-To: <CALd+dceWDSt8wsb3h7bbshtyWPr_Sbr+_B1xsBpGpLm2V-xULg@mail.gmail.com>
References: <158db2d8-6dc2-95c7-6247-1d405366e2ff@gmail.com>
<CALd+dceWDSt8wsb3h7bbshtyWPr_Sbr+_B1xsBpGpLm2V-xULg@mail.gmail.com>
On 08/01/2018 09:11 AM, Vick Khera wrote:
> On Wed, Aug 1, 2018 at 2:03 AM, Ron <ronljohnsonjr@gmail.com
> <mailto:ronljohnsonjr@gmail.com>> wrote:
>
> Hi,
>
> http://www.databasesoup.com/2014/09/settings-for-fast-pgrestore.html
> <http://www.databasesoup.com/2014/09/settings-for-fast-pgrestore.html;
>
> shared_buffers = 1/2 of what you'd usually set
> maintenance_work_mem = 1GB-2GB
> wal_level = minimal
> full_page_writes = off
> wal_buffers = 64MB
> checkpoint_segments = 256 or higher
> max_wal_senders = 0
> wal_keep_segments = 0
>
> How many of these 4 year old setting recommendations are still valid
> for 9.6?
>
>
> They all look still valid to me. I personally also set fsync=off since I
> can always start over if the machine crashes and corrupts the data.
Right. I didn't mention these, because they seem version-agnostic:
fsync = off
synchronous_commit = off
archive_mode = off
autovacuum = off
all activity logging settings disabled
--
Angular momentum makes the world go 'round.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ronljohnsonjr@gmail.com
Subject: Re: Settings for fast restores
In-Reply-To: <4e70e8ee-010b-28ce-9e51-f8c34ad991cc@gmail.com>
References: <158db2d8-6dc2-95c7-6247-1d405366e2ff@gmail.com> <CALd+dceWDSt8wsb3h7bbshtyWPr_Sbr+_B1xsBpGpLm2V-xULg@mail.gmail.com> <4e70e8ee-010b-28ce-9e51-f8c34ad991cc@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox