Re: Memory usage during vacuum

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shelby Cain <alyandon(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Memory usage during vacuum
Date: 2004-03-25 16:15:59
Message-ID: 11874.1080231359@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shelby Cain <alyandon(at)yahoo(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bas Scheffers 2004-03-25 16:27:02 Re: PHP or JSP? That is the question.
Previous Message scott.marlowe 2004-03-25 16:15:00 Re: PHP or JSP? That is the question.