pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris <dmagick@gmail.com>
To: sathiya psql <sathiya.psql@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: count * performance issue
Date: Thu, 06 Mar 2008 16:48:19 +1100
Message-ID: <47CF85A3.8080407@gmail.com> (raw)
In-Reply-To: <f966c2ee0803052143k4570d771o6c300647d3b987d@mail.gmail.com>
References: <f966c2ee0803052142l6a105678jfe2da92a0d9371@mail.gmail.com>
	<f966c2ee0803052143k4570d771o6c300647d3b987d@mail.gmail.com>

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/



view thread (62+ messages)  latest in thread

Message-ID: <47CF85A3.8080407@gmail.com>
Permalink:  ../47CF85A3.8080407@gmail.com/
Also on:    postgresql.org/message-id/47CF85A3.8080407@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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dmagick@gmail.com, sathiya.psql@gmail.com
  Subject: Re: count * performance issue
  In-Reply-To: <47CF85A3.8080407@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