Answer the question
In order to leave comments, you need to log in
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question