Re: xmax not zero? - Mailing list pgsql-general

From Luca Ferrari
Subject Re: xmax not zero?
Date
Msg-id CAKoxK+5KeGm3x-=iwcxu==dO9kt3a_KmgfTbnSjexUzpG_t23w@mail.gmail.com
Whole thread Raw
In response to Re: xmax not zero?  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: xmax not zero?  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
On Mon, Oct 30, 2023 at 1:54 PM Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> There are many reasons for a non-zero value: row updated or deleted in a rollbacked transaction, row updated or
deletedin a current transaction, row locked by a SELECT FOR UPDATE, and perhaps others I don't remember right now. 
>

Yes, clearly. 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!

Thanks,
Luca



pgsql-general by date:

Previous
From: b55white
Date:
Subject: Re: pg_checksums?
Next
From: Laurenz Albe
Date:
Subject: Re: xmax not zero?