pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Carlo Stonebanks <stonec.register@sympatico.ca>
To: pgsql-performance@postgresql.org
Subject: Re: Performace Optimization for Dummies
Date: Mon, 2 Oct 2006 23:03:31 -0400
Message-ID: <efsju4$1fvi$1@news.hub.org> (raw)
References: <efgu4v$276m$1@news.hub.org>
	<451D0F67.4040309@logix-tt.com>

> Did you think about putting the whole data into PostgreSQL using COPY in
> a nearly unprocessed manner, index it properly, and then use SQL and
> stored functions to transform the data inside the database to the
> desired result?

This is actually what we are doing. The slowness is on the row-by-row 
transformation. Every row reqauires that all the inserts and updates of the 
pvious row be committed - that's why we have problems figuring out how to 
use this using SQL set logic.

Carlo 





view thread (40+ messages)  latest in thread

Message-ID: <efsju4$1fvi$1@news.hub.org>
Permalink:  ../efsju4$1fvi$1@news.hub.org/
Also on:    postgresql.org/message-id/efsju4$1fvi$1@news.hub.org

 · 

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: stonec.register@sympatico.ca
  Subject: Re: Performace Optimization for Dummies
  In-Reply-To: <efsju4$1fvi$1@news.hub.org>

* 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