Received: from magus.postgresql.org ([87.238.57.229]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGtYI-0006H9-3S for pgsql-hackers@postgresql.org; Wed, 26 Sep 2012 15:29:30 +0000 Received: from smtprelay0202.b.hostedemail.com ([64.98.42.202] helo=smtprelay.b.hostedemail.com) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TGtYF-0003BS-Gv for pgsql-hackers@postgresql.org; Wed, 26 Sep 2012 15:29:29 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay04.b.hostedemail.com (Postfix) with SMTP id 4A04B2A7442; Wed, 26 Sep 2012 15:29:26 +0000 (UTC) X-Panda: scanned! X-Spam-Summary: 50, 0, 0, , d41d8cd98f00b204, alvherre@alvh.no-ip.org, :::::, RULES_HIT:152:355:379:599:601:967:973:988:989:1260:1277:1311:1313:1345:1359:1437:1515:1516:1518:1534:1539:1593:1594:1711:1730:1747:1777:1792:2393:2525:2553:2560:2563:2682:2685:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3869:3871:3872:3873:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4321:4605:4659:5007:6261:7679:9025:9121:10004:10400:10848:10967:11256:11257:11473:11658:11914:12517:12519:12740, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 1763 Received: from perhan.alvh.no-ip.org (unknown [190.95.25.25]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf02.b.hostedemail.com (Postfix) with ESMTPA; Wed, 26 Sep 2012 15:29:25 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 136B76E02F; Wed, 26 Sep 2012 12:29:23 -0300 (CLST) Content-Type: text/plain; charset=UTF-8 Cc: Jeff Janes , Pg Hackers Subject: Re: autovacuum stress-testing our system From: Alvaro Herrera To: Tomas Vondra In-reply-to: <1c9a6358f18915d74e375746b0f6e311@fuzzy.cz> References: <1718942738eb65c8407fcd864883f4c8@fuzzy.cz> <1c9a6358f18915d74e375746b0f6e311@fuzzy.cz> Date: Wed, 26 Sep 2012 12:29:22 -0300 Message-Id: <1348673324-sup-4711@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201209/1042 X-Sequence-Number: 214070 Excerpts from Tomas Vondra's message of mi=C3=A9 sep 26 12:25:58 -0300 20= 12: > 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=20 > > "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. >=20 > I always thought there's a "no more than one worker per database"=20 > limit, There is no such limitation. --=20 =C3=81lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services