Re: [previously on HACKERS] "Compacting" a relation

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [previously on HACKERS] "Compacting" a relation
Date: 2007-02-21 22:47:57
Message-ID: 200702212247.l1LMlvh24337@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Alvaro Herrera wrote:
> Bruce Momjian wrote:
> >
> > I applied the optional VACUUM FULL version, but modified to code to say
> > 20% rather than a factor of 5, attached.
>
> String construction does not work well with translations; please
> reformulate this.
>
> > + errhint("Consider%sincreasing the configuration parameter \"max_fsm_pages\".",
> > + /* Only suggest VACUUM FULL if 20% free */
> > + (vacrelstats->tot_free_pages > vacrelstats->rel_pages * 0.20
> > + ? " using VACUUM FULL on this relation or ": " "))));

OK, updated.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/rtmp/diff text/x-diff 1.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-02-21 22:50:02 Re: autovacuum next steps, take 2
Previous Message Matthew T. O'Connor 2007-02-21 22:40:53 Re: autovacuum next steps, take 2

Browse pgsql-patches by date

  From Date Subject
Next Message Guillaume Smet 2007-02-22 00:00:09 First implementation of GIN for pg_trgm
Previous Message Alvaro Herrera 2007-02-21 22:29:48 Re: [previously on HACKERS] "Compacting" a relation