Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGtdf-0000z7-Qm for pgsql-hackers@postgresql.org; Wed, 26 Sep 2012 15:35:03 +0000 Received: from [2001:1528:137::f1] (helo=mail.gransy.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGtde-0003HN-Uq for pgsql-hackers@postgresql.org; Wed, 26 Sep 2012 15:35:03 +0000 Received: from antispam.gransy.com (antispam.gransy.com [77.78.104.124]) by mail.gransy.com (Postfix) with ESMTP id B1231508A85; Wed, 26 Sep 2012 17:35:02 +0200 (CEST) Received: from mail.gransy.com ([82.208.44.189]) by antispam.gransy.com (antispam.gransy.com [77.78.104.124]) (amavisd-new, port 10024) with ESMTP id N1NyUMARxmHR; Wed, 26 Sep 2012 17:35:02 +0200 (CEST) Received: by mail.gransy.com (Postfix, from userid 5000) id 9F4BE508A8C; Wed, 26 Sep 2012 17:35:02 +0200 (CEST) Received: from rc.gransy.com (elizabeth.gransy.com [89.187.132.199]) by mail.gransy.com (Postfix) with ESMTPA id 7114A508A85; Wed, 26 Sep 2012 17:35:02 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Wed, 26 Sep 2012 17:35:02 +0200 From: Tomas Vondra To: Alvaro Herrera Cc: Jeff Janes , Pg Hackers Subject: Re: autovacuum stress-testing our system In-Reply-To: <1348673324-sup-4711@alvh.no-ip.org> References: <1718942738eb65c8407fcd864883f4c8@fuzzy.cz> <1c9a6358f18915d74e375746b0f6e311@fuzzy.cz> <1348673324-sup-4711@alvh.no-ip.org> Message-ID: <66087d1adc6b71732628a025e970de7c@fuzzy.cz> X-Sender: tv@fuzzy.cz User-Agent: RoundCube Webmail/0.2.1 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:1528:137::f1 (failed) X-Pg-Spam-Score: -1.1 (-) X-Archive-Number: 201209/1043 X-Sequence-Number: 214071 Dne 26.09.2012 17:29, Alvaro Herrera napsal: > Excerpts from Tomas Vondra's message of mi=C3=A9 sep 26 12:25:58 -0300=20 > 2012: >> Dne 26.09.2012 16:51, Jeff Janes napsal: > >> > I think forking it off to to another value would be better. If=20 >> you >> > are an autovacuum worker which is just starting up and so getting=20 >> 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=20 >> 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=20 be much faster so it would be easy to read/write them more often on=20 demand. Tomas