I have a case where I have an array in a collection that might grow unlimited. For performance purpose, going to apply the outlier pattern to avoid unbounded arrays. What do you think which better from performance wise, create new collection to have the overflow (extra) data? Or create new document in the same collection?
Now when indexing {"parent" : 1, "overFlowIndex" : 1} you will get an indexed query to get all overflow documents. This will have a much better performance then doing a lookup of overflow document from another collection.