pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_subtrans
2+ messages / 2 participants
[nested] [flat]

* pg_subtrans
@ 2010-02-19 14:33  Kevin Johnson <Kevin.Johnson@noaa.gov>
  0 siblings, 1 reply; 2+ messages in thread

From: Kevin Johnson @ 2010-02-19 14:33 UTC (permalink / raw)
  To: pgsql-admin

Hello,

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?

Thank you in advance for your time!

Kevin

-- 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_subtrans
@ 2010-02-19 14:40  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Kevin Johnson <Kevin.Johnson@noaa.gov>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2010-02-19 14:40 UTC (permalink / raw)
  To: Kevin Johnson <Kevin.Johnson@noaa.gov>; +Cc: pgsql-admin

Kevin Johnson <Kevin.Johnson@noaa.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-02-19 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-02-19 14:33 pg_subtrans Kevin Johnson <Kevin.Johnson@noaa.gov>
2010-02-19 14:40 ` Tom Lane <tgl@sss.pgh.pa.us>

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