Обсуждение: record count

Поиск
Список
Период
Сортировка

record count

От
"Marie G. Tuite"
Дата:
Hello list,

Is there a system attribute or table or ? providing record count by table? 

Thanks. 



Re: record count

От
Bruno Wolff III
Дата:
On Thu, Aug 29, 2002 at 13:37:40 -0500, "Marie G. Tuite" <marie.tuite@edisonaffiliates.com> wrote:
> 
> Is there a system attribute or table or ? providing record count by table? 

No. Normally you use the count aggregate to obtain that information.
However if you do few updates and need this information fairly often,
then you may want to keep the data in your own table using triggers.


Re: record count

От
Bhuvan A
Дата:
> 
> Hello list,
> 
> Is there a system attribute or table or ? providing record count by table? 
> 
> Thanks. 
> 

pg_class.reltuples has the record count.

regards,
bhuvaneswaran