The Backend Engineering Show with Hussein Nasser cover image

MongoDB Internal Architecture | The Backend Engineering Show

The Backend Engineering Show with Hussein Nasser

00:00

MongoDB Storage Engine - What's the Difference?

The storage engine was also responsible for transactions. The writer had log or journaling as MongoDB calls it, right? As I'm writing things, originally when you write things, it needs to go to the data file. That's what the major storage lives. But then, the data file is really expensive because you're writing in pages,. So, imagine, you're touching one column, one property. You need to write a whole page. There is no writing one byte in databases. No, no, no, sir. We don't go to disk and say, hey, just change that tinybyte. Or just change thattiny three byte. Or justchange that one k byte

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app