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 17:23:36
Message-ID: 12667.1080235416@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 apologize for my original post being unclear. I'm
> running "vacuum analyze" and seeing the behavior
> mentioned. Does specifying the analyze option imply
> "vacuum full"?

No; I just figured you were probably using FULL without saying so.
However ...

> On a hunch I just ran analyze <really big table> and
> the backend's memory usage soared up to 100+ megs.

... the issue is obviously ANALYZE and not VACUUM at all. What
statistics targets are you using? It's hard to believe ANALYZE
would eat that much space unless it's being asked for a really
large target.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Uwe C. Schroeder 2004-03-25 17:28:19 Re: Memory usage during vacuum
Previous Message Magnus Naeslund(t) 2004-03-25 17:22:45 Re: subversion vs cvs (Was: Re: linked list rewrite)