Mat view sometimes taking 10x the time to refresh concurrently

From: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Mat view sometimes taking 10x the time to refresh concurrently
Date: 2021-05-27 16:15:12
Message-ID: CAOC+FBVa10yEcxQ4heZeXA3n9Foa3O=GUWrY-ZgkrCsBrfC8tQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hey, we have a mat view that normally takes ~18m to re-materialize
concurrently, which we do daily. Maybe once a week, it takes ~180m to
refresh, and we're at a loss as to why.

We are running backs during the same general time window, where we do
backup the schema where this mat view is located, could this be an issue?
We have not noticed any lock errors in the backup or log, though.

Any tips on tracing this down would be appreciated.

pg 13.2

--
Wells Oliver
wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Holger Jakobs 2021-05-27 16:26:42 now() and statement_timestamp()
Previous Message Vijaykumar Jain 2021-05-26 18:45:11 Re: How do I install pgAgent?