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
Post a Comment