Phantom Phenomenon and Index Locking

Insert and Delete Operations A delete operation may be performed only if the transaction has an X-mode lock on the tuple A transaction that inserts a new tuple is given an X-mode lock on the tuple Insertions and deletions can lead to the phantom phenomenon Delete와 Insert Operation은 X-mode lock을 획득해야...

Database Recovery: WAL and ARIES

커밋했는데 서버가 꺼지면? 커밋 중에 죽으면, 절반만 쓰인 데이터는? Durability “커밋했다”는 약속은 서버가 꺼져도 유효해야 한다. Atomicity 트랜잭션은 전부 반영되거나, 전혀 반영되지 않아야 한다. 1. System Failure 1.1.