Re: Digesting explain analyze

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: Digesting explain analyze
Дата
Msg-id 4B4581A3.1050401@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Digesting explain analyze  (Jesper Krogh <jesper@krogh.cc>)
Список pgsql-performance
Jesper Krogh wrote:
> Is it possible to get PG to tell me, how many rows that fits in a
> disk-page. All columns are sitting in "plain" storage according to \d+
> on the table.
>
select relname,round(reltuples / relpages) as "avg_rows_per_page" from
pg_class where relpages > 0;

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com  www.2ndQuadrant.com


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

Предыдущее
От: Jesper Krogh
Дата:
Сообщение: Re: Digesting explain analyze
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: pg_connect takes 3.0 seconds