Problem with insert into select...

Поиск
Список
Период
Сортировка
От stephen farrell
Тема Problem with insert into select...
Дата
Msg-id 3FBD2D8B.8020509@almaden.ibm.com
обсуждение исходный текст
Ответы Re: Problem with insert into select...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
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 are pretty big scale: 3gb ram, 32768 shared buffers, 700gb disk,
millions of rows in the tables.





В списке pgsql-performance по дате отправления:

Предыдущее
От: Chester Kustarz
Дата:
Сообщение: Re: [HACKERS] More detail on settings for pgavd?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Problem with insert into select...