4min chapter

Software Engineering Radio - the podcast for professional software developers cover image

Episode 417: Alex Petrov on Database Storage Engines

Software Engineering Radio - the podcast for professional software developers

CHAPTER

The Mutability Art of B Plus Trees

When b trees were implemented, or conceived, so to say, we didn't have s d. So we had like, spinning disk. On a spinning disk, you have an advantage of being able to finding a physical point on the disk and actually overwriting it. When whenever we 're writing to z, we can write a single page, but we cannot simply overwrite this page. We have to eraise an entire block. This is this process called garbage collection. And during garbage collection, you oll the block, relocate everything that is relevant and erase it after that. But if you're cycling through a bunch of pages, meaning that you keep, in order to make a

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode