Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Admin > Re: Orphan TOAS...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 8 Topic 4975 of 5407
Post > Topic >>

Re: Orphan TOAST object

by tgl@[EMAIL PROTECTED] (Tom Lane) May 11, 2008 at 01:09 PM

"James Farrugia" <james.farrugia@[EMAIL PROTECTED]
> writes:
> I wonder whether any of you can help me out with this problem.

What PG version is this?

> To get vacuum the TOAST object we created a tem****ary table foo (col1
> char(1)) and assigned its reltoastrelid (up till now set to 0) to
> pg_toast_35027430's OID and then vacuumed foo.  The plan worked and
> immediately age(datfrozenxid) in pg_database reflected a much younger
XID.

> We then decided to get rid of pg_toast_35027430 by dropping foo.  Foo
> disappeared but pg_toast_35027430 persisted.

Well, yeah, because you didn't create a pg_depend link.

We have seen a couple prior re****ts of toast tables not going away when
their parent was dropped, but nobody's been able to create a
reproducible case yet.  The most likely idea is probably that pg_depend
got corrupted somehow, causing the toast table not to get found by DROP.

Can you find any rows in pg_depend having objid equal to the OID of 
pg_toast_35027430?  Try reindexing pg_depend and then see if you find
any.

			regards, tom lane

-- 
Sent via pgsql-admin mailing list (pgsql-admin@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
 




 8 Posts in Topic:
Orphan TOAST object
james.farrugia@[EMAIL PRO  2008-05-11 18:46:23 
Re: Orphan TOAST object
tgl@[EMAIL PROTECTED] (T  2008-05-11 13:09:48 
Re: Orphan TOAST object
tgl@[EMAIL PROTECTED] (T  2008-05-11 13:26:03 
Re: Orphan TOAST object
james.farrugia@[EMAIL PRO  2008-05-12 09:25:34 
Re: Orphan TOAST object
postgresql@[EMAIL PROTECT  2008-05-12 09:35:46 
Re: Orphan TOAST object
tgl@[EMAIL PROTECTED] (T  2008-05-12 10:08:55 
Re: Orphan TOAST object
james.farrugia@[EMAIL PRO  2008-05-12 10:19:59 
Re: Orphan TOAST object
james.farrugia@[EMAIL PRO  2008-05-12 16:41:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 1:25:08 CDT 2008.