From: Richard Huxton <dev@archonet.com>
To: stephen farrell <sfarrell@almaden.ibm.com>
To: pgsql-performance@postgresql.org
Subject: Re: Problem with insert into select...
Date: Mon, 24 Nov 2003 19:29:40 +0000
Message-ID: <200311241929.40600.dev@archonet.com> (raw)
In-Reply-To: <3FBD2C5D.8000706@almaden.ibm.com>
References: <3FBD2C5D.8000706@almaden.ibm.com>
On Thursday 20 November 2003 21:04, stephen farrell wrote:
> I'm having a problem with a queyr like: INSERT INTO FACT (x,x,x,x,x,x)
> SELECT a.key,b.key,c.key,d.key,e.key,f.key from x,a,b,c,d,e,f where x=a
> and x=b .... -- postgres7.4 is running out of memory.
When this has happened to me it's always been because I've got an
unconstrained join due to pilot error. Try an EXPLAIN on the select part and
see if that pops up anything.
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, sfarrell@almaden.ibm.com
Subject: Re: Problem with insert into select...
In-Reply-To: <200311241929.40600.dev@archonet.com>
* 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