BUG #17714: Refresh materialized view does not update all date

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: ext-adarsh(dot)kumar(at)elisa(dot)fi
Subject: BUG #17714: Refresh materialized view does not update all date
Date: 2022-12-12 10:34:47
Message-ID: 17714-54abb478f42a2250@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 17714
Logged by: adarsh kumar
Email address: ext-adarsh(dot)kumar(at)elisa(dot)fi
PostgreSQL version: 13.5
Operating system: Red Hat Enterprise Linux release 8.7 (Ootpa)
Description:

We are using Materialized view in our environment and the updates seem to be
incremental in nature, i.e. data older that a specific date is not getting
updated.
we tried manual refresh also , but it does not seem to resolve the issue.
the underlying query of the materialized view, when run returns 1600 rows of
data but the refresed view contains only 269 rows of data and gets updated
when new data is updated.
After dropping the materialized view and recreating in test environment, the
subsequent updates run as expected.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jean-Francois Levesque 2022-12-12 14:37:10 Re: BUG #17710: Slow queries (100% CPU) after auto-vacuum
Previous Message PG Bug reporting form 2022-12-12 04:12:13 BUG #17713: Assert with postgres_fdw in v12