BUG #18384: It's not bug just question about documentation

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: junhkang91(at)gmail(dot)com
Subject: BUG #18384: It's not bug just question about documentation
Date: 2024-03-08 06:00:16
Message-ID: 18384-d9f97269de73f0fa@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18384
Logged by: Jun Kang
Email address: junhkang91(at)gmail(dot)com
PostgreSQL version: 16.2
Operating system: Linux
Description:

I am a big PostgreSQL lover and keep reading documents and implying to
postgresql with bigdata service.

while I am reading
https://www.postgresql.org/docs/16/transaction-id.html
and
https://www.postgresql.org/docs/16/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND,
i have a question.
"The internal transaction ID type xid is 32 bits wide and wraps around every
4 billion transactions."
"it is necessary to vacuum every table in every database at least once every
two billion transactions."

why Postgresql needs to vacuum in every 2B transactions even though txid
wraps on every 4 billion transactions (double time)?
as the freezing issue, isnt it better to reduce vacuum count?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Laurenz Albe 2024-03-08 07:31:44 Re: BUG #18383: creation of public schema is not consistent
Previous Message Sam Darwin 2024-03-08 01:48:28 Re: BUG #18383: creation of public schema is not consistent