Re: number of rows

Поиск
Список
Период
Сортировка
От Nabil Sayegh
Тема Re: number of rows
Дата
Msg-id 1055509730.2069.0.camel@billy
обсуждение исходный текст
Ответ на number of rows  ("Marcus Andree S. Magalhaes" <marcus.magalhaes@vlinfo.com.br>)
Список 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


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

Предыдущее
От: Alan Searles
Дата:
Сообщение: Re: Converting IBM DB2 TRIGGERs to PostgreSQL
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: Exporting data from PostgreSQL