Re: count * performance issue - Mailing list pgsql-performance

From Chris
Subject Re: count * performance issue
Date
Msg-id 47CF85A3.8080407@gmail.com
Whole thread Raw
In response to count * performance issue  ("sathiya psql" <sathiya.psql@gmail.com>)
List pgsql-performance
sathiya psql wrote:
> count(*) tooks much time...
>
> but with the where clause we can make this to use indexing,... what
> where clause we can use??
>
> Am using postgres 7.4 in Debian OS with 1 GB RAM,
>
> am having a table with nearly 50 lakh records,

Looks suspiciously like a question asked yesterday:

http://archives.postgresql.org/pgsql-performance/2008-03/msg00068.php

--
Postgresql & php tutorials
http://www.designmagick.com/

pgsql-performance by date:

Previous
From: Chris
Date:
Subject: Re: Confirmação de envio / Sending confirmation (captchaid:13266b20536d)
Next
From: "petchimuthu lingam"
Date:
Subject: Confirmação de envio / Sending confirmation (captchaid:13266b2056e4)