Re: record identical operator

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: record identical operator
Дата
Msg-id 1379594499.75672.YahooMailNeo@web162905.mail.bf1.yahoo.com
обсуждение исходный текст
Ответ на Re: record identical operator  (Hannu Krosing <hannu@2ndQuadrant.com>)
Ответы Re: record identical operator  (Hannu Krosing <hannu@2ndQuadrant.com>)
Re: record identical operator  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
Hannu Krosing <hannu@2ndQuadrant.com> wrote:

> the patch solves the general problem of "when the table changes,
> refresh"
>
> After saying it like this, the problem could also be solved by
> including xmin(s) for rows from underlying table(s)in the
> matview.
>
> Would this be a better approach ?

Now you're moving from REFRESH territory into incremental
maintenance.  There have been a very large number of papers written
on that topic, I have reviewed the literature, and I have picked a
technique which looks like it will be fast and reliable -- based on
relational algebra.  Let's save discussion of alternatives such as
you're suggesting here, for when I get past the easy stuff ... like
just refreshing a view so that the new contents are the same as
what you would see if you re-ran the query defining the matview.

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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Freezing without write I/O
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: FW: REVIEW: Allow formatting in log_line_prefix