Re: Settings for fast restores

From: Vick Khera <vivek(at)khera(dot)org>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Settings for fast restores
Date: 2018-08-01 14:11:21
Message-ID: CALd+dceWDSt8wsb3h7bbshtyWPr_Sbr+_B1xsBpGpLm2V-xULg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Aug 1, 2018 at 2:03 AM, Ron <ronljohnsonjr(at)gmail(dot)com> wrote:

> Hi,
>
> 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rijo Roy 2018-08-01 14:15:23 Re: Template0 datfrozenxid age is 160million and progressing
Previous Message Tom Lane 2018-08-01 14:08:27 Re: Template0 datfrozenxid age is 160million and progressing