Will collection with a huge array of document refs in mongodb cause performance slowdown? Will collection with a huge array of document refs in mongodb cause performance slowdown? mongoose mongoose

Will collection with a huge array of document refs in mongodb cause performance slowdown?


This looks like a problem with many references / relations. Why do you want to use MongoDB? If you cannot "flatten" your problem to documents well, I don't think MongoDB is the ideal choice.

Furthermore, what are your access patterns, like reads vs writes, frequent queries,...? With NoSQL databases this makes a much bigger difference than with relational ones.