Re: Query Failed, out of memory - Mailing list pgsql-hackers

From Mark Woodward
Subject Re: Query Failed, out of memory
Date
Msg-id 18040.24.91.171.78.1160067799.squirrel@mail.mohawksoft.com
Whole thread Raw
In response to Re: Query Failed, out of memory  (Andrew Dunstan <andrew@dunslane.net>)
List 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.
>

Yea, I've been toying with the idea of that setting lately, I can't for
the life of me understand why it isn't the default behavior.


pgsql-hackers by date:

Previous
From: "Luke Lonergan"
Date:
Subject: Re: Query Failed, out of memory
Next
From: Oleg Bartunov
Date:
Subject: Win XP SP2 SMP locking (8.1.4)