Re: [SQL] Materialized View Summary

From: Richard Huxton <dev(at)archonet(dot)com>
To: "Jonathan M(dot) Gardner" <jgardner(at)jonathangardner(dot)net>, pgsql-hackers(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org, pgsql-performance(at)postgresql(dot)org
Subject: Re: [SQL] Materialized View Summary
Date: 2004-02-24 17:11:20
Message-ID: 200402241711.20947.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance pgsql-sql pgsql-www

On Tuesday 24 February 2004 16:11, Jonathan M. Gardner wrote:
>
> I've written a summary of my findings on implementing and using
> materialized views in PostgreSQL. I've already deployed eagerly updating
> materialized views on several views in a production environment for a
> company called RedWeek: http://redweek.com/. As a result, some queries
> that were taking longer than 30 seconds to run now run in a fraction of a
> millisecond.
>
> You can view my summary at
> http://jonathangardner.net/PostgreSQL/materialized_views/matviews.html

Interesting (and well written) summary. Even if not a "built in" feature, I'm
sure that plenty of people will find this useful. Make sure it gets linked to
from techdocs.

If you could identify candidate keys on a view, you could conceivably automate
the process even more. That's got to be possible in some cases, but I'm not
sure how difficult it is to do in all cases.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2004-02-24 17:40:25 Re: [HACKERS] [SQL] Materialized View Summary
Previous Message Stephen 2004-02-24 16:43:52 Avoid MVCC using exclusive lock possible?

Browse pgsql-performance by date

  From Date Subject
Next Message Steve Atkins 2004-02-24 17:14:42 Re: Slow join using network address function
Previous Message Steve Atkins 2004-02-24 17:10:26 Re: Slow join using network address function

Browse pgsql-sql by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2004-02-24 17:40:25 Re: [HACKERS] [SQL] Materialized View Summary
Previous Message Jonathan M. Gardner 2004-02-24 16:11:03 Materialized View Summary

Browse pgsql-www by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2004-02-24 17:40:25 Re: [HACKERS] [SQL] Materialized View Summary
Previous Message Jonathan M. Gardner 2004-02-24 16:11:03 Materialized View Summary