pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: luis.roberto@siscobra.com.br
To: Luca Ferrari <fluca1978@gmail.com>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: pg_stat_progress_vacuum empty when running vacuum full
Date: Fri, 12 Feb 2021 08:19:37 -0300 (BRT)
Message-ID: <2079035951.52789040.1613128777722.JavaMail.zimbra@siscobra.com.br> (raw)
In-Reply-To: <CAKoxK+4+7=DJXT9xL5AwkLNnNFc3zD0e-kO6Ovik=s+AUxPgzw@mail.gmail.com>
References: <CAKoxK+4+7=DJXT9xL5AwkLNnNFc3zD0e-kO6Ovik=s+AUxPgzw@mail.gmail.com>

> De: "Luca Ferrari" <fluca1978@gmail.com>
> Para: "pgsql-general" <pgsql-general@lists.postgresql.org>
> Enviadas: Sexta-feira, 12 de fevereiro de 2021 8:00:46
> Assunto: pg_stat_progress_vacuum empty when running vacuum full

> Hi all, 
> I'm running 11.5 and I'm monitoring pg_stat_progress_vacuum every 2 
> seconds, while doing from another connection per-table VACUUMs. Every 
> vacuum last 30 or more seconds, so I was expecting to see a record 
> within pg_stat_progress_vacuum, but nothing appears if the vacuum is 
> full. I suspect this is due to vacuum full performing a side-by-side 
> table rewriting, rather than in-place actions against the original 
> table, but I'm not sure if this is real reason or if I'm missing 
> something. 
> 
> Thanks, 
> Luca 


Hi!

I believe VACUUM FULL progress can be monitored via the pg_stat_progress_cluster command: https://www.postgresql.org/docs/current/progress-reporting.html#VACUUM-PROGRESS-REPORTING





view thread (3+ messages)

Message-ID: <2079035951.52789040.1613128777722.JavaMail.zimbra@siscobra.com.br>
Permalink:  ../2079035951.52789040.1613128777722.JavaMail.zimbra@siscobra.com.br/
Also on:    postgresql.org/message-id/2079035951.52789040.1613128777722.JavaMail.zimbra@siscobra.com.br

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: luis.roberto@siscobra.com.br, fluca1978@gmail.com
  Subject: Re: pg_stat_progress_vacuum empty when running vacuum full
  In-Reply-To: <2079035951.52789040.1613128777722.JavaMail.zimbra@siscobra.com.br>
  References: <CAKoxK+4+7=DJXT9xL5AwkLNnNFc3zD0e-kO6Ovik=s+AUxPgzw@mail.gmail.com> <2079035951.52789040.1613128777722.JavaMail.zimbra@siscobra.com.br>

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

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