Re: Need help in setting optimal configuration for a huge database. - Mailing list pgsql-performance

From Tom Lane
Subject Re: Need help in setting optimal configuration for a huge database.
Date
Msg-id 3994.1130019343@sss.pgh.pa.us
Whole thread Raw
In response to Need help in setting optimal configuration for a huge database.  (Kishore B <kishorebh@gmail.com>)
List pgsql-performance
Kishore B <kishorebh@gmail.com> writes:
> Even a basic query like select count(*) from bigger_table is
> taking about 4 minutes to return.

You do realize that "select count(*)" requires a full table scan in
Postgres?  It's never going to be fast.

If that's not where your performance problem really is, you need to
show us some of the actual problem queries.  If it is, you should
rethink why your application needs an exact row count.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Steinar H. Gunderson"
Date:
Subject: Re: Need help in setting optimal configuration for a huge database.
Next
From: Kishore B
Date:
Subject: Re: Need help in setting optimal configuration for a huge database.