Re: fast refresh materialized view - Mailing list pgsql-general

From Kevin Grittner
Subject Re: fast refresh materialized view
Date
Msg-id 249772231.3141506.1447518156518.JavaMail.yahoo@mail.yahoo.com
Whole thread Raw
In response to fast refresh materialized view  ("Pradhan, Sabin" <Sabin.Pradhan@finra.org>)
List pgsql-general
On Friday, November 13, 2015 4:02 PM, "Pradhan, Sabin" <Sabin.Pradhan@finra.org> wrote:

> Does postgres  has fast refresh materialized view  that supports
> incremental refresh. In oracle  , this is achieve  by materialized
> view log. Not sure how to  implement it in postgres.

There has been work toward that end, but for now the best you can
do is REFRESH MATERIALIZED VIEW CONCURRENTLY.  This still
materializes the full view in a temp table, but essentially "diffs"
that against the existing data to apply an incremental change set.
The can be done concurrently with reads against the materialized
view and with reads and writes against the source tables.

We are probably at least two years from having what you describe.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-general by date:

Previous
From: Thomas Kellerer
Date:
Subject: Re: Poor performance on 9.4.4 when matching multiple columns from left side of LATERAL join
Next
From: Steven Grimm
Date:
Subject: Re: Poor performance on 9.4.4 when matching multiple columns from left side of LATERAL join