Re: Hot disable WAL archiving

From: Igor Neyman <ineyman(at)perceptron(dot)com>
To: Job <Job(at)colliniconsulting(dot)it>, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Hot disable WAL archiving
Date: 2016-06-17 13:11:56
Message-ID: DM2PR07MB5577755FF943904E65D78E6DA570@DM2PR07MB557.namprd07.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


-----Original Message-----
From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-owner(at)postgresql(dot)org] On Behalf Of Job
Sent: Friday, June 17, 2016 9:01 AM
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>; pgsql-general(at)postgresql(dot)org
Subject: [GENERAL] R: Hot disable WAL archiving

Hi Albe and thank you, first of all.

Is there a way to disable Wal logging only for specific table, permanently?

Thank you again!
Francesco

________________________________________
Da: Albe Laurenz [laurenz(dot)albe(at)wien(dot)gv(dot)at]
Inviato: venerdì 17 giugno 2016 13.48
A: Job; pgsql-general(at)postgresql(dot)org
Oggetto: RE: Hot disable WAL archiving

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

--

Francesco,

Check CREATE UNLOGGED TABLE... in the docs.

Regards,
Igor

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sameer Kumar 2016-06-17 13:15:18 Re: Hot disable WAL archiving
Previous Message Job 2016-06-17 13:01:18 R: Hot disable WAL archiving