Re: does refreshing materialized view make the database bloat?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: does refreshing materialized view make the database bloat?
Date: 2023-01-16 04:58:17
Message-ID: CAKFQuwZoDgrKN-yhQw0vkfoaYyL1z8QCVtd9+Z5AYKJBH2QDxQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sunday, January 15, 2023, jian he <jian(dot)universality(at)gmail(dot)com> wrote:

>
>
> Hi,
> why the materialized view itself bloats. If no refresh then no bloat
> right? If fresh then set based delete operation will make materialized view
> bloat?
> I also found the same question online. https://dba.stackexchange.com/
> questions/219079/bloat-on-materialized-views Unfortunately nobody
> answered...
>
>
The definition of bloat is a deleted row. Bloat can be reduced by
subsequent row insertions.

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message jian he 2023-01-16 05:29:15 Re: does refreshing materialized view make the database bloat?
Previous Message jian he 2023-01-16 04:52:10 Re: does refreshing materialized view make the database bloat?