Size of the mongodb document slows down querying?

I say, extract all rarely accessed data into other documents. Otherwise your user documents will be bloated and that will affect performance. Even if you're smart enough not to transfer them over the wire (using field specification in find command), then they are still in the same file, which decreases performance of full scans and increases your working set size without necessity.

You make no hint as to how many fields or the size of each field however, as @Sergio states, large documents can increase your working set and the amount of memory required by the LRU. It could also increase index size for a specific query should you need to index a compound index that covers many of these extra fields, increasing the amount of RAM needed for the index.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions