Re: GSoC proposal - "make an unlogged table logged"

From: Jim Nasby <jim(at)nasby(dot)net>
To: Andres Freund <andres(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, Fabrízio Mello <fabriziomello(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: GSoC proposal - "make an unlogged table logged"
Date: 2014-04-01 17:56:04
Message-ID: 533AFDB4.8050209@nasby.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/4/14, 8:50 AM, Andres Freund wrote:
> Can't that be solved by just creating the permanent relation in a new
> relfilenode? That's equivalent to a rewrite, yes, but we need to do that
> for anything but wal_level=minimal anyway.

Maybe I'm missing something, but doesn't this actually involve writing the data twice? Once into WAL and again into the relation itself?
--
Jim C. Nasby, Data Architect jim(at)nasby(dot)net
512.569.9461 (cell) http://jim.nasby.net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2014-04-01 17:56:46 Re: Inheritance of foregn key constraints.
Previous Message Fabrízio de Royes Mello 2014-04-01 17:55:25 Re: Patch to add support of "IF NOT EXISTS" to others "CREATE" statements