Re: REFRESH MATERIALIZED VIEW CONCURRENTLY is blocking autovacuum on table - Mailing list pgsql-general

From Adrian Klaver
Subject Re: REFRESH MATERIALIZED VIEW CONCURRENTLY is blocking autovacuum on table
Date
Msg-id 5e7e85fc-f462-41aa-a239-0866a6f72f9b@aklaver.com
Whole thread Raw
In response to REFRESH MATERIALIZED VIEW CONCURRENTLY is blocking autovacuum on table  (Dirk Krautschick <dee-kay@gmx.de>)
List pgsql-general
On 2/8/26 17:17, Dirk Krautschick wrote:
> Hi,
> 
> I have a situation here where a frequent
> 
> REFRESH MATERIALIZED VIEW CONCURRENTLY
> 
> is preventing autovacuum on some tables kind of running into a circle of 
> growing.

You will need to:

1) Show the original CREATE MATERIALIZED VIEW command.

2) Indicate if the blocked autovacuum is on the tables the view is 
pulling from or other tables.

3) Tell us the Postgres version and whether it is community version or a 
fork.

> 
> Why is this acutally blocking autovacuum and what is the best practice 
> to prevent
> this excelt just not refreshing the materialized view frequently? :-)
> 
> Cheers
> 
> Dirk


-- 
Adrian Klaver
adrian.klaver@aklaver.com



pgsql-general by date:

Previous
From: Dirk Krautschick
Date:
Subject: REFRESH MATERIALIZED VIEW CONCURRENTLY is blocking autovacuum on table
Next
From: Laurenz Albe
Date:
Subject: Re: REFRESH MATERIALIZED VIEW CONCURRENTLY is blocking autovacuum on table