Answer the question
In order to leave comments, you need to log in
Is it normal to use discriminators on a huge collection?
I will store a million posts from social networks in one collection. I find it convenient to use discriminators. But I think it will not be effective when searching for posts, because all the documents will be in one collection and the database will have to go through all the documents. Is it better to share collections across social networks or use discriminators?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question