Re: [ADMIN] how to find a pg_toast table's primary table

Поиск
Список
Период
Сортировка
От Jorge Torralba
Тема Re: [ADMIN] how to find a pg_toast table's primary table
Дата
Msg-id CACut7uSmEsnASj_DQ=+LHTDNKy2PopzO_+pLNMV6oPaFgUwyow@mail.gmail.com
обсуждение исходный текст
Ответ на [ADMIN] how to find a pg_toast table's primary table  (ProPAAS DBA <dba@propaas.com>)
Список pgsql-admin
select relname from pg_class where reltoastrelid = ( select oid from pg_class where relname = 'toast_table_name' );

On Tue, Dec 13, 2016 at 3:24 PM, ProPAAS DBA <dba@propaas.com> wrote:
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?



Thanks in advance



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



--
Thanks,

Jorge Torralba
----------------------------

Note: This communication may contain privileged or other confidential information. If you are not the intended recipient, please do not print, copy, retransmit, disseminate or otherwise use the information. Please indicate to the sender that you have received this email in error and delete the copy you received. Thank You.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Jerry Sievers
Дата:
Сообщение: Re: [ADMIN] how to find a pg_toast table's primary table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [ADMIN] how to find a pg_toast table's primary table