Search Postgresql Archives

Re: Regarding vacuum freeze locking mechanism

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Thu, Jul 18, 2024 at 10:26 AM Durgamahesh Manne <maheshpostgres9@xxxxxxxxx> wrote:
Hi

Do new inserts block while performing vacuum freeze operations ?
Generally, VACUUM FREEZE does not block inserts as PG uses Multi-Version Concurrency Control (MVCC) which allows multiple transactions to operate on the same table without interfering with each other.
 

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 



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux