G
G
GLaDosSystem2019-04-20 17:01:22
MongoDB
GLaDosSystem, 2019-04-20 17:01:22

How does MongoDB save data to a single file?

I learned that in mongodb data is stored in 2 GB files per disk.
I'm wondering how they work with this file, getting documents from it and other things? How does he determine at what position the desired BSON lies, or is there some other algorithm?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2019-04-20
@GLaDosSystem

A Journey through the MongoDB Internals

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question