Re: what is the maximum number of rows in a table in postgresql 8.1 - Mailing list pgsql-performance

From Craig Ringer
Subject Re: what is the maximum number of rows in a table in postgresql 8.1
Date
Msg-id 47E8F98E.1040505@postnewspapers.com.au
Whole thread Raw
In response to Re: what is the maximum number of rows in a table in postgresql 8.1  ("sathiya psql" <sathiya.psql@gmail.com>)
List pgsql-performance
sathiya psql wrote:
> EXPLAIN ANALYZE SELECT count(*) from call_log_in_ram ;
>
And your usual query is:

SELECT count(*) from call_log_in_ram;

?

If so, you should definitely build a summary table maintained by a
trigger to track the row count. That's VERY well explained in the
mailing list archives. This was suggested to you very early on in the
discussion.

If you have problems with other queries, how about showing EXPLAIN
ANALYZE for the other queries you're having problems with?

--
Craig Ringer

pgsql-performance by date:

Previous
From: "sathiya psql"
Date:
Subject: Re: what is the maximum number of rows in a table in postgresql 8.1
Next
From: Bill Moran
Date:
Subject: Re: postgresql is slow with larger table even it is in RAM