Open sidnt opened 4 years ago
Avoid long-lived transactions.
- Read transactions prevent reuse of pages freed by newer write transactions, thus the database can grow quickly.
- Write transactions prevent other write transactions, since writes are serialized.
release the transaction handle:
the former will, effectively,
and the latter, will, effectively