no dogma blog
no dogma blog
Blog Posts
Podcast
Web API Lambda Course
Polly Course
Photos
Contact
Support this Site
About
RSS
Light
Dark
Automatic
Transactions
Statement and Transaction Timeouts in Postgres and CockroachDB
There are multiple timeouts to work with when using Postgres and CockroachDB. These can help prevent single statements from running too long, stop transactions that are idle or taking too long, and release locks.
Aug 13, 2025
#
Postgres
,
CockroachDB
,
Transactions
,
Timeouts
CockroachDB and Postgres - Releasing Locked Rows with idle_in_transaction_session_timeout
CockroachDB and Postgres let you lock a row with a select if you intend to update it, but what if the transaction gets stuck and the row remains locked? The idle_in_transaction_session_timeout setting can help with this.
Jul 19, 2024
#
CockroachDB
,
Transactions
,
idle_in_transaction_session_timeout
Cite
×