PrepZone Logo
PrepZone
Back to Database

Database · Hard

Why are long-running transactions dangerous and how do you avoid them?

DatabaseTransactionsStaff

Answer preview

A long-running transaction is one that stays open for seconds or minutes — usually because it waits on a network call, a user, or a huge batch. It is one of the most common root causes of database-wide production incidents, even when it holds no locks at all.…