Re: browsing table with 2 million records

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: browsing table with 2 million records
Дата
Msg-id 11775.1130362317@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: browsing table with 2 million records  (aurora <aurora00@gmail.com>)
Список pgsql-performance
aurora <aurora00@gmail.com> writes:
> It would still be helpful if select count(*) can perform well.

If you can settle for an approximate count, pg_class.reltuples might
help you.

            regards, tom lane

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

Предыдущее
От: Alex Turner
Дата:
Сообщение: Re: browsing table with 2 million records
Следующее
От: "Steinar H. Gunderson"
Дата:
Сообщение: Re: Materializing a sequential scan