pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@2ndquadrant.com>
To: Yogesh Sharma <yogeshraj95@gmail.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: Size of pg_multixact/members increases 11355
Date: Wed, 13 Dec 2017 16:08:28 +0100
Message-ID: <19c568ed-7dbb-f616-5b38-7f6175b3d276@2ndquadrant.com> (raw)
In-Reply-To: <CAEZUwCQdA2swuOaG8Xn_oWbYr2avgYhF8cAEb8X+Ns=mtGQMhQ@mail.gmail.com>
References: <CAEZUwCS4t8ZXHbXfQnkHtqzA6nRpa=ub77cVCBWBr6ovvU0qQA@mail.gmail.com>
	<CAKFQuwagDjZYR+AsJT8qpRGFxxvqn8M5qynkynM9jnFv92Gekg@mail.gmail.com>
	<CAEepm=2dO7pbrbpBjnXHZYFQOCgFbc+DSQTfej4YMYqTvHkwsw@mail.gmail.com>
	<CAEZUwCSEyWHVtVpmikza3uKgJVdCpjTwZt83QRatFkLboBJ+BA@mail.gmail.com>
	<CAEZUwCQdA2swuOaG8Xn_oWbYr2avgYhF8cAEb8X+Ns=mtGQMhQ@mail.gmail.com>



On 12/13/2017 01:42 PM, Yogesh Sharma wrote:
> Dear Thomas ,
> 
> Thanks for sharing information.
> 
> Is it possible to remove mentioned folder files in some time intervals
> by some DB command?
> Currently i can not upgrade to 3.6.20.
> So please share if any solution is available.
> 

There are no explicit commands to remove them. When the database decides
those files are not needed, it'll remove them automatically.

It's strongly discouraged to mess with those files directly, as it may
easily lead to data loss or data corruption, particularly when it's
unclear why the directory got so large.

You could try setting autovacuum_multixact_freeze_max_age=0 and
vacuuming the database, but it's hard to say if that will help.

regards

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




view thread (10+ messages)  latest in thread

Message-ID: <19c568ed-7dbb-f616-5b38-7f6175b3d276@2ndquadrant.com>
Permalink:  ../19c568ed-7dbb-f616-5b38-7f6175b3d276@2ndquadrant.com/
Also on:    postgresql.org/message-id/19c568ed-7dbb-f616-5b38-7f6175b3d276@2ndquadrant.com

 · 

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-general@postgresql.org
  Cc: tomas.vondra@2ndquadrant.com, yogeshraj95@gmail.com, thomas.munro@enterprisedb.com, david.g.johnston@gmail.com
  Subject: Re: Size of pg_multixact/members increases 11355
  In-Reply-To: <19c568ed-7dbb-f616-5b38-7f6175b3d276@2ndquadrant.com>
  References: <CAEZUwCS4t8ZXHbXfQnkHtqzA6nRpa=ub77cVCBWBr6ovvU0qQA@mail.gmail.com> <CAKFQuwagDjZYR+AsJT8qpRGFxxvqn8M5qynkynM9jnFv92Gekg@mail.gmail.com> <CAEepm=2dO7pbrbpBjnXHZYFQOCgFbc+DSQTfej4YMYqTvHkwsw@mail.gmail.com> <CAEZUwCSEyWHVtVpmikza3uKgJVdCpjTwZt83QRatFkLboBJ+BA@mail.gmail.com> <CAEZUwCQdA2swuOaG8Xn_oWbYr2avgYhF8cAEb8X+Ns=mtGQMhQ@mail.gmail.com> <19c568ed-7dbb-f616-5b38-7f6175b3d276@2ndquadrant.com>

* 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