Re: questions about wraparound - Mailing list pgsql-general

From Luca Ferrari
Subject Re: questions about wraparound
Date
Msg-id CAKoxK+4YJm4cF6ZRCe6D36GiwqQP8B-WtOL_+tjU3RfNgBrLEA@mail.gmail.com
Whole thread Raw
In response to Re: questions about wraparound  (Luca Ferrari <fluca1978@gmail.com>)
Responses Re: questions about wraparound  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-general
On Mon, Mar 22, 2021 at 8:56 AM Luca Ferrari <fluca1978@gmail.com> wrote:
> backend> select datname, age( datfrozenxid), current_setting(
>          1: datname = "template0"       (typeid = 19, len = 64, typmod
> = -1, byval = f)
>          2: age = "2138438218"  (typeid = 23, len = 4, typmod = -1, byval = t)
>          3: current_setting = "50000000"        (typeid = 25, len =
> -1, typmod = -1, byval = f)
>         ----
>          1: datname = "testdb"  (typeid = 19, len = 64, typmod = -1, byval = f)
>          2: age = "2138438218"  (typeid = 23, len = 4, typmod = -1, byval = t)
>          3: current_setting = "50000000"        (typeid = 25, len =
> -1, typmod = -1, byval = f)


Another thing that comes into my mind as a doubt is: why are all
databases becoming old? I mean, I'm provoking activity _only_ on
testdb, therefore other database such as template1 are not doing
anything. Why an emergency autovacuum is not freezing such databases
before the wraparound happens?

Luca



pgsql-general by date:

Previous
From: NEERAJ BANSAL
Date:
Subject: search_path in pg_dump output.
Next
From: Laurenz Albe
Date:
Subject: Re: questions about wraparound