pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tv@fuzzy.cz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: autovacuum stress-testing our system
Date: Wed, 26 Sep 2012 17:35:02 +0200
Message-ID: <66087d1adc6b71732628a025e970de7c@fuzzy.cz> (raw)
In-Reply-To: <1348673324-sup-4711@alvh.no-ip.org>
References: <1718942738eb65c8407fcd864883f4c8@fuzzy.cz>
	<CAMkU=1ymG8tR=xEjwLOKbSQNagA7VRs-TApQTxmCzeu5pPp2ww@mail.gmail.com>
	<1c9a6358f18915d74e375746b0f6e311@fuzzy.cz>
	<1348673324-sup-4711@alvh.no-ip.org>

Dne 26.09.2012 17:29, Alvaro Herrera napsal:
> Excerpts from Tomas Vondra's message of miƩ sep 26 12:25:58 -0300 
> 2012:
>> Dne 26.09.2012 16:51, Jeff Janes napsal:
>
>> > I think forking it off to to another value would be better.  If 
>> you
>> > are an autovacuum worker which is just starting up and so getting 
>> its
>> > initial stats, you can tolerate a stats file up to
>> > "autovacuum_naptime
>> > / 5.0" stale.  If you are already started up and are just about to
>> > vacuum a table, then keep the staleness at PGSTAT_RETRY_DELAY as 
>> it
>> > currently is, so as not to redundantly vacuum a table.
>>
>> I always thought there's a "no more than one worker per database"
>> limit,
>
> There is no such limitation.

OK, thanks. Still, reading/writing the small (per-database) files would 
be
much faster so it would be easy to read/write them more often on 
demand.

Tomas




view thread (20+ messages)  latest in thread

Message-ID: <66087d1adc6b71732628a025e970de7c@fuzzy.cz>
Permalink:  ../66087d1adc6b71732628a025e970de7c@fuzzy.cz/
Also on:    postgresql.org/message-id/66087d1adc6b71732628a025e970de7c@fuzzy.cz

 · 

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-hackers@postgresql.org
  Cc: tv@fuzzy.cz, alvherre@2ndquadrant.com, jeff.janes@gmail.com
  Subject: Re: autovacuum stress-testing our system
  In-Reply-To: <66087d1adc6b71732628a025e970de7c@fuzzy.cz>
  References: <1718942738eb65c8407fcd864883f4c8@fuzzy.cz> <CAMkU=1ymG8tR=xEjwLOKbSQNagA7VRs-TApQTxmCzeu5pPp2ww@mail.gmail.com> <1c9a6358f18915d74e375746b0f6e311@fuzzy.cz> <1348673324-sup-4711@alvh.no-ip.org> <66087d1adc6b71732628a025e970de7c@fuzzy.cz>

* 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