Postmaster memory problem

Поиск
Список
Период
Сортировка
От Ricardo J.C.Coelho
Тема Postmaster memory problem
Дата
Msg-id 01BE5099.394082A0.pulsar@truenet-ce.com.br
обсуждение исходный текст
Список pgsql-general
Hi,

Does anybody use a single query affecting many rows (100,000 or more) ?

I have a table with 500,000 rows. If I update all rows with one query (For
example: update table set field='A';), postmaster will allocate the memory
of the computer (including swap area), until "palloc memory exhauted". The
same thing happens with COPY command. To load this table I splited the text
file in many smaller files.

What did I do wrong during Pgsql compilation ? I'm using RedHat 5.2 (Intel)
and Pgsql 6.4.2

Is there a way to limit the amount of memory used by postmaster ? I tried
ulimit (unix command) and postmaster option but it aborted.

Thanks,

Ricardo Coelho.

В списке pgsql-general по дате отправления:

Предыдущее
От: Sebestyen Zoltan
Дата:
Сообщение: Re: [GENERAL] vacuum problems
Следующее
От: "Ricardo J.C.Coelho"
Дата:
Сообщение: Index problem with Timestamp fields