Re: pg_subtrans

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kevin Johnson <Kevin(dot)Johnson(at)noaa(dot)gov>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_subtrans
Date: 2010-02-19 14:40:12
Message-ID: 2640.1266590412@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kevin Johnson <Kevin(dot)Johnson(at)noaa(dot)gov> writes:
> I am attempting to get information on the pg_subtrans directory. I
> found this morning that one had a large number of files queued in it.
> It filled the disk partition on which pgdata resides. After moving,
> linking and restarting as a temporary solution, the engine properly
> worked off these files. So, I'm trying now to get to the root cause of
> why it filled in the first place -- however I'm not sure when postgres
> engine uses this directory. I've searched the documentation and mailing
> list archive, but can't find much. Can anyone give me a link or some
> more information?

I don't recall the exact horizon for pg_subtrans offhand, but I'm pretty
sure that it's determined by your oldest open transaction. Look around
for idle-in-transaction sessions.

regards, tom lane

In response to

  • pg_subtrans at 2010-02-19 14:33:42 from Kevin Johnson

Browse pgsql-admin by date

  From Date Subject
Next Message Kevin Kempter 2010-02-19 16:16:36 Re: Using Postgresql Replication
Previous Message Kevin Johnson 2010-02-19 14:33:42 pg_subtrans