Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ab9Dd-0007P7-Fo for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Mar 2016 16:01:45 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ab9Dd-000213-2Q for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Mar 2016 16:01:45 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ab9Db-0001uH-NP for pgsql-bugs@postgresql.org; Wed, 02 Mar 2016 16:01:43 +0000 Received: from out.smtp-auth.no-ip.com ([8.23.224.60]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ab9DU-0001OH-Jc for pgsql-bugs@postgresql.org; Wed, 02 Mar 2016 16:01:43 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [181.42.169.78]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 9117840036C; Wed, 2 Mar 2016 08:01:30 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id CD204718; Wed, 2 Mar 2016 12:35:00 -0300 (CLT) Date: Wed, 2 Mar 2016 12:35:00 -0300 From: Alvaro Herrera To: David Gould Cc: Jeff Janes , Tom Lane , Pg Bugs , Josh Berkus Subject: Re: BUG #13750: Autovacuum slows down with large numbers of tables. More workers makes it slower. Message-ID: <20160302153500.GA422420@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160302034537.0b1c2da7@engels> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) 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 David Gould wrote: > The following is a summary of strace output for the autovacuum workers > and the stats collector while the 40k table test is running. The counts and > times are the cost per table. > > postgresql 9.5: 85 tables per minute. > + autovacuum contention patch: 5225 tables per minute Great stuff. I intend to look at this as a backpatchable bug fix during this commitfest. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs