Re: Implement UNLOGGED clause for COPY FROM - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Implement UNLOGGED clause for COPY FROM
Date
Msg-id CAHut+PuVwHi5owcwbDmb38-mQWF3GWw9FTgCFeWXE3fjBOE4cw@mail.gmail.com
Whole thread Raw
In response to RE: Implement UNLOGGED clause for COPY FROM  ("tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>)
Responses RE: Implement UNLOGGED clause for COPY FROM  ("tsunakawa.takay@fujitsu.com" <tsunakawa.takay@fujitsu.com>)
List pgsql-hackers
On Thu, Sep 10, 2020 at 7:16 PM tsunakawa.takay@fujitsu.com
<tsunakawa.takay@fujitsu.com> wrote:

> ALTER TABLE takes long time proportional to the amount of existing data, while wal_level = none doesn't.

Right, but if wal_level=none is considered OK for that table with
existing data, then why not just create the table UNLOGGED in the
first place? (or ALTER it to set UNLOGGED just one time and then leave
it as UNLOGGED).

Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: logtape.c stats don't account for unused "prefetched" block numbers
Next
From: Justin Pryzby
Date:
Subject: Re: Fix for parallel BTree initialization bug