pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Simon Riggs <simon@2ndquadrant.com>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org, John A Meinel <john@arbash-meinel.com>
Cc: bizgres-general <bizgres-general@pgfoundry.org>
Cc: Dan Harris <fbsd@drivefaster.net>
Subject: Re: [Bizgres-general] Re: faster INSERT with possible
Date: Wed, 27 Jul 2005 22:37:47 +0100
Message-ID: <1122500267.3670.184.camel@localhost.localdomain> (raw)
In-Reply-To: <200507270929.10251.josh@agliodbs.com>
References: <BF0BDD48.9FFF%llonergan@greenplum.com>
	<200507270929.10251.josh@agliodbs.com>

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




view thread (6+ messages)  latest in thread

Message-ID: <1122500267.3670.184.camel@localhost.localdomain>
Permalink:  ../1122500267.3670.184.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1122500267.3670.184.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: simon@2ndquadrant.com, josh@agliodbs.com, john@arbash-meinel.com, bizgres-general@pgfoundry.org, fbsd@drivefaster.net
  Subject: Re: [Bizgres-general] Re: faster INSERT with possible
  In-Reply-To: <1122500267.3670.184.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox