Re: Pg_upgrade speed for many tables - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Pg_upgrade speed for many tables
Date
Msg-id 20121105214256.GJ19099@momjian.us
Whole thread Raw
In response to Re: Pg_upgrade speed for many tables  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: Pg_upgrade speed for many tables  (Robert Haas <robertmhaas@gmail.com>)
Re: Pg_upgrade speed for many tables  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Mon, Nov  5, 2012 at 04:39:27PM -0500, Robert Haas wrote:
> On Mon, Nov 5, 2012 at 4:33 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> > AFAIR any transaction that modifies catalogs gets sync commit forcibly,
> > regardless of the setting.  And sync commit means you get to wait for
> > all previous transactions to be flushed as well.  So simply creating a
> > temp table ought to do the trick ...
> 
> I don't think there's a carve-out for system tables ... but creating a
> temp table with synchronous_commit=on will certainly do the trick.

What is a temp table writing to WAL?  The pg_class/pg_attribute changes?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Pg_upgrade speed for many tables
Next
From: Robert Haas
Date:
Subject: Re: Pg_upgrade speed for many tables