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

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

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

javascript - Restarting Supervisor and effect on FlaskSocketIO -