FAQ Database Discussion Community


Why and when is necessary to rebuild indexes in MongoDB?

mongodb,indexing,theory,fragmentation
Been working with MongoDB for a while and today I had a doubt while discussing with a colleague. The thing is that when you create an index in MongoDB, the collection is processed and the index is built. The index is updated within insertion and deletion of documents so I...

Doesn't fragmentation in FAT file system lead to space wastage?

memory-management,operating-system,computer-science,fragmentation,fat
The wikipedia for article for fragmentation states: In many cases, fragmentation leads to storage space being "wasted", and in that case the term also refers to the wasted space itself. For other systems (e.g. the FAT file system) the space used to store given data (e.g. files) is the same...