| From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
|---|---|
| To: | "Adrian Moisey" <adrian(at)careerjunction(dot)co(dot)za> |
| Cc: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: analyze |
| Date: | 2008-01-29 18:36:46 |
| Message-ID: | dcc563d10801291036g1a24c63dy73756bd24ac69522@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-performance |
On Jan 29, 2008 8:28 AM, Adrian Moisey <adrian(at)careerjunction(dot)co(dot)za> wrote:
> Hi
>
> How long is a piece of string?
>
> While we're at it, how often do I vacuum analyze?
>
> Seriously though, how do I try measure this?
1: Turn on autovacuum.
2: Look up the thread on nagios plugins for pgsql and rip the query
for checking bloat out of it, or alternatively, use NAGIOS I guess. :)
monitor your db for bloat, and if autovacuum isn't keeping up either
set it to be more aggresive, or schedule manual vacuums for the tables
that need it.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mike Smith | 2008-01-29 18:40:25 | Re: 8x2.5" or 6x3.5" disks |
| Previous Message | Andrew Sullivan | 2008-01-29 18:09:26 | Re: analyze |