Re: Materialized view refreshing problem - Mailing list pgsql-general

From Tom Lane
Subject Re: Materialized view refreshing problem
Date
Msg-id 3970229.1692907058@sss.pgh.pa.us
Whole thread Raw
In response to Materialized view refreshing problem  (Hellen Jiang <hjiang@federatedwireless.com>)
List pgsql-general
Hellen Jiang <hjiang@federatedwireless.com> writes:
> When the materialized view was refreshing concurrently, I saw the pg_lock like this: there was no response within 30
secondswhen the api calls this query, and we got api time out. 

Well, that seems to confirm my idea that the REFRESH is blocked behind
somebody else's lock.  But you need to look to see which session is
holding a lock on mvw_cbsd_status_grants_lessinfo_active_softmarker
and what it's doing.

            regards, tom lane



pgsql-general by date:

Previous
From: Hellen Jiang
Date:
Subject: Re: Materialized view refreshing problem
Next
From: Jitesh Srivastava
Date:
Subject: Support for Deferred Constraints in PG15 Logical Replication