Re: help needed asap.... - Mailing list pgsql-performance

From Bruno Wolff III
Subject Re: help needed asap....
Date
Msg-id 20060312210051.GA32559@wolff.to
Whole thread Raw
In response to help needed asap....  ("Phadnis" <shphadnis@rediffmail.com>)
List pgsql-performance
On Sun, Mar 12, 2006 at 11:46:25 -0000,
  Phadnis <shphadnis@rediffmail.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.

pgsql-performance by date:

Previous
From: "Matthew Nuzum"
Date:
Subject: Re: help needed asap....
Next
From: Ruben Rubio Rey
Date:
Subject: Re: Query time