Re: Postgresql Materialized views - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Postgresql Materialized views
Date
Msg-id 20080114132644.GD4584@alvh.no-ip.org
Whole thread Raw
In response to Re: Postgresql Materialized views  (Mark Mielke <mark@mark.mielke.cc>)
Responses Re: Postgresql Materialized views  (Mark Mielke <mark@mark.mielke.cc>)
List pgsql-hackers
Mark Mielke wrote:

> FYI, my triggers are perhaps 10 lines each, and I believe I have three
> triggers in the 1500 ms -> 1 ms example. I have a view and a summary
> table. I update the summary table from the view. In my opinion, this
> solution is very manageable given the 1500:1 performance improvement
> it grants me.

But you had to modify your queries.  I would think that a materialized
views implementation worth its salt would put the view to work on the
original, unmodified queries.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Mark Mielke
Date:
Subject: Re: Postgresql Materialized views
Next
From: "Roberts, Jon"
Date:
Subject: Re: Postgresql Materialized views