Re: Memory usage / concept - Mailing list pgsql-general

From Jakub Ouhrabka
Subject Re: Memory usage / concept
Date
Msg-id Pine.LNX.4.44.0208051601230.7152-100000@server
Whole thread Raw
In response to Memory usage / concept  (Valerie Schneider DSI/DEV <Valerie.Schneider@meteo.fr>)
Responses Re: Memory usage / concept
List pgsql-general
> >i think it's your client (psql) what's actually crashing. it's attempting
>
> Yes it is. But without using a cursor (and even if this kind of query isn't
> recommended) is there any solution to limit the use of the memory by PG itself
> (as for Oracle) ?

if you want to limit memory usage of psql (the client program), use
standard *nix tools - there isn't anything i know about in config etc...
if you want to limit memory usage of postgresql server itself, use
configuration parametrs shared_buffers and sort_mem. see:
http://www.postgresql.org/idocs/index.php?runtime-config.html

kuba





pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: O'Reilly Open Source Convention Report
Next
From: Tom Lane
Date:
Subject: Re: Foreign keys: referencing a REFERENCES doesn7t work?