pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Luca Ferrari <fluca1978@gmail.com>
To: Guillaume Lelarge <guillaume@lelarge.info>
Cc: pgsql-general <pgsql-general@lists.postgresql.org>
Subject: Re: xmax not zero?
Date: Tue, 31 Oct 2023 09:44:54 +0100
Message-ID: <5392fc2be0f09ca2cc063a6b25d0f9560d449808.camel@cybertec.at> (raw)
In-Reply-To: <CAKoxK+5KeGm3x-=iwcxu==dO9kt3a_KmgfTbnSjexUzpG_t23w@mail.gmail.com>
References: <CAKoxK+4OkBvHteiK9ws=G5G2L5w_2QcR5+=XDzKUP6PN7JmrYw@mail.gmail.com>
	<CAECtzeX0rdhG42jR0R+j4ytQgP4SRUXKrLX26rO7poqoR2e=mg@mail.gmail.com>
	<CAKoxK+5KeGm3x-=iwcxu==dO9kt3a_KmgfTbnSjexUzpG_t23w@mail.gmail.com>

On Tue, 2023-10-31 at 08:23 +0100, Luca Ferrari wrote:
> What puzzled me was that such xmax was non-zero for a
> while (days). Inspecting pg_class.reloptions I found that accidentally
> (?) disabled autovacuum on such table, my fault!
> I should have checked pg_stat_user_tables at first!

VACUUM won't modify "xmax", nor will it remove the row.

Yours,
Laurenz Albe





view thread (5+ messages)

Message-ID: <5392fc2be0f09ca2cc063a6b25d0f9560d449808.camel@cybertec.at>
Permalink:  ../5392fc2be0f09ca2cc063a6b25d0f9560d449808.camel@cybertec.at/
Also on:    postgresql.org/message-id/5392fc2be0f09ca2cc063a6b25d0f9560d449808.camel@cybertec.at

 · 

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: laurenz.albe@cybertec.at, fluca1978@gmail.com, guillaume@lelarge.info
  Subject: Re: xmax not zero?
  In-Reply-To: <5392fc2be0f09ca2cc063a6b25d0f9560d449808.camel@cybertec.at>
  References: <CAKoxK+4OkBvHteiK9ws=G5G2L5w_2QcR5+=XDzKUP6PN7JmrYw@mail.gmail.com> <CAECtzeX0rdhG42jR0R+j4ytQgP4SRUXKrLX26rO7poqoR2e=mg@mail.gmail.com> <CAKoxK+5KeGm3x-=iwcxu==dO9kt3a_KmgfTbnSjexUzpG_t23w@mail.gmail.com> <5392fc2be0f09ca2cc063a6b25d0f9560d449808.camel@cybertec.at>

* 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