HorizonDB - Lock Management

This article lists parameters shared by PostgreSQL 17 and PostgreSQL 18 (Preview). Version-specific entries follow where their attributes or availability differ.

Template value is the configuration template's value, not a verification of your compute pool's effective value. A hyphen (-) means the template doesn't declare the attribute. It doesn't mean that a parameter is writable or dynamic.

For your compute pool's configured and effective values, see List and filter parameters.

Shared parameters

deadlock_timeout

Attribute Value
Category Lock Management
PostgreSQL versions 17, 18 (Preview)
Description Sets the time to wait on a lock before checking for deadlock.
Data type integer
Template value 1000
Unit ms
Allowed values 1-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

max_locks_per_transaction

Attribute Value
Category Lock Management
PostgreSQL versions 17, 18 (Preview)
Description Sets the maximum number of locks per transaction. The shared lock table is sized on the assumption that at most max_locks_per_transaction objects per server process or prepared transaction need to be locked at any one time.
Data type integer
Template value 64
Allowed values 10-8388608
Read-only -
Parameter type static
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

max_pred_locks_per_page

Attribute Value
Category Lock Management
PostgreSQL versions 17, 18 (Preview)
Description Sets the maximum number of predicate-locked tuples per page. If a connection locks more tuples than this number on the same page, PostgreSQL replaces those locks with a page-level lock.
Data type integer
Template value 2
Allowed values 0-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

max_pred_locks_per_relation

Attribute Value
Category Lock Management
PostgreSQL versions 17, 18 (Preview)
Description Sets the maximum number of predicate-locked pages and tuples per relation. If a connection locks more pages and tuples than this total in the same relation, those locks are replaced by a relation-level lock.
Data type integer
Template value -2
Allowed values -2147483648-2147483647
Read-only -
Parameter type -
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)

max_pred_locks_per_transaction

Attribute Value
Category Lock Management
PostgreSQL versions 17, 18 (Preview)
Description Sets the maximum number of predicate locks per transaction. The shared predicate lock table is sized on the assumption that at most max_pred_locks_per_transaction objects per server process or prepared transaction need to be locked at any one time.
Data type integer
Template value 64
Allowed values 10-2147483647
Read-only Yes
Parameter type read-only
Documentation PostgreSQL 17, PostgreSQL 18 (Preview)