Reference - Fundamentals of Database Systems 7th edition Recovery techniques system log를 통해 모든 transaction과 commit point를 기록하고, failure가 나면 그 위치로 가서 recovery 시도. 지연 갱신(Deferred update) - 캐시가 남아있기 때문에 Undo가 아닌 redo를 하게 됨. 즉시 갱신 - failure가 나면 Undo를 해서 처음부터. Recovery는 undo와 redo의 조합. 이 조합은 idempotent(10번 수행한것과 1번 수행한 것을 동치되게) 해야한다. buffer에 있는걸 disk에 flush. cache 복원을 어떻게 할 것인가가 중요하다. Pin-unpin bit =..