(no title)
CodesInChaos | 24 days ago
But transactions aren't processing queries all the time. Often the application will do processing between sending queries to the database. During that time a transaction is open, but doesn't do any work on the database server.
vbezhenar|24 days ago
CodesInChaos|24 days ago
For long running operations, I usually create a long running read-only transaction/query with snapshot consistency (so the db doesn't need to track what it reads), combined with one or more short writing transactions.
namibj|24 days ago