Re: pg_relation_size performance issue

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: pg_relation_size performance issue
Дата
Msg-id 557061B4.3060706@aklaver.com
обсуждение исходный текст
Ответ на Re: pg_relation_size performance issue  (Hans Guijt <hg@terma.com>)
Список pgsql-general
On 06/04/2015 07:24 AM, Hans Guijt wrote:
> Thanks, this is most helpful. I originally found that query somewhere on
> the internet and used it as-is.
>
> If I drop the restriction on table name I get a list that also includes
> indexes, constraints, etc. Is there a way to restrict the returned set
> to tables only?

http://www.postgresql.org/docs/9.4/interactive/catalog-pg-class.html

relkind = 'r'

>
> Hans Guijt
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


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

Предыдущее
От: Melvin Davidson
Дата:
Сообщение: Re: pg_relation_size performance issue
Следующее
От: Marc Mamin
Дата:
Сообщение: Re: Row visibility issue with consecutive triggers, one being DEFERRED