Newbie question: ultra fast count(*)

From: Rodrigo Madera <rodrigo(dot)madera(at)gmail(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: Newbie question: ultra fast count(*)
Date: 2005-11-25 19:36:35
Message-ID: 3cf983d0511251136j1afa0ec4i9a3987d250befe47@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

I have been reading all this technical talk about costs and such that
I don't (_yet_) understand.

Now I'm scared... what's the fastest way to do an equivalent of
count(*) on a table to know how many items it has?

Thanks,
Rodrigo

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jaime Casanova 2005-11-25 19:40:06 Re: Newbie question: ultra fast count(*)
Previous Message Pailloncy Jean-Gerard 2005-11-25 14:47:16 Re: 8.1 count(*) distinct: IndexScan/SeqScan