# [[guc:max_locks_per_transaction]]

> 每个事务在共享锁表中的容量预算。
---

每个事务在共享锁表中的容量预算。

[PostgreSQL 18 官方参数参考](https://www.postgresql.org/docs/18/runtime-config.html#GUC-MAX-LOCKS-PER-TRANSACTION)

## 被哪些等待事件引用 {#wait-events}

- [LWLock/LockManager](/zh/lwlock/lock-manager/)
