Can one call pg_total_relation_size over foreign data wrapper?

Поиск
Список
Период
Сортировка
От Ketan Popat
Тема Can one call pg_total_relation_size over foreign data wrapper?
Дата
Msg-id CAKx+mvaT_9kNP8zv+d1-xwSxwub8254pN4LP942oN+fZBefrGA@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Hi Team,

Can one call pg_total_relation_size over foreign data wrapper?

Problem statement - I need to connect to 100s of databases over foreign data wrapper to collect the size of each table. As a part of that I have to use pg_total_relation_size over foreign data wrappers.

Alternatively, I would have to create a view and expose that view as a foreign table, I have tested and it seems working. However, I want to avoid it unless that is the only and best option.

Other innovative ideas/suggestions are welcome and thanks for your help in advance!

Thanks,
Ketan

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

Предыдущее
От: Yudianto Prasetyo
Дата:
Сообщение: Re: what is the solution like oracle DB's datafile
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: pg_try_advisory_lock is waiting?