Skip to content

Commit a5928d3

Browse files
jocelyn-mendez1Jocelyn Mendez
andauthored
DOCSP-15095 Sharded Collection namespace limit (#593)
* DOCSP-15095 adding sharded collection bytes * DOCSP-15095 adding sharded collection bytes * DOCSP-15095 adding sharded collection bytes * DOCSP-15095 adding sharded collection bytes * DOCSP-15095 fixing character wrap * DOCSP-15095 changing 230 to 235 bytes Co-authored-by: Jocelyn Mendez <jocelyn.mendez@Jocelyns-MacBook-Pro.local>
1 parent 230d92e commit a5928d3

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed
Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
- For :ref:`featureCompatibilityVersion <view-fcv>` set to ``"4.4"`` or
2-
greater, MongoDB raises the limit on collection/view
3-
namespace to 255 bytes. For a collection or a view, the namespace includes the
4-
database name, the dot (``.``) separator, and the collection/view
5-
name (e.g. ``<database>.<collection>``),
2+
greater, MongoDB raises the limit for unsharded collections and views to
3+
255 bytes, and to 235 bytes for sharded collections. For a collection or
4+
a view, the namespace includes the database name, the dot (``.``)
5+
separator, and the collection/view name
6+
(e.g. ``<database>.<collection>``),
67

78
- For :ref:`featureCompatibilityVersion <view-fcv>` set to ``"4.2"`` or
8-
earlier, the maximum length of the collection/view namespace remains
9-
120 bytes.
9+
earlier, the maximum length of unsharded collections and views namespace
10+
remains 120 bytes and 100 bytes for sharded collection.

source/reference/limits.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ Shard Key Limitations
364364
.. include:: /includes/limits-sharding-shardkey-monotonic-throughput.rst
365365

366366
Operations
367-
----------
367+
----------
368368

369369
.. _limit-sort:
370370
.. limit:: Sort Operations

0 commit comments

Comments
 (0)