pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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



view thread (3+ messages)  latest in thread

Message-ID: <3cf983d0511251136j1afa0ec4i9a3987d250befe47@mail.gmail.com>
Permalink:  ../3cf983d0511251136j1afa0ec4i9a3987d250befe47@mail.gmail.com/
Also on:    postgresql.org/message-id/3cf983d0511251136j1afa0ec4i9a3987d250befe47@mail.gmail.com

 · 

reply

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