Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZxJyi-0006I8-Hu for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Nov 2015 19:25:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZxJyi-00053V-3E for pgsql-bugs@arkaria.postgresql.org; Fri, 13 Nov 2015 19:25:44 +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 1ZxJy4-0003Yo-Hr for pgsql-bugs@postgresql.org; Fri, 13 Nov 2015 19:25:04 +0000 Received: from mx-out.zmailcloud.com ([192.198.85.98] helo=mx-out-1.zmailcloud.com) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZxJy1-00053Z-HI for pgsql-bugs@postgresql.org; Fri, 13 Nov 2015 19:25:03 +0000 Received: from smtp.01.com (smtp.01.com [10.10.0.43]) by mx-out-1.zmailcloud.com (Postfix) with ESMTP id 91010563D10; Fri, 13 Nov 2015 13:25:00 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 72A15A02BC; Fri, 13 Nov 2015 13:25:00 -0600 (CST) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kxaMY-zt0T8A; Fri, 13 Nov 2015 13:25:00 -0600 (CST) Received: from smtp.01.com (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 46CBCA0351; Fri, 13 Nov 2015 13:25:00 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 18527A02ED; Fri, 13 Nov 2015 13:25:00 -0600 (CST) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id q0Kvg0DRQMsb; Fri, 13 Nov 2015 13:25:00 -0600 (CST) Received: from [172.47.23.105] (50-0-190-244.dsl.dynamic.fusionbroadband.com [50.0.190.244]) by smtp-out-1.01.com (Postfix) with ESMTPSA id 3980EA02BC; Fri, 13 Nov 2015 13:24:59 -0600 (CST) Subject: Re: BUG #13750: Autovacuum slows down with large numbers of tables. More workers makes it slower. To: David Gould , Alvaro Herrera References: <20151030133252.3033.4249@wrigleys.postgresql.org> <20151030134646.GE5726@alvherre.pgsql> <20151030072704.1a4db344@engels> <20151030151711.GF5726@alvherre.pgsql> <13594.1446219627@sss.pgh.pa.us> <20151030231952.70eb5887@engels> <20151103141006.5a87bba2@engels> <20151103222425.GO6104@alvherre.pgsql> <20151106164649.3ed185fa@engels> Cc: Jeff Janes , Tom Lane , Pg Bugs From: Josh Berkus Organization: PostgreSQL Experts Inc. Message-ID: <56463909.6060506@agliodbs.com> Date: Fri, 13 Nov 2015 11:24:57 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.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 11/06/2015 04:46 PM, David Gould wrote: >> 3. Do we want to backpatch? Changes in behavior aren't acceptable on >> > existing branches, because it might destabilize autovacuum behavior >> > that's been carefully tuned in existing systems. So if we want >> > something to backpatch, ideally it shouldn't change the ordering in >> > which tables are vacuumed, and instead arrive at the same results >> > faster. (I don't care about this restriction myself, but others do and >> > strongly so.) > The current order of autovacuum operations is the physical order of the > rows in pg_class plus some jitter depending on which worker is able to grab > a table first. It seems unlikely anything could depend on this > particular order. I don't know anyone who depends on the ordering of autovacuum, because nobody knows what it is. It's not exactly documented. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs