Re: Spped of max

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Spped of max
Дата
Msg-id 29766.1021517488@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Spped of max  (Andy DePue <adepue@eworksmart.com>)
Список pgsql-general
Andy DePue <adepue@eworksmart.com> writes:
>   Just curious... but often, I have only needed a "fairly" accurate
> count of rows.  As in, outside the context of a transaction.  In other
> words, how difficult would it be to keep track of the number of fully
> committed and visible rows in a table?

Well, if you run vacuum (or analyze) on a reasonably frequent basis,
seems like pg_class.reltuples would do fine.

            regards, tom lane

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

Предыдущее
От: "patrick k ."
Дата:
Сообщение: How to include PostgreSQL Copyright notice
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: How to include PostgreSQL Copyright notice