Re: out of memory

From: "Tena Sakai" <tsakai(at)gallo(dot)ucsf(dot)edu>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Tino Schwarze" <postgresql(at)tisc(dot)de>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: out of memory
Date: 2007-09-12 15:25:51
Message-ID: FE44E0D7EAD2ED4BB2165071DB8E328C03062C02@egcrc-ex01.egcrc.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Many thanks, Tom and Tino.

Tena Sakai
tsakai(at)gallo(dot)ucsf(dot)edu

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Wed 9/12/2007 7:20 AM
To: Tino Schwarze
Cc: pgsql-admin(at)postgresql(dot)org; Tena Sakai
Subject: Re: [ADMIN] out of memory

Tino Schwarze <postgresql(at)tisc(dot)de> writes:
> On Tue, Sep 11, 2007 at 09:15:56PM -0700, Tena Sakai wrote:
>> But there's a problem, for which I hope you have
>> more wisdom. The reason why I tried that query
>> is because someone tried the same thing via odbc
>> from pc quering postgres database and got the
>> same error ("out of memory").
>>
>> What can a pc user do? Anything?

> Tell the user that he/she should use an appropiate WHERE clause. You
> might also consider adding more swap to the machine. Then it will go
> horribly slow, but it will work.

Or turn the query into a cursor so you can FETCH a reasonable number of
rows at a time.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Jessica Richard 2007-09-12 17:10:51 how to change the port number for the Postgres server
Previous Message Tom Lane 2007-09-12 14:37:49 Re: Error installing Postgres 8.2.4