[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

[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