Re: Materialized views & dead tuples

From: Achilleas Mantzios <a(dot)mantzios(at)cloud(dot)gatewaynet(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Materialized views & dead tuples
Date: 2024-06-19 04:24:10
Message-ID: e520e644-a710-4de7-9d71-9af5b971b9d3@cloud.gatewaynet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Στις 19/6/24 01:28, ο/η Wells Oliver έγραψε:
> Apologies for the daft question, but I am surprised to see
> materialized views show up in pg_stat_user_tables with lots of dead
> tuples. These are rematerialized nightly and, I thought, this had the
> effect of replacing/recreating them anew. Can someone shed some light
> on this?
MVs they are just ordinary tables with the addition of having a
definition, and not being able to be directly manipulated. They can be
bloated just like normal tables, so they need the classic maintenance.
>
> --
> Wells Oliver
> wells(dot)oliver(at)gmail(dot)com <mailto:wellsoliver(at)gmail(dot)com>

--
Achilleas Mantzios
IT DEV - HEAD
IT DEPT
Dynacom Tankers Mgmt (as agents only)

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message jian he 2024-06-19 06:47:17 Re: Statement_timeout in procedure block
Previous Message Achilleas Mantzios 2024-06-19 04:14:54 Re: Statement_timeout in procedure block