-
Type: Task
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
View performance is substantially worse on unsharded collections if the unsharded collection lives outside the dbPrimary (since views are located on the dbPrimary).
SERVER-85230 will prevent the balancer from moving collections that already have views, but this does not prevent the user from creating a view after the collection has been moved off of the primary.
This ticket is to issue a warning if the user creates a view on an unsharded collection living outside the dbPrimary telling the user about the decreased performance and suggesting using moveCollection to return the collection to the dbPrimary.
- related to
-
SERVER-85230 Disallow balancer moveCollection commands that would move collections with views outside the dbPrimary
- Backlog