pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Kevin Grittner <kgrittn@ymail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Timothy Garnett <tgarnett@panjiva.com>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
Date: Wed, 6 May 2015 11:17:03 -0300
Message-ID: <20150506141703.GS2523@alvh.no-ip.org> (raw)
In-Reply-To: <CA+TgmoaR67gP-QBOhfWRod_E-7YKudSEo84-Z=_0PycnetgBuw@mail.gmail.com>
References: <CA+TgmoZGz04p2ZiikO5pF91qyOhE4WiYuBJowSOd6eFNQb3tGg@mail.gmail.com>
	<789650107.1373029.1430772107036.JavaMail.yahoo@mail.yahoo.com>
	<CAEepm=27TCZk3enwgvMEum4XvUTG-JoZAvat7fUvNM+eRw-H1g@mail.gmail.com>
	<CA+TgmoZkM=aJMwD6iFRi+xo3O73=RrY+oRRuPhpXTwPTU-TU8A@mail.gmail.com>
	<CAEepm=2Q_QSLjDBnwqU6cWZk-k_3QvnmVc3JCZCBHfh0BDVb_A@mail.gmail.com>
	<CA+Tgmoap6-o_5ESu5X2mBRVht_F+KNoY+oO12OvV_WekSA=ezQ@mail.gmail.com>
	<CA+TgmoaR67gP-QBOhfWRod_E-7YKudSEo84-Z=_0PycnetgBuw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

I haven't read your patch, but I wonder if we should decrease the
default value of multixact_freeze_table_age (currently 150 million).
The freeze_min_age is 5 million; if freeze_table_age were a lot lower,
the problem would be less pronounced.

Additionally, I will backpatch commit 27846f02c176.  The average size of
multixacts decreases with that fix in many common cases, which greatly
reduces the need for any of this in the first place.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
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: <20150506141703.GS2523@alvh.no-ip.org>
Permalink:  ../20150506141703.GS2523@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20150506141703.GS2523@alvh.no-ip.org

 · 

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: alvherre@2ndquadrant.com, robertmhaas@gmail.com, thomas.munro@enterprisedb.com, kgrittn@ymail.com, amit.kapila16@gmail.com, tgarnett@panjiva.com
  Subject: Re: BUG #12990: Missing pg_multixact/members files (appears to have wrapped, then truncated)
  In-Reply-To: <20150506141703.GS2523@alvh.no-ip.org>
  References: <CA+TgmoZGz04p2ZiikO5pF91qyOhE4WiYuBJowSOd6eFNQb3tGg@mail.gmail.com> <789650107.1373029.1430772107036.JavaMail.yahoo@mail.yahoo.com> <CAEepm=27TCZk3enwgvMEum4XvUTG-JoZAvat7fUvNM+eRw-H1g@mail.gmail.com> <CA+TgmoZkM=aJMwD6iFRi+xo3O73=RrY+oRRuPhpXTwPTU-TU8A@mail.gmail.com> <CAEepm=2Q_QSLjDBnwqU6cWZk-k_3QvnmVc3JCZCBHfh0BDVb_A@mail.gmail.com> <CA+Tgmoap6-o_5ESu5X2mBRVht_F+KNoY+oO12OvV_WekSA=ezQ@mail.gmail.com> <CA+TgmoaR67gP-QBOhfWRod_E-7YKudSEo84-Z=_0PycnetgBuw@mail.gmail.com> <20150506141703.GS2523@alvh.no-ip.org>

* 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