pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Cedric BUSCHINI <cbuschini@carax.com>
Cc: Novice Postgresql-list <pgsql-novice@postgresql.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: Performances
Date: Fri, 29 Dec 2006 00:09:35 -0300
Message-ID: <20061229030935.GC29576@alvh.no-ip.org> (raw)
In-Reply-To: <4593958B.1040601@carax.com>
References: <4593958B.1040601@carax.com>

Cedric BUSCHINI wrote:
> Hello everyone,
> 
> A quick question:
> - how long does it take you to perform that query :
> "SELECT COUNT(*) FROM A_TABLE;"

Longer than I want to wait in any case.  In most cases you can rewrite
that query to something else; what that something looks like, depends on 
how exact you want the result to be.  So the question to you is, what do
you want that number for?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (4+ messages)

Message-ID: <20061229030935.GC29576@alvh.no-ip.org>
Permalink:  ../20061229030935.GC29576@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20061229030935.GC29576@alvh.no-ip.org

 · 

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-admin@postgresql.org
  Cc: alvherre@commandprompt.com, cbuschini@carax.com, pgsql-novice@postgresql.org
  Subject: Re: Performances
  In-Reply-To: <20061229030935.GC29576@alvh.no-ip.org>
  References: <4593958B.1040601@carax.com> <20061229030935.GC29576@alvh.no-ip.org>

* 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