Re: where does postgres keep the query result until it is returned?

Поиск
Список
Период
Сортировка
От Willy-Bas Loos
Тема Re: where does postgres keep the query result until it is returned?
Дата
Msg-id AANLkTinaexYwScB0bsO9Nn0Sy3=rtNhW73YxHMBUFwoM@mail.gmail.com
обсуждение исходный текст
Ответ на Re: where does postgres keep the query result until it is returned?  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: where does postgres keep the query result until it is returned?  (Willy-Bas Loos <willybas@gmail.com>)
Список pgsql-general
One thing that i think works is to create a table from your results.
That is, if your result is not one big chunk in one row that won't fit
in memory, but lots of rows.

like this:
create table foo as
select <humongous query>

If you use "screen" (on linux) you can log out while your humongous
query runs on the server.

Cheers,

WBL
--
"Patriotism is the conviction that your country is superior to all
others because you were born in it." -- George Bernard Shaw

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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: PgWest 2010 talk descriptions are up
Следующее
От: Michael Norman
Дата:
Сообщение: custom analyze function