need a bit of help

From: Warren Little <warren(dot)little(at)meridiascapital(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: need a bit of help
Date: 2006-04-26 22:21:27
Message-ID: 1146090087.13168.116.camel@wlittle.meridias.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,
got myself in a pickle with the database running out of space.

I have a question regarding pg_toast tables and their relationships to
the parent tables.

If I run the following query
select * from pg_class where
reltoastrelid like '%944' or reltoastidxid like '%944'

I receive a single row:
pg_toast_62130940,99,62130943,39934,0,62130942,0,7602767,3.04112e
+07,0,62130944,t,f,t,3,0,0,0,0,0,f,t,f,f,

which appears to be the pg_toast entry. Shouldn't there be a pg_class
whose reltoastrelid equals the reltoastidxid of the pg_toast instance

I'm trying to determine if I have some tuples that are not being
vacuumed.

thanks

--
Warren Little
Chief Technology Officer
Meridias Capital Inc
1018 W Atherton Dr
Salt Lake City, UT 84123
ph: 866.369.7763

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Jim C. Nasby 2006-04-26 22:47:32 Re: dbsize & pg_dump
Previous Message César Maldonado 2006-04-26 21:29:12 ME PUEDEN ELIMINAR DE ESTA LISTA - REMOVE LIST pgsql-admin@postgr esql.org PLEASE