In this context, we don’t mean textual documents used by humans, but rather use the word in a programming sense as a collection. for large data volumes; if you have to shard your data over multiple. size = total size in memory of all records in a collection + padding (excluded index size + record header which is 16 byte per header, header means = field name) avgObjSize = avg…