Re: Hot disable WAL archiving

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Job *EXTERN*'" <Job(at)colliniconsulting(dot)it>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Hot disable WAL archiving
Date: 2016-06-17 11:48:11
Message-ID: A737B7A37273E048B164557ADEF4A58B53862193@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Job wrote:
> is there a way in Postgresql-9.5 to disable temporarily WAL archiving to speed up pg_bulkload with
> restarting database engine?

You can set 'archive_command=/bin/true' and reload, then no WAL
archives will be written.

Make sure to perform a base backup as soon as your bulk load
is finished.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Oleg Bartunov 2016-06-17 11:53:34 Re: Question about RUM-index
Previous Message Job 2016-06-17 11:30:32 Hot disable WAL archiving