Re: Problem with insert into select...

From: Richard Huxton <dev(at)archonet(dot)com>
To: stephen farrell <sfarrell(at)almaden(dot)ibm(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Problem with insert into select...
Date: 2003-11-24 19:29:40
Message-ID: 200311241929.40600.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Gaetano Mendola 2003-11-24 20:20:11 Re: Optimize
Previous Message William Yu 2003-11-24 18:23:36 Re: Maximum Possible Insert Performance?