Re: How to monitor locks (max_pred_locks_per_transaction)? - Mailing list pgsql-general

From Kevin Grittner
Subject Re: How to monitor locks (max_pred_locks_per_transaction)?
Date
Msg-id 1325325919.4259646.1420833897790.JavaMail.yahoo@jws10031.mail.ne1.yahoo.com
Whole thread Raw
In response to Re: How to monitor locks (max_pred_locks_per_transaction)?  (Andrey Lizenko <lizenko79@gmail.com>)
List pgsql-general
Andrey Lizenko <lizenko79@gmail.com> wrote:

> does max_locks_per_transaction limit all others modes of locks by
> the same way?

In the sense that the count of all other locks must be less than
max_locks_per_transaction * max_connections, yes.  Most other locks
do not persist past the end of transactions or the closing of
connections (advisory locks and locks related to prepared
transactions being edge-case exceptions).  No other types of locks
have the granularity promotion -- most other locks showing in
sp_locks are on relations or transactions.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgsql-general by date:

Previous
From: dvlsg
Date:
Subject: Re: PSQL/pgAdmin - Column Completion
Next
From: Michael Nolan
Date:
Subject: How to analyze a slowdown in 9.3.5?