Re: counting tupples

Поиск
Список
Период
Сортировка
От
Тема Re: counting tupples
Дата
Msg-id 1292.203.145.130.142.1035818497.squirrel@mail.trade-india.com
обсуждение исходный текст
Ответ на counting tupples  (David Bear <iddwb@moroni.pp.asu.edu>)
Список pgsql-admin

Hi folks,

There is "reltuples" in pg_class  which is approximately equal to

select count(*) from relation.

i think its updated only on VACUUMING ?

(david its not answer to ur question sorry)

regds
mallah.

> I couldn't find anything relating to getting the cardinality of a table.  I  know a select will
> display number of rows.  I was hoping there was a  'cheaper' (less expensive) way than doing  a
> full select.
> --
> David Bear
> College of Public Programs/ASU
>
> ---------------------------(end of broadcast)--------------------------- TIP 1: subscribe and
> unsubscribe commands go to majordomo@postgresql.org



-----------------------------------------
Get your free web based email at trade-india.com.
   "India's Leading B2B eMarketplace.!"
http://www.trade-india.com/



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

Предыдущее
От:
Дата:
Сообщение: Re: Strange..!!! Can u tell me why this ?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Strange..!!! Can u tell me why this ?