Re: CREATE UNLOGGED MATERIALIZED VIEW

Поиск
Список
Период
Сортировка
От Mitar
Тема Re: CREATE UNLOGGED MATERIALIZED VIEW
Дата
Msg-id CAKLmikNE81RcbzgBwioaHVCp0joz2WioPRLaw+tCw=MNWRD1mA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: CREATE UNLOGGED MATERIALIZED VIEW  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hi!

On Tue, Dec 25, 2018 at 10:25 AM Adrian Klaver
<adrian.klaver@aklaver.com> wrote:
> Don't know. From my POV MATERIALIZED VIEWS are transient any way you
> look at them. They capture a state at a point in time and then the data
> they depend on moves on. Given that they can be refreshed at will not
> sure logging/not logging really matters.

I agree with you. But current default is RELPERSISTENCE_PERMANENT. So
there is an option for RELPERSISTENCE_UNLOGGED.

So, I think that we should or a) make RELPERSISTENCE_UNLOGGED default,
b) document RELPERSISTENCE_UNLOGGED or c) remove it.

I propose b).


Mitar

-- 
http://mitar.tnode.com/
https://twitter.com/mitar_m


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: CREATE UNLOGGED MATERIALIZED VIEW
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CREATE UNLOGGED MATERIALIZED VIEW