Quantcast
Channel: Transactions Archives - Vlad Mihalcea
Viewing all articles
Browse latest Browse all 19

MySQL metadata locking and database transaction ending

$
0
0
Introduction As previously explained, every SQL statement must be executed in the context of a database transaction. For modifying statements (e.g. INSERT, UPDATE, DELETE), row-level locks must be taken to ensure recoverability and avoid the data anomalies. Next, I’ll demonstrate what can happen when a database transaction is not properly ended. The test that got … Continue reading MySQL metadata locking and database transaction ending

Viewing all articles
Browse latest Browse all 19

Trending Articles