Shadow paging compared with log-based recovery
Trace copy-on-write pages and an atomic page-map switch, then qualify storage, fragmentation, concurrency, and WAL trade-offs. Transaction runtime and crash recovery · Databases.
A transaction edits one page without overwriting the committed map. Which one pointer change makes the new version visible, and what does a crash before it preserve?
What you will learn
- Trace copy-on-write pages through shadow and current maps
- Explain the qualified atomic root-switch commit boundary
- Compare shadow paging with WAL without making a universal performance claim
Lesson outline
- Copy pages, keep the old map
- Switch the root at commit
- Compare storage and concurrency costs
18 minutes · 2 scenes · 0 predict checks · 10 quiz questions
The full lesson is available with Premium.