Re: Refresh materialized view deadlocking? - Mailing list pgsql-general

From Akshaya Acharya
Subject Re: Refresh materialized view deadlocking?
Date
Msg-id CABPa3Q515JKSn028S_GoyuRrnZF335umbcMDtSVbQNAcy2nv3w@mail.gmail.com
Whole thread Raw
In response to Refresh materialized view deadlocking?  (Xiao Ba <bbxiao1@gmail.com>)
List pgsql-general
Hi Xiao


For concurrently option
" Even with this option only one REFRESH at a time may run against any one materialized view. "

I would guess yes.

Regards, Akshaya

On Tue, 10 Jul 2018 at 23:24, Xiao Ba <bbxiao1@gmail.com> wrote:
I have a materialized view that gets refreshed concurrently every 10 seconds (b/c it contains time sensitive stuff). At times it appears to get backed up so there are multiple refreshes queued and then gets stuck waiting for a lock? Does anybody know if this is expected behavior? Am I supposed to be manually managing to ensure that only one refresh is being requested at a time?

Thanks,
Xiao

pgsql-general by date:

Previous
From: Xiao Ba
Date:
Subject: Refresh materialized view deadlocking?
Next
From: Patrick Hemmer
Date:
Subject: max_standby_streaming_delay not enforced