From: Jerry Sievers <gsievers19@comcast.net>
To: ProPAAS DBA <dba@propaas.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: how to find a pg_toast table's primary table
Date: Tue, 13 Dec 2016 17:39:03 -0600
Message-ID: <86wpf3qu08.fsf@jerry.enova.com> (raw)
In-Reply-To: <d37e27d8-7e83-e077-3e11-a13857a299de@propaas.com>
References: <d37e27d8-7e83-e077-3e11-a13857a299de@propaas.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
ProPAAS DBA <dba@propaas.com> writes:
> Hi all;
>
>
> I'm seeing this table as the most vacuumed table:
>
>
> pg_toast.pg_toast_16784
>
> How do I find the primary table for this toast table?
Find the pg_class row with reltoastrelid = $oid-of-toast-table.
HTH
>
>
>
> Thanks in advance
--
Jerry Sievers
Postgres DBA/Development Consulting
e: postgres.consulting@comcast.net
p: 312.241.7800
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: gsievers19@comcast.net, dba@propaas.com
Subject: Re: how to find a pg_toast table's primary table
In-Reply-To: <86wpf3qu08.fsf@jerry.enova.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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