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: Fri, 29 Sep 2006 00:37:37 -0400
Message-ID: <efi7u5$265b$1@news.hub.org> (raw)
References: <efgu4v$276m$1@news.hub.org>
	<b42b73150609281017m7f8f9d86xfa32d38cec954af7@mail.gmail.com>
	<efh26m$2fd$1@news.hub.org>
	<20060928184538.GV34238@nasby.net>
	<efhag4$1n9d$1@news.hub.org>
	<b42b73150609281355w5df1cb17qb6459ff2179ba9c0@mail.gmail.com>

> imo, the key to high performance big data movements in postgresql is
> mastering sql and pl/pgsql, especially the latter.  once you get good
> at it, your net time of copy+plpgsql is going to be less than
> insert+tcl.

If this implies bulk inserts, I'm afraid I have to consider something else. 
Any data that has been imported and dedpulicated has to be placed back into 
the database so that it can be available for the next imported row (there 
are currently 16 tables affected, and more to come). If I was to cache all 
inserts into a seperate resource, then I would have to search 32 tables - 
the local pending resources, as well as the data still in the system. I am 
not even mentioning that imports do not just insert rows, they could just 
rows, adding their own complexity. 





view thread (40+ messages)  latest in thread

Message-ID: <efi7u5$265b$1@news.hub.org>
Permalink:  ../efi7u5$265b$1@news.hub.org/
Also on:    postgresql.org/message-id/efi7u5$265b$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: <efi7u5$265b$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