Re: Survey on backing up unlogged tables: help us with PostgreSQL development!

From: "Marc Mamin" <M(dot)Mamin(at)intershop(dot)de>
To: "PostgreSQL general" <pgsql-general(at)postgresql(dot)org>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>
Subject: Re: Survey on backing up unlogged tables: help us with PostgreSQL development!
Date: 2010-11-17 22:23:26
Message-ID: C4DAC901169B624F933534A26ED7DF31034BB90A@JENMAIL01.ad.intershop.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
another question.
I haven't read the complete threads, so I apologize if this was already discussed.

Will it be possible to switch from unlogged to logged ?

To improve COPY performances, I currently:

- make a copy of heavily indexed tables
- load new data in the shadow table
- add the indexes
- drop the live table
- rename the shadow table to the visible one.

Is it imaginable to use unlogged tables foe the shadow one and then enable logging after the switch ?

regards,

Marc Mamin

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-11-17 22:39:56 Re: Survey on backing up unlogged tables: help us with PostgreSQL development!
Previous Message Marco Colombo 2010-11-17 22:15:30 Re: Linux x Windows LOCALE/ENCODING compatibility