https://pravin.dev/database-engineering-fundamental-part-1/the-cost-of-long-running-transactions/