Re: How to improve performance in reporting database?

From: Greg Smith <greg(at)2ndquadrant(dot)com>
To: Matthew Wilson <matt(at)tplus1(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to improve performance in reporting database?
Date: 2010-07-22 18:31:50
Message-ID: 4C488E96.8040003@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matthew Wilson wrote:
> I've heard people talking about using "materialized views" for this, but
> that was with Oracle.
>

You can build those manually with PostgreSQL if you really want them:
http://wiki.postgresql.org/wiki/Materialized_Views

The fundamental architecture is sound for a lot of problems in this
area, you just have to figure out how to build them efficiently. In
your case, you might just consider if there's a way way to update the MV
in batches, rather than rely on triggers to keep the data up to date,
after each data import.

--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg(at)2ndQuadrant(dot)com www.2ndQuadrant.us

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2010-07-22 18:37:03 Re: How to improve performance in reporting database?
Previous Message Oliver Kohll - Mailing Lists 2010-07-22 18:25:43 Re: locating cities within a radius of another