Re: Hot disable WAL archiving - Mailing list pgsql-general

From Igor Neyman
Subject Re: Hot disable WAL archiving
Date
Msg-id DM2PR07MB5577755FF943904E65D78E6DA570@DM2PR07MB557.namprd07.prod.outlook.com
Whole thread Raw
In response to R: Hot disable WAL archiving  (Job <Job@colliniconsulting.it>)
Responses Re: Hot disable WAL archiving  (Sameer Kumar <sameer.kumar@ashnik.com>)
List pgsql-general
-----Original Message-----
From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of Job
Sent: Friday, June 17, 2016 9:01 AM
To: Albe Laurenz <laurenz.albe@wien.gv.at>; pgsql-general@postgresql.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.albe@wien.gv.at]
Inviato: venerdì 17 giugno 2016 13.48
A: Job; pgsql-general@postgresql.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


pgsql-general by date:

Previous
From: Job
Date:
Subject: R: Hot disable WAL archiving
Next
From: Sameer Kumar
Date:
Subject: Re: Hot disable WAL archiving