If you have any trouble accessing any of these materials, please post a note on Piazza and we'll help.
- Slides: all animations, limited animations
- Outline
- Recording
- Supplemental Reading: Textbook §9.3
- Given a sequence of transactions, create the associated log
- Understand how a log is used for reads (e.g., given a log, read the value of any variable in the log)
- Explain how reads and writes are done when cell storage is used
- Explain why logging must be done before installing
- Given a log + cell storage set-up that crashes, repair cell storage and the log after recovery
- Explain how reads and writes are done when cell storage and a cache are used
- Given a log + cell storage + cache set-up that crashes, repair cell storage and the log after recovery
- Write the code for read, write, and recover in all of these cases
- Explain the effects that cell storage and a cache have on performance
Some of these problems also include concepts from future lectures and recitations, such as 2PL and FORCE and STEAL policies.