Controlling memory of session - Mailing list pgsql-general

From James Im
Subject Controlling memory of session
Date
Msg-id BAY7-F12EC4919C120FE17D5A3E96AB0@phx.gbl
Whole thread Raw
Responses Re: Controlling memory of session  (Richard Huxton <dev@archonet.com>)
Re: Controlling memory of session  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-general
Hi,

I'm using Postgresql 8.1 on windows2000 and I have a hard time
understanding how to limit the memory of the sessions to 1 MB.

What I have right now is that each connection (opened with jdbc) takes
about 3MB (some take a little more, some a little less). I think that
this is a waste of memory (am-I wrong?).


I've read the doc
(http://www.postgresql.org/docs/8.1/static/runtime-config-resource.html)
for work_mem  and temp_buffers and they have this value:

work_mem = 1024
temp_buffers = 100

What am I missing to limit the memory taken by session to 1MB?

In addition I'd like to understand better temp_buffers. I never create
temporary tables but I wonder if postgresql does it behind the scene
when I do some big selects.

_________________________________________________________________
Del dine store filer uden problemer p� MSN Messenger:
http://messenger.msn.dk/


pgsql-general by date:

Previous
From: "Toni Casueps"
Date:
Subject: copy row tree
Next
From: Richard Huxton
Date:
Subject: Re: Controlling memory of session