PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 24th of November, 2019

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[19:08:01] <AWizzArd> I wonder how MongoDB stores files on the disk. I could imagine multiple scenarios. Idea a) is that there is just one huge file. It is a B-Tree and contains all the values. Idea b) could be that there are two files: the B-Tree and its data are "pointers". There is a second file with the JSON data. And a pointer says at which byte to read in the second file, where the JSON starts.
[19:08:51] <AWizzArd> But what happens with those big files if JSON data is deleted in the middle? There would be unused chunks of a huge file.