Re: Memory usage during vacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Memory usage during vacuum
Дата
Msg-id 11874.1080231359@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Memory usage during vacuum  (Shelby Cain <alyandon@yahoo.com>)
Ответы Re: Memory usage during vacuum  ("Uwe C. Schroeder" <uwe@oss4u.com>)
Re: Memory usage during vacuum  (Shelby Cain <alyandon@yahoo.com>)
Список pgsql-general
Shelby Cain <alyandon@yahoo.com> writes:
> I'm trying to keep postgresql's memory usage
> under 40 megs under all conditions so that other
> services/applications don't grind to a halt due to
> swapping.  Is there any way to achieve my goal?

Don't use VACUUM FULL.  The vacuum_mem setting only limits the space
consumed by plain VACUUM --- VACUUM FULL needs to keep track of all the
free space in the table, and will eat as much memory as it has to to do
that.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: conversion_create.sql (Related to BUG#1072)
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: PHP or JSP? That is the question.