Re: [Bizgres-general] Re: faster INSERT with possible - Mailing list pgsql-performance

From Josh Berkus
Subject Re: [Bizgres-general] Re: faster INSERT with possible
Date
Msg-id 200507270929.10251.josh@agliodbs.com
Whole thread Raw
In response to Re: [Bizgres-general] Re: faster INSERT with possible  ("Luke Lonergan" <llonergan@greenplum.com>)
Responses Re: [Bizgres-general] Re: faster INSERT with possible
Re: [Bizgres-general] Re: faster INSERT with possible
Re: [Bizgres-general] Re: faster INSERT with possible
List pgsql-performance
Luke,

> Well - now that I test it, it appears you are correct, temp table COPY
> bypasses WAL - thanks for pointing it out!

RIght.  The problem is bypassing WAL for loading new "scratch" tables which
aren't TEMPORARY tables.   We need to do this for multi-threaded ETL, since:
a) Temp tables can't be shared by several writers, and
b) you can't index a temp table.

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: "Tomeh, Husam"
Date:
Subject: Re: "Vacuum Full Analyze" taking so long
Next
From: Kris Jurka
Date:
Subject: Re: [Bizgres-general] Re: faster INSERT with possible