Re: Memory usage during vacuum - Mailing list pgsql-general

From Tom Lane
Subject Re: Memory usage during vacuum
Date
Msg-id 11874.1080231359@sss.pgh.pa.us
Whole thread Raw
In response to Memory usage during vacuum  (Shelby Cain <alyandon@yahoo.com>)
Responses Re: Memory usage during vacuum
Re: Memory usage during vacuum
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: conversion_create.sql (Related to BUG#1072)
Next
From: "scott.marlowe"
Date:
Subject: Re: PHP or JSP? That is the question.