Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YmpNq-0002VE-Av for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Apr 2015 20:12:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YmpNo-0001nK-RS for pgsql-bugs@arkaria.postgresql.org; Mon, 27 Apr 2015 20:12:00 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YmpNn-0001nD-Oi for pgsql-bugs@postgresql.org; Mon, 27 Apr 2015 20:11:59 +0000 Received: from c.mail.sonic.net ([64.142.111.80]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YmpNk-0001Ky-Om for pgsql-bugs@postgresql.org; Mon, 27 Apr 2015 20:11:58 +0000 Received: from engels (173-228-38-46.dsl.dynamic.fusionbroadband.com [173.228.38.46]) (authenticated bits=0) by c.mail.sonic.net (8.15.1/8.15.1) with ESMTPSA id t3RKBkfn013354 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA256 bits=256 verify=NOT); Mon, 27 Apr 2015 13:11:47 -0700 Date: Mon, 27 Apr 2015 13:11:46 -0700 From: David Gould To: Alvaro Herrera Cc: Robert Haas , Thomas Munro , Kevin Grittner , "tgarnett@panjiva.com" , "pgsql-bugs@postgresql.org" Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated) Message-ID: <20150427131146.43150f77@engels> In-Reply-To: <20150427145909.GU4369@alvh.no-ip.org> References: <20150420190435.GV4369@alvh.no-ip.org> <682806730.1514266.1429650961503.JavaMail.yahoo@mail.yahoo.com> <20150424015905.GO4369@alvh.no-ip.org> <20150427145909.GU4369@alvh.no-ip.org> X-Mailer: Claws Mail 3.9.3 (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: UmFuZG9tSVaj7OsTfdQZzQL5Vg4pM8khek4Iwo8sB4vH5YRmmQDK3VBab1VClP3IalkhfIlDEEDl7eFWfc1AAnQmTOOcRofr X-Sonic-ID: C;4nJToRnt5BGgi+VSju/ZCg== M;SPykoRnt5BGgi+VSju/ZCg== X-Spam-Flag: No X-Sonic-Spam-Details: 0.0/5.0 by cerberusd 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 Mon, 27 Apr 2015 11:59:10 -0300 Alvaro Herrera wrote: > I think we can easily determine the rate of multixact member space > consumption and compare to the rate of multixact ID consumption; > considering the historical multixact size (number of members per > multixact) it would be possible to change the freeze ages by the same > fraction, so that autovac effectively behaves as if the members > consumption rate is what is driving the freezing instead of ID > consumption rate. That way, we don't have to jump suddenly from > "normal" to "emergency" behavior as some fixed threshold. I would like to add a data point: one of my clients has a plpgsql function that manages to use ten to 30 thousand multixact ids per invocation. It interacts with a remote resource and sets an exception handler on a per item basis to catch errors on the remote call. -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