Loading topic
SELECT, INSERT, UPDATE and DELETE statements and use BEGIN, COMMIT and ROLLBACK. It also assumes you know that many clients can use one database at the same time. It uses the vocabulary from the previous chapter: a transaction is a group of statements7 min readBEGIN, COMMIT and ROLLBACK, and know that a database serves many clients at once. It also assumes you have read the chapter on dirty reads. A non-repeatable read is the next anomaly up from that one, and it appears once dirty reads are already 6 min readpsql sessions side by side, or two MySQL clients. A phantom read is the third read anomaly in the SQL standard. It is the one that row-level protection cannot stop, 6 min readBEGIN, COMMIT and ROLLBACK, and know that a database serves many clients at once. You should also know the three read anomalies from the previous chapters: dirty reads, non-repeatable reads and phantom reads.5 min readBEGIN, COMMIT and ROLLBACK, and have met the four standard l5 min readBEGIN, COMMIT and ROLLBACK, and have read the earlier chapters on dirty reads, non-repeatable reads and the SQL standard isolation levels. Here you will see how one common anomaly, the lost update, happens and which techniques stop it.6 min readBEGIN, COMMIT and ROLLBACK.6 min readBEGIN, COMMIT and ROLLBACK work, and the anomalies from earlier chapters: lost update, write skew, and the difference between locking and MVCC. It covers what happens when the database refuses to let a transaction finish, and how your application sh7 min readBEGIN, COMMIT and ROLLBACK. The goal here is a decision procedure: given a workload, which level do you set, and wh6 min read