pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Cc: Yann Michel <yann-postgresql@spline.de>
Subject: Re: query rewrite using materialized views
Date: Tue, 4 Jan 2005 10:06:18 -0800
Message-ID: <200501041006.18735.josh@agliodbs.com> (raw)
In-Reply-To: <20050103165532.GA21212@zoom.spline.inf.fu-berlin.de>
References: <20050103165532.GA21212@zoom.spline.inf.fu-berlin.de>

Yann,

> are there any plans for rewriting queries to preexisting materialized
> views?  I mean, rewrite a query (within the optimizer) to use a
> materialized view instead of the originating table?

Automatically, and by default, no.   Using the RULES system?  Yes, you can 
already do this and the folks on the MattView project on pgFoundry are 
working to make it easier.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (10+ messages)  latest in thread

Message-ID: <200501041006.18735.josh@agliodbs.com>
Permalink:  ../200501041006.18735.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200501041006.18735.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com, yann-postgresql@spline.de
  Subject: Re: query rewrite using materialized views
  In-Reply-To: <200501041006.18735.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox