Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?



pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group