Re: BUG #16098: unexplained autovacuum to prevent wraparound - Mailing list pgsql-bugs

From Alessandro Ferraresi
Subject Re: BUG #16098: unexplained autovacuum to prevent wraparound
Date
Msg-id CAEPCv7KbwPDwBePeFu_t7k7QCyixsOzvqiAwtcwu950N7916gw@mail.gmail.com
Whole thread Raw
In response to Re: BUG #16098: unexplained autovacuum to prevent wraparound  (Jeff Janes <jeff.janes@gmail.com>)
Responses Re: BUG #16098: unexplained autovacuum to prevent wraparound  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-bugs
I can try reproducing it, I didn't quite get what is actually triggering that. Let me share some more details:

Postgres instance is getting loaded of 4 big tables (not at the same time, sequentially):

Table1: 2.5B rows
Table2: 2.2B rows
Table3: 7.7B rows
Table4: 1.3B rows

Autovacuum to prevent wrap around kicks in on those table, I was actually wondering if this is somehow related to autovacuum_multixact_freeze_max_age parameter and how. That behavior should be referred to row locking on multiple transaction but this database is still static and not accessible yet, meaning there shouldn't be row level concurrency. For completeness, the load for each table is executed by 40 parallel sessions running the copy command.

pgxxxxx=> show autovacuum_multixact_freeze_max_age;
 autovacuum_multixact_freeze_max_age
-------------------------------------
 400000000

Thanks
Alessandro

Il giorno ven 8 nov 2019 alle ore 16:12 Jeff Janes <jeff.janes@gmail.com> ha scritto:
On Thu, Nov 7, 2019 at 12:11 PM Alessandro Ferraresi <alessandro.ferraresi1@gmail.com> wrote:

Here you go:

pgxxxxx=> show  vacuum_freeze_table_age;
 vacuum_freeze_table_age
-------------------------
 150000000

I can't think of any other innocent explanations, so maybe it is a bug.  But if it were easy to hit, I'd expect it to have been noticed before now.

Can you reproduce it readily?

 Cheers,

Jeff

pgsql-bugs by date:

Previous
From: Jeff Janes
Date:
Subject: Re: EXPLAIN ANALYZE not displaying recheck condition
Next
From: PG Bug reporting form
Date:
Subject: BUG #16104: Invalid DSA Memory Alloc Request in Parallel Hash