pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Mead <scott.lists@enterprisedb.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Greg Smith <greg@2ndquadrant.com>
Cc: Grzegorz Jaƛkiewicz <gryzman@gmail.com>
Cc: Krzysztof Kardas <krzychk2@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL with Zabbix - problem of newbe
Date: Fri, 9 Apr 2010 11:13:39 -0400
Message-ID: <i2od3ab2ec81004090813nc6411715k15b54b46e28c5219@mail.gmail.com> (raw)
In-Reply-To: <l2lb42b73151004090806s84122169ibc27517b0816dd6f@mail.gmail.com>
References: <v2w4ff8a7a31004080223mec26e053n69a2b80f24328f37@mail.gmail.com>
	<n2s2f4958ff1004080231m2cc8602au9eaf7f6d0ecc8bd@mail.gmail.com>
	<p2ub42b73151004080616r994b020fp33350f9b982cf7b2@mail.gmail.com>
	<4BBEAA10.6060808@2ndquadrant.com>
	<l2lb42b73151004090806s84122169ibc27517b0816dd6f@mail.gmail.com>

The OP is using:

autovacuum_vacuum_threshold     | 100000

That means that vacuum won't consider a table to be 'vacuum-able' until
after 100k changes.... that's nowhere near aggressive enough.  Probably
what's happening is that when autovacuum finally DOES start on a table, it
just takes forever.

--Scott



2010/4/9 Merlin Moncure <mmoncure@gmail.com>

> 2010/4/9 Greg Smith <greg@2ndquadrant.com>:
> > Merlin Moncure wrote:
> >>
> >> postgresql 8.2: autovacuum enabled by default
> >> postgresql 8.3: HOT (reduces update penalty -- zabbix does a lot of
> >> updates)
> >>
> >
> > autovacuum wasn't enabled by default until 8.3.  It didn't really work
> all
> > that well out of the box until the support for multiple workers was added
> in
> > that version, along with some tweaking to its default parameters.
>  There's
> > also a lot more logging information available, both the server logs and
> the
> > statistics tables, to watch what it's doing that were added in 8.3.
>
> you're right!  iirc it was changed at the last minute...
>
> merlin
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

view thread (18+ messages)  latest in thread

Message-ID: <i2od3ab2ec81004090813nc6411715k15b54b46e28c5219@mail.gmail.com>
Permalink:  ../i2od3ab2ec81004090813nc6411715k15b54b46e28c5219@mail.gmail.com/
Also on:    postgresql.org/message-id/i2od3ab2ec81004090813nc6411715k15b54b46e28c5219@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-performance@postgresql.org
  Cc: scott.lists@enterprisedb.com, mmoncure@gmail.com, greg@2ndquadrant.com, gryzman@gmail.com, krzychk2@gmail.com
  Subject: Re: PostgreSQL with Zabbix - problem of newbe
  In-Reply-To: <i2od3ab2ec81004090813nc6411715k15b54b46e28c5219@mail.gmail.com>
  References: <v2w4ff8a7a31004080223mec26e053n69a2b80f24328f37@mail.gmail.com> <n2s2f4958ff1004080231m2cc8602au9eaf7f6d0ecc8bd@mail.gmail.com> <p2ub42b73151004080616r994b020fp33350f9b982cf7b2@mail.gmail.com> <4BBEAA10.6060808@2ndquadrant.com> <l2lb42b73151004090806s84122169ibc27517b0816dd6f@mail.gmail.com> <i2od3ab2ec81004090813nc6411715k15b54b46e28c5219@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox