Regarding vacuum freeze locking mechanism

From: Durgamahesh Manne <maheshpostgres9(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Cc: andrian(dot)klaver(at)aklaver(dot)com
Subject: Regarding vacuum freeze locking mechanism
Date: 2024-07-18 05:27:10
Message-ID: CAJCZko+DMHw2Cuqu09EKCW_1256GE4qfnhN-BV1X0Uoj0G2JFg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

Do new inserts block while performing vacuum freeze operations ?

when autovacuum runs , it will freeze the transaction ID (TXID) of the
table it's working on. This means that any transactions that started before
autovacuum began will be allowed to complete.but new transactions will be
blocked until the autovacuum finishes.

Could you please provide more clarity on this? Which lock triggers on the
tables are being used by freeze?

Your response is highly appreciated

Regards,
Durga Mahesh

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kashif Zeeshan 2024-07-18 05:28:03 Re: Regarding vacuum freeze locking mechanism
Previous Message Tom Lane 2024-07-18 04:48:30 Re: psql sslmode behavior and trace_connection_negotiation in PG17