From: Rodrigo Madera <rodrigo.madera@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Newbie question: ultra fast count(*)
Date: Fri, 25 Nov 2005 19:36:35 +0000
Message-ID: <3cf983d0511251136j1afa0ec4i9a3987d250befe47@mail.gmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: rodrigo.madera@gmail.com
Subject: Re: Newbie question: ultra fast count(*)
In-Reply-To: <3cf983d0511251136j1afa0ec4i9a3987d250befe47@mail.gmail.com>
References: <3cf983d0511251136j1afa0ec4i9a3987d250befe47@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox