Re: Yet Another COUNT(*)...WHERE...question - Mailing list pgsql-general

From Richard Broersma Jr
Subject Re: Yet Another COUNT(*)...WHERE...question
Date
Msg-id 745725.37493.qm@web31807.mail.mud.yahoo.com
Whole thread Raw
In response to Re: Yet Another COUNT(*)...WHERE...question  ("Scott Marlowe" <scott.marlowe@gmail.com>)
List pgsql-general
--- Scott Marlowe <scott.marlowe@gmail.com> wrote:
> Generally, for these kinds of things it's often best to use
> materialized views / rollup tables so that you aren't re-aggregating
> the same data over and over.

I don't know if this was already mentioned, but here is one of the links that describe the method
of implementing a materialized view.
http://www.jonathangardner.net/PostgreSQL/materialized_views/matviews.html

other useful docs like this one can be found here:

http://www.postgresql.org/docs/techdocs.2

Regards,
Richard Broersma Jr.

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Yet Another COUNT(*)...WHERE...question
Next
From: "Phoenix Kiula"
Date:
Subject: Re: Yet Another COUNT(*)...WHERE...question