Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XCdIP-0007kY-7C for pgsql-performance@arkaria.postgresql.org; Wed, 30 Jul 2014 23:28:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XCdIO-0002HR-Mw for pgsql-performance@arkaria.postgresql.org; Wed, 30 Jul 2014 23:28:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XCdIM-0002EU-Oh for pgsql-performance@postgresql.org; Wed, 30 Jul 2014 23:28:30 +0000 Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XCdII-0007IZ-RM for pgsql-performance@postgresql.org; Wed, 30 Jul 2014 23:28:29 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id E01A332CA5; Thu, 31 Jul 2014 11:28:21 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mWpwMHa6PX6C; Thu, 31 Jul 2014 11:28:20 +1200 (NZST) Received: from [IPv6:2404:130:0:1000:649d:306d:ea5f:aa01] (unknown [IPv6:2404:130:0:1000:649d:306d:ea5f:aa01]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id B38E532C43; Thu, 31 Jul 2014 11:28:20 +1200 (NZST) Message-ID: <53D980BA.1060800@catalyst.net.nz> Date: Thu, 31 Jul 2014 11:33:14 +1200 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Tomas Vondra CC: Andres Freund , pgsql-performance@postgresql.org Subject: Re: 60 core performance with 9.3 References: <53ACB190.2030206@catalyst.net.nz> <53ACD6C4.9050605@catalyst.net.nz> <20140627091951.GA16680@awork2.anarazel.de> <53B283F3.7020005@catalyst.net.nz> <20140701101307.GO21422@awork2.anarazel.de> <53BF326F.2070903@catalyst.net.nz> <20140711082207.GI17261@awork2.anarazel.de> <53C711B6.5040802@catalyst.net.nz> <53D84E16.90609@catalyst.net.nz> <3e6b532b0115ffff08e8d0debd76695b.squirrel@sq.gransy.com> In-Reply-To: <3e6b532b0115ffff08e8d0debd76695b.squirrel@sq.gransy.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Hi Tomas, Unfortunately I think you are mistaken - disabling the stats collector (i.e. track_counts = off) means that autovacuum has no idea about when/if it needs to start a worker (as it uses those counts to decide), and hence you lose all automatic vacuum and analyze as a result. With respect to comments like "it shouldn't make difference" etc etc, well the profile suggests otherwise, and the change in tps numbers support the observation. regards Mark On 30/07/14 20:42, Tomas Vondra wrote: > On 30 Červenec 2014, 3:44, Mark Kirkwood wrote: >> >> While these numbers look great in the middle range (12-96 clients), then >> benefit looks to be tailing off as client numbers increase. Also running >> with no stats (and hence no auto vacuum or analyze) is way too scary! > > I assume you've disabled statistics collector, which has nothing to do > with vacuum or analyze. > > There are two kinds of statistics in PostgreSQL - data distribution > statistics (which is collected by ANALYZE and stored in actual tables > within the database) and runtime statistics (which is collected by the > stats collector and stored in a file somewhere on the dist). > > By disabling statistics collector you loose runtime counters - number of > sequential/index scans on a table, tuples read from a relation aetc. But > it does not influence VACUUM or planning at all. > > Also, it's mostly async (send over UDP and you're done) and shouldn't make > much difference unless you have large number of objects. There are ways to > improve this (e.g. by placing the stat files into a tmpfs). > > Tomas > -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance