Re: Query Failed, out of memory

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Query Failed, out of memory
Дата
Msg-id 452537B7.3090005@dunslane.net
обсуждение исходный текст
Ответ на Re: Query Failed, out of memory  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Query Failed, out of memory  ("Mark Woodward" <pgsql@mohawksoft.com>)
Список pgsql-hackers
Tom Lane wrote:
> "Mark Woodward" <pgsql@mohawksoft.com> writes:
>   
>> psql -p 5435 -U pgsql -t -A -c "select client, item, rating, day from
>> ratings order by client" netflix > netflix.txt
>>     
>
> FWIW, there's a feature in CVS HEAD to instruct psql to try to use a
> cursor to break up huge query results like this.  For the moment I'd
> suggest using COPY instead.
>
>     
>   

but COPY doesn't guarantee any order.

BTW, I just this morning discovered the hard way that our linux boxes 
didn't have strict memory allocation turned on, and then went and set 
it. I'd advise Mark to do the same, if he hasn't already.

cheers

andrew



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

Предыдущее
От: Chris Mair
Дата:
Сообщение: Re: Query Failed, out of memory
Следующее
От: Tom Lane
Дата:
Сообщение: timestamp subtraction (was Re: [SQL] formatting intervals with to_char)