number of rows

From: "Marcus Andree S(dot) Magalhaes" <marcus(dot)magalhaes(at)vlinfo(dot)com(dot)br>
To: pgsql-novice(at)postgresql(dot)org
Subject: number of rows
Date: 2003-06-13 09:04:56
Message-ID: 1055495096.3ee993b85f9ca@webmail.vlinfo.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Does anybody here know a better way to count a table's number
of rows, besides select count (*) from tablename?

I mean, is there any internal variable that stores the number of
rows instead of sequencially scanning the entire database??

Thanks.

-------------------------------
http://www.vlinfo.com.br

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Michael Glaesemann 2003-06-13 11:51:18 Re: Exporting data from PostgreSQL
Previous Message paul butler 2003-06-13 07:38:56 Re: Exporting data from PostgreSQL