AlgoViz

Introduction to storage

easy 24 min

How a database keeps data: pages on disk, a buffer pool of pages in memory, indexes that find the right page, and a write-ahead log that makes a commit survive a crash.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 10

Score 0
conceptual

Why do databases use pages instead of single bytes?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 10

Recall

What is a page?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.