Re: Transactions to create pg_multixact members and offsets

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Dev Kumkar <devdas(dot)kumkar(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Transactions to create pg_multixact members and offsets
Date: 2014-11-20 17:45:56
Message-ID: 20141120174556.GK1639@alvin.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Dev Kumkar wrote:
> Hellos,
>
> How to manually increase pg_multixact members and offsets?

Search for "burnmulti" in the archives, which is a contrib module to
test pg_multixact.

> Does a transaction waiting for exclusive lock or shared lock result into
> entry being created in pg_multixact?

Merely waiting does not, but more than one lock being acquired on a
tuple does cause a multixact to be created. Try SELECT FOR SHARE on two
transactions on the same tuple.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marcos Cano 2014-11-20 17:47:42 pgdump (9.2.4) not dumping all tables
Previous Message Adrian Klaver 2014-11-20 17:41:26 Re: better architecture?