Regarding vacuum freeze locking mechanism - Mailing list pgsql-general

From Durgamahesh Manne
Subject Regarding vacuum freeze locking mechanism
Date
Msg-id CAJCZko+DMHw2Cuqu09EKCW_1256GE4qfnhN-BV1X0Uoj0G2JFg@mail.gmail.com
Whole thread Raw
Responses Re: Regarding vacuum freeze locking mechanism
Re: Regarding vacuum freeze locking mechanism
Re: Regarding vacuum freeze locking mechanism
List 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 


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql sslmode behavior and trace_connection_negotiation in PG17
Next
From: Kashif Zeeshan
Date:
Subject: Re: Regarding vacuum freeze locking mechanism