Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZsNiM-0001hf-Up for pgsql-bugs@arkaria.postgresql.org; Sat, 31 Oct 2015 04:24:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZsNi1-00057W-GQ for pgsql-bugs@arkaria.postgresql.org; Sat, 31 Oct 2015 04:24:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZsNhO-0004QJ-WC for pgsql-bugs@postgresql.org; Sat, 31 Oct 2015 04:23:27 +0000 Received: from d.mail.sonic.net ([64.142.111.50]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZsNhL-0000f2-2b for pgsql-bugs@postgresql.org; Sat, 31 Oct 2015 04:23:24 +0000 Received: from engels (162-236-13-58.lightspeed.sntcca.sbcglobal.net [162.236.13.58]) (authenticated bits=0) by d.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t9V4NEM5022492 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA256 bits=128 verify=NOT); Fri, 30 Oct 2015 21:23:15 -0700 Date: Fri, 30 Oct 2015 21:23:17 -0700 From: David Gould To: Alvaro Herrera Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #13750: Autovacuum slows down with large numbers of tables. More workers makes it slower. Message-ID: <20151030212317.7f1bddfa@engels> In-Reply-To: <20151030151711.GF5726@alvherre.pgsql> References: <20151030133252.3033.4249@wrigleys.postgresql.org> <20151030134646.GE5726@alvherre.pgsql> <20151030072704.1a4db344@engels> <20151030151711.GF5726@alvherre.pgsql> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Sonic-CAuth: UmFuZG9tSVasLj7baTemze/q3c49xmmgq1a+D8s0XgwTpOFaAki1f1B6udl+kmbtimILuRMBFjfMDnup7WqukP2ESfB2NvEX X-Sonic-ID: C;MgOfGod/5RGJkuK7sH9FTg== M;UHvWGod/5RGJkuK7sH9FTg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd X-Pg-Spam-Score: -3.6 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Fri, 30 Oct 2015 12:17:11 -0300 Alvaro Herrera wrote: > David Gould wrote: > > > The cost delays are all 0. We care about bloat, not bandwidth. > > > > Anyway, they are not actually vacuuming. They are waiting on the > > VacuumScheduleLock. And requesting freshs snapshots from the > > stats_collector. > > Oh, I see. Interesting. Proposals welcome. I especially dislike the > ("very_expensive") pgstat check. I have an effective patch for this issue that I think is small enough to be backpatched. I'm cleaning it up a bit and will send it this weekend. -dg -- David Gould 510 282 0869 daveg@sonic.net If simplicity worked, the world would be overrun with insects. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs