pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Gould <daveg@sonic.net>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Kevin Grittner <kgrittn@ymail.com>
Cc: tgarnett@panjiva.com <tgarnett@panjiva.com>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
Date: Mon, 27 Apr 2015 13:11:46 -0700
Message-ID: <20150427131146.43150f77@engels> (raw)
In-Reply-To: <20150427145909.GU4369@alvh.no-ip.org>
References: <20150420190435.GV4369@alvh.no-ip.org>
	<682806730.1514266.1429650961503.JavaMail.yahoo@mail.yahoo.com>
	<CA+Tgmobw0YU4H43wKumPmwuyESH5H80ry3N0KYyup++ZRc7J9Q@mail.gmail.com>
	<CAEepm=1ZGLr0gHHWH7Uo+F2cVbm5NT2e=1wcYMyCPZSrfnScsw@mail.gmail.com>
	<20150424015905.GO4369@alvh.no-ip.org>
	<CA+TgmoY5igs8i-B7BmQBeoJrK1U4b9Ym1SHzrjGaoUeC1aEHKg@mail.gmail.com>
	<20150427145909.GU4369@alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Mon, 27 Apr 2015 11:59:10 -0300
Alvaro Herrera <alvherre@2ndquadrant.com> 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



view thread (113+ messages)  latest in thread

Message-ID: <20150427131146.43150f77@engels>
Permalink:  ../20150427131146.43150f77@engels/
Also on:    postgresql.org/message-id/20150427131146.43150f77@engels

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: daveg@sonic.net, alvherre@2ndquadrant.com, robertmhaas@gmail.com, thomas.munro@enterprisedb.com, kgrittn@ymail.com, tgarnett@panjiva.com
  Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
  In-Reply-To: <20150427131146.43150f77@engels>
  References: <20150420190435.GV4369@alvh.no-ip.org> <682806730.1514266.1429650961503.JavaMail.yahoo@mail.yahoo.com> <CA+Tgmobw0YU4H43wKumPmwuyESH5H80ry3N0KYyup++ZRc7J9Q@mail.gmail.com> <CAEepm=1ZGLr0gHHWH7Uo+F2cVbm5NT2e=1wcYMyCPZSrfnScsw@mail.gmail.com> <20150424015905.GO4369@alvh.no-ip.org> <CA+TgmoY5igs8i-B7BmQBeoJrK1U4b9Ym1SHzrjGaoUeC1aEHKg@mail.gmail.com> <20150427145909.GU4369@alvh.no-ip.org> <20150427131146.43150f77@engels>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox