Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YpNBe-0005Bk-2v for pgsql-bugs@arkaria.postgresql.org; Mon, 04 May 2015 20:41:58 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YpNBd-0002ll-1J for pgsql-bugs@arkaria.postgresql.org; Mon, 04 May 2015 20:41:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YpNBb-0002le-OM for pgsql-bugs@postgresql.org; Mon, 04 May 2015 20:41:56 +0000 Received: from nm6-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.166]) by magus.postgresql.org with esmtps (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1YpNBX-0006qo-EY for pgsql-bugs@postgresql.org; Mon, 04 May 2015 20:41:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s2048; t=1430772108; bh=pv5lfEuB++BX/SZMeAnwtGY4CXyUDMWNtN4DiFWPKrg=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:From:Subject; b=j9aAFteMYGcEXgWlX8ixb5ubYDUwDsUNQa9ItaWfJR9bqdRxFhLL1+NiWhdjMqEZOQNILTHUEI8i5VqBBrDH3rIgKTt7NNY/WtKtHxMOfCTs4UGJHwfcDnepQotjLDvM/7X4LimoH2wnKAmuo9wINXx53HquqQucLRky0zPS0gSAb41BNxvRAXjTLotewGWgi85DmLTUgQ5/xRCGqsb42m7ka2sOjT5sYbquanJmdE+if1P2PtOebUAQrWVSSRr8A5tTkBDstpSFefTGpZkdormrYVvIEaOgtAVb4Aztf+HApT2CROs/cXHjbJSb2e6qQwr0iU25zEt2kD7/labV1Q== Received: from [98.138.226.178] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 04 May 2015 20:41:48 -0000 Received: from [98.138.87.4] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 04 May 2015 20:41:48 -0000 Received: from [127.0.0.1] by omp1004.mail.ne1.yahoo.com with NNFMP; 04 May 2015 20:41:48 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 143225.51771.bm@omp1004.mail.ne1.yahoo.com X-YMail-OSG: EV5kCwYVM1l2HrHU96JkxyV9Hc39ABCByhbQH4ybZlopFfgtvKQSrEdKvYoN0e8 UsUywAOyIsBSCerbuBwDjspWEnQkWYN79oVqOLFjc8iF5yej5RIY7bifJ.ifU_CIXxR0IotPBjDW jkKAOokkHyk6m76vJnaf.0AF9LZISXIi5R6tZvf02Ns4Nl36FX.hBbQt1jeUTaKwFXvEyn03Ut_s yuD2uf67uichjTG6GjdrSUHAIYftmU1Pk2fIGuW7yj8OaXQO0GzpPCzB4O5ktTs7UBXOV6PiK5KO RLqS1gwHK8NSVhqmuho.BsLb.cE3VF2IY7rOUUn_7sQPBSye9UkWpgrKviA2TD0xQZ6Z9d1srlrp h54M.imHSy9u2.PxiifviibhKDtdkiGuJx8bA8aYn1a4bsu4BMpskpDsrfb0D7WyErngRXlB6gwP B0RTphlEMP3.R2AnjlpO85UwRpYCl9TN5b6H.Dh0NC6DuvIIYGZLQQDPBD0WjtwV65ocprAAPKje WF7bMoR.tAHBXepQby0etgg-- Received: by 98.138.101.173; Mon, 04 May 2015 20:41:47 +0000 Date: Mon, 4 May 2015 20:41:47 +0000 (UTC) From: Kevin Grittner Reply-To: Kevin Grittner To: Robert Haas , Amit Kapila Cc: Thomas Munro , Alvaro Herrera , Timothy Garnett , PostgreSQL Bugs Message-ID: <789650107.1373029.1430772107036.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: References: Subject: Re: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Length: 1383 X-Pg-Spam-Score: -2.0 (--) 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 Robert Haas wrote: > 1. Using a min freeze age of zero will result in half as many > full-table scans, because we'll advance relminmxid twice as far > each time. > > 2. But each one will freeze more stuff, some of which might have > been updated again before the next freeze pass, so we might do > more freezing in total. > > So either policy might win, depending on whether you care more > about reducing reads (in which case you want a very low min > freeze age) or about reducing writes (in which case you want a > higher min freeze age). > > All things being equal, I'd rather stick with the existing 50% > policy in the back-branches, rather than going to zero, but I'm > not sure all things are equal. It matters what difference the > higher value makes. I really don't like the "honor the configured value of vacuum_multixact_freeze_min_age until the members SLRU gets to 50% of wraparound and then use zero" approach. It made a lot more sense to me to honor the configured value to 25% and decrease it in a linear fashion until it hit zero at 75%. It seems like maybe we weren't aggressive enough in the dynamic adjustment of autovacuum_multixact_freeze_max_age, but I'm not clear why fixing that required the less gradual adjustment of the *_min_age setting. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs