Re: Reaping Temp tables to avoid XID wraparound - Mailing list pgsql-hackers

From James Sewell
Subject Re: Reaping Temp tables to avoid XID wraparound
Date
Msg-id CAANVwEv7FXabuUnsd7Tmf7GGXVT+qKA=ZvdDvjx+vA6wM1_Bdw@mail.gmail.com
Whole thread Raw
In response to Re: Reaping Temp tables to avoid XID wraparound  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers

Yeah, possibly.  I think that it could be tricky though to get that at
a global level in a cheap way.  It makes also little sense to only
show the temp namespace OID if that information is not enough.

We could I guess add a field specifically for temp_namespace_xid or such. The question is if it's worth the overhead to do that.

Just having the namespace oid is at least enough to know that there is potentially something to go look at it. But it doesn't make for automated monitoring very well, at least not in systems that have a larger number of databases. 

You can get the namespace oid today with a JOIN, the issue is that this isn't enough information to go an look at - at the end of the day it's useless unless you can remove the temp table or terminate the session which owns it.
 


The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [COMMITTERS] pgsql: Remove pgbench "progress" test pending solution of its timing is (fwd)
Next
From: Tom Lane
Date:
Subject: Re: Optimze usage of immutable functions as relation