Re: refresh materialized view concurrently

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: refresh materialized view concurrently
Дата
Msg-id CA+U5nMLOxUyhoBnA7uDiwGX2fbXsK-ap6CQ7mubvZez89pf1qA@mail.gmail.com
обсуждение исходный текст
Ответ на refresh materialized view concurrently  (Kevin Grittner <kgrittn@ymail.com>)
Ответы Re: refresh materialized view concurrently  (Kevin Grittner <kgrittn@ymail.com>)
Список pgsql-hackers
On 14 June 2013 17:05, Kevin Grittner <kgrittn@ymail.com> wrote:
> Attached is a patch for REFRESH MATERIALIZED VIEW CONCURRENTLY for
> 9.4 CF1.  The goal of this patch is to allow a refresh without
> interfering with concurrent reads, using transactional semantics.

Is there a reason to keep the non-concurrent behaviour? Anybody that
wants to explicitly lock should just run a LOCK statement. Can't we
treat behaviour when fully locked as an optimisation, so we can just
do the right thing without extra thought and keywords?

> It is my hope to get this committed during this CF to allow me to
> focus on incremental maintenance for the rest of the release cycle.

Incremental maintenance will be very straightforward using the logical
changeset extraction code Andres is working on. Having two parallel
mechanisms for changeset extraction in one release seems like a waste
of time. Especially when one is known to be better than the other
already.

Given that we also want to do concurrent CLUSTER and ALTER TABLE ...
SET TABLESPACE using changeset extraction I think its time that
discussion happened on hackers.

--Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: dynamic background workers
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Processing long AND/OR lists