collections - Will Updating a document key values uses more space in Mongodb -


in mongodb if continuously update key values of document in collection, consume more space? if update value 100 thousand times, space wasted on hard disc.

basically won't use more space writes happens in place, if new value doesn't require more space won't have allocate more.
rapid updates - mongodb writes lazy can group multiple writes 1 physical write disk.

you can find more info here

please note if have logging enabled, use more disk space, depends on configuration.

mongodb dbstats provide database storage usage, try use it.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -