Controlling memory of session

Поиск
Список
Период
Сортировка
От James Im
Тема Controlling memory of session
Дата
Msg-id BAY7-F12EC4919C120FE17D5A3E96AB0@phx.gbl
обсуждение исходный текст
Ответы Re: Controlling memory of session  (Richard Huxton <dev@archonet.com>)
Re: Controlling memory of session  (Jeff Davis <pgsql@j-davis.com>)
Список 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 по дате отправления:

Предыдущее
От: "Toni Casueps"
Дата:
Сообщение: copy row tree
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Controlling memory of session