Existence check for suitable index in advance when concurrently refreshing.

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема Existence check for suitable index in advance when concurrently refreshing.
Дата
Msg-id CAD21AoARR88b+U3JUBJw6auJR3XqcgL5Pj5QfFvBo00FJ-4J-g@mail.gmail.com
обсуждение исходный текст
Ответы Re: Existence check for suitable index in advance when concurrently refreshing.  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
Hi all,

In concurrently refreshing materialized view, we check whether that
materialized view has suitable index(unique and not having WHERE
condition), after filling data to new snapshot
(refresh_matview_datafill()).
This logic leads to taking a lot of time until postgres returns ERROR
log if that table doesn't has suitable index and table is large. it
wastes time.
I think we should check whether that materialized view can use
concurrently refreshing or not in advance.
The patch is attached.

Please give me feedbacks.

--
Regards,

--
Masahiko Sawada

Вложения

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

Предыдущее
От: leo
Дата:
Сообщение: Re: pglogical - logical replication contrib module
Следующее
От: Stas Kelvich
Дата:
Сообщение: Re: Speedup twophase transactions