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

From Simon Riggs
Subject Re: [Bizgres-general] Re: faster INSERT with possible
Date
Msg-id 1122500267.3670.184.camel@localhost.localdomain
Whole thread Raw
In response to Re: [Bizgres-general] Re: faster INSERT with possible  (Josh Berkus <josh@agliodbs.com>)
Responses Re: [Bizgres-general] Re: faster INSERT with possible
List pgsql-performance
On Wed, 2005-07-27 at 09:29 -0700, Josh Berkus wrote:
> 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.

The description of "scratch" tables might need some slight
clarification. It kindof makes it sound like temp tables.

I had in mind the extra tables that an application sometimes needs to
operate faster. Denormalisations, pre-joined tables, pre-calculated
results, aggregated data. These are not temporary tables, just part of
the application - multi-user tables that stay across shutdown/restart.

If you have gallons of GB, you will probably by looking to make use of
such tables.

You can use such tables for the style of ETL known as ELT, but that is
not the only use.

Best Regards, Simon Riggs


pgsql-performance by date:

Previous
From: Sebastian Hennebrueder
Date:
Subject: Re: Mirroring PostgreSQL database
Next
From: PFC
Date:
Subject: Re: [Bizgres-general] Re: faster INSERT with possible