Re: help needed asap....

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Phadnis <shphadnis(at)rediffmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: help needed asap....
Date: 2006-03-12 21:00:51
Message-ID: 20060312210051.GA32559@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sun, Mar 12, 2006 at 11:46:25 -0000,
Phadnis <shphadnis(at)rediffmail(dot)com> wrote:
>  
> 1 ) when i try to query for count or for any thg it takes a long time to return the result. How to avoid this

Postgres doesn't cache counts, so if you are counting a lot of records, this
may take a while to run. If you do a lot of counts or need them to be fast
even if it slows other things down, there are some things you can do to address
this. Several strategies have been repeatedly discussed in the archives.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Ruben Rubio Rey 2006-03-13 08:02:42 Re: Query time
Previous Message Matthew Nuzum 2006-03-12 18:38:27 Re: help needed asap....