Re: Mat Views and Conflicts - Mailing list pgsql-general

From David G. Johnston
Subject Re: Mat Views and Conflicts
Date
Msg-id CAKFQuwb-aUnZ6u_56b-+ZoOkeZij3WocXAqACPreqBsU_Eq+tg@mail.gmail.com
Whole thread Raw
In response to RE: Mat Views and Conflicts  (Zahir Lalani <ZahirLalani@oliver.agency>)
Responses RE: Mat Views and Conflicts  (Zahir Lalani <ZahirLalani@oliver.agency>)
List pgsql-general
On Tuesday, February 20, 2024, Zahir Lalani <ZahirLalani@oliver.agency> wrote:

This suggests that not all the MV data is cached and it still queries the source tables in some way?


No.  That isn’t how MV work.  If you include an MV relation in your query from clause there is no reference or knowledge as to the underlying query that built the MV physical relation.

David J.
 

pgsql-general by date:

Previous
From: Patrick FICHE
Date:
Subject: RE: array_to_json/array_agg question
Next
From: Zahir Lalani
Date:
Subject: RE: Mat Views and Conflicts