Re: [PERFORM] Problem with insert into select...

2003-12-09 Thread Neil Conway
stephen farrell <[EMAIL PROTECTED]> writes: > With the indexes created it worked. It took about 4 hours, but it > inserted all of the records. Has this been satisfactorily resolved? If not, can you post an EXPLAIN ANALYZE for the failing query, as Tom asked earlier? -Neil

Re: [PERFORM] Problem with insert into select...

2003-11-24 Thread Richard Huxton
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

[PERFORM] Problem with insert into select...

2003-11-24 Thread stephen farrell
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. I'm not sure why this would happen -- does it buffer the subselect before doing the insert? Things

Re: [PERFORM] Problem with insert into select...

2003-11-20 Thread stephen farrell
, With the indexes created it worked. It took about 4 hours, but it inserted all of the records. stephen farrell <[EMAIL PROTECTED]> 11/20/2003 05:22 PM To:James Rhodes/Almaden/[EMAIL PROTECTED] cc: Subject:Re: [Fwd: Re: [PERFORM] Problem with

Re: [PERFORM] Problem with insert into select...

2003-11-20 Thread Tom Lane
stephen farrell <[EMAIL PROTECTED]> writes: > 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. I'm not sure > why this would happen -- does it

[PERFORM] Problem with insert into select...

2003-11-20 Thread stephen farrell
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. I'm not sure why this would happen -- does it buffer the subselect before doing the insert? Things