Re: pg_multixact issues

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, pgsql-sql(at)postgresql(dot)org
Subject: Re: pg_multixact issues
Date: 2014-09-17 13:21:47
Message-ID: 54198AEB.2070508@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers pgsql-sql

On 09/17/2014 05:16 AM, Dev Kumkar wrote:
>
> Hello,
>
> On one my machine the pg_multixact directory size has grown up to 5 GB
> and am not sure how to clean up this directory.
>
> From the storage-file-layout this directory contains multitransaction
> status data.
> pg_multixact Subdirectory containing multitransaction status data (used
> for shared row locks)
>
>
> It would really help if someone can provide some reading material
> regarding pg_multixact? Would this also result in database slowness by
> any chance?
>
> Are there any tweaking commands related to this directory settings, also
> how can I cleanup/truncate this directory without impacting the overall
> database.

http://www.postgresql.org/docs/9.3/static/routine-vacuuming.html#VACUUM-FOR-MULTIXACT-WRAPAROUND

Might also want to take a look at pg_stat_activity to see what queries
maybe hanging up:

http://www.postgresql.org/docs/9.3/static/monitoring-stats.html#PG-STAT-ACTIVITY-VIEW

>
> Looking forward to get some insight here.
>
> Regards...

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andres Freund 2014-09-17 13:23:09 Re: pg_multixact issues
Previous Message Dev Kumkar 2014-09-17 12:16:05 pg_multixact issues

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-09-17 13:23:09 Re: pg_multixact issues
Previous Message Robert Haas 2014-09-17 13:17:23 Re: Collations and Replication; Next Steps

Browse pgsql-sql by date

  From Date Subject
Next Message Andres Freund 2014-09-17 13:23:09 Re: pg_multixact issues
Previous Message Dev Kumkar 2014-09-17 12:16:05 pg_multixact issues