Re: COPY with no WAL, in certain circumstances - Mailing list pgsql-patches

From Euler Taveira de Oliveira
Subject Re: COPY with no WAL, in certain circumstances
Date
Msg-id 20070106184157.GC3022@timbira.com
Whole thread Raw
In response to COPY with no WAL, in certain circumstances  ("Simon Riggs" <simon@2ndquadrant.com>)
Responses Re: COPY with no WAL, in certain circumstances
Re: COPY with no WAL, in certain circumstances
List pgsql-patches
Simon Riggs wrote:

> As discussed on -hackers, its possible to avoid writing any WAL at all
> for COPY in these circumstances:
>
Cool.

> The enclosed patch implements this, as discussed. There is no user
> interface to enable/disable, just as with CTAS and CREATE INDEX; no
> docs, just code comments.
>
IMHO, this deserves an GUC parameter (use_wal_in_copy?). Because a lot
of people use COPY because it's faster than INSERT but expects that it
will be in WAL. The default would be use_wal_in_copy = true.


--
  Euler Taveira de Oliveira
  http://www.timbira.com/


pgsql-patches by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: COPY with no WAL, in certain circumstances
Next
From: "Joshua D. Drake"
Date:
Subject: Re: COPY with no WAL, in certain circumstances