From: | Nabil Sayegh <postgresql(at)e-trolley(dot)de> |
---|---|
To: | Marcus "Andree S(dot) Magalhaes" <marcus(dot)magalhaes(at)vlinfo(dot)com(dot)br> |
Cc: | pgsql-novice <pgsql-novice(at)postgresql(dot)org> |
Subject: | Re: number of rows |
Date: | 2003-06-13 13:08:50 |
Message-ID: | 1055509730.2069.0.camel@billy |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-novice |
Am Fre, 2003-06-13 um 11.04 schrieb Marcus Andree S. Magalhaes:
> 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??
Not in SQL itself, but the app could do that (PHP, CMS, whatever)
bye
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Eckermann | 2003-06-13 13:57:40 | Re: Exporting data from PostgreSQL |
Previous Message | Alan Searles | 2003-06-13 12:13:54 | Re: Converting IBM DB2 TRIGGERs to PostgreSQL |