agora inbox for pgsql-admin@postgresql.org  
help / color / mirror / Atom feed
From: Achilleas Mantzios <a.mantzios@cloud.gatewaynet.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Materialized views & dead tuples
Date: Wed, 19 Jun 2024 07:24:10 +0300
Message-ID: <e520e644-a710-4de7-9d71-9af5b971b9d3@cloud.gatewaynet.com> (raw)
In-Reply-To: <CAOC+FBU1d_VXbWsx6fNXaANQCKD0SRLB4Tupm4dC-7JiU5rdhg@mail.gmail.com>
References: <CAOC+FBU1d_VXbWsx6fNXaANQCKD0SRLB4Tupm4dC-7JiU5rdhg@mail.gmail.com>

Στις 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.oliver@gmail.com <mailto:wellsoliver@gmail.com>

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

view thread (5+ messages)  latest in thread

Message-ID: <e520e644-a710-4de7-9d71-9af5b971b9d3@cloud.gatewaynet.com>
Permalink:  ../e520e644-a710-4de7-9d71-9af5b971b9d3@cloud.gatewaynet.com/
Also on:    postgresql.org/message-id/e520e644-a710-4de7-9d71-9af5b971b9d3@cloud.gatewaynet.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: a.mantzios@cloud.gatewaynet.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Materialized views & dead tuples
  In-Reply-To: <e520e644-a710-4de7-9d71-9af5b971b9d3@cloud.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox