From: | "James Im" <im-james(at)hotmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Controlling memory of session |
Date: | 2007-01-17 11:02:00 |
Message-ID: | BAY7-F12EC4919C120FE17D5A3E96AB0@phx.gbl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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/
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2007-01-17 12:20:24 | Re: Controlling memory of session |
Previous Message | Toni Casueps | 2007-01-17 10:46:52 | copy row tree |