File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change 75
75
MongoDB will only return sorted results on fields without an index
76
76
*if* the sort operation uses less than 32 megabytes of memory.
77
77
78
-
79
78
.. _limit-nested-depth:
80
79
81
80
.. describe:: Nested Depth for BSON Objects
@@ -84,3 +83,27 @@ Limits
84
83
85
84
MongoDB only supports 100 levels of nesting for :term:`BSON
86
85
documents <document>`.
86
+
87
+ .. _limit-sharding-limitations:
88
+
89
+ .. describe:: Operations Unavailable in Sharded Environments
90
+
91
+ The :dbcommand:`group` does not work with sharding. Use
92
+ :dbcommand:`mapreduce` or :dbcommand:`aggregate` instead.
93
+
94
+ :func:`db.veal()` is incompatible with sharded collections. You may
95
+ use :func:`db.eval()` with un-sharded collections in a shard
96
+ cluster.
97
+
98
+ :operator:`$where` does not permit references to the ``db`` object
99
+ from the :operator:`$where` function. This is uncommon in
100
+ un-sharded collections.
101
+
102
+ .. _limit-sharding-unique-indexes:
103
+
104
+ .. describe:: Unique Indexes in Sharded Collections
105
+
106
+ MongoDB does not support unique indexes across shards, except when
107
+ the unique index contains the full shard key as a prefix of the
108
+ index. In these situations MongoDB will enforce uniqueness across
109
+ the full key, not a single field.
You can’t perform that action at this time.
0 commit comments