F
F
Fisher212019-06-05 14:27:39
Doctrine ORM
Fisher21, 2019-06-05 14:27:39

Does it make sense to create a separate collection with the same type of documents in mongo for each individual application user?

The situation is as follows: there is an application, the application has users, in the process of a user working with the application, many (10k-100k) documents of the same type are generated for him in mongodb within one collection. Indexes on the required fields are built. All queries to the database are always in the context of one user, there are many queries for fetching and updating, does it make sense for each user to create his own collection, will it give an increase in performance, fault tolerance?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2019-06-05
@inoise

Performance - can be measured, but not a fact at all. Resilience has nothing to do with it at all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question