Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15095

[SERVER] Document namespace limit for sharded collections

      Sharded collections support a different namespace limit than unsharded ones. The documentation on our MongoDB Website, MongoDB Limits and Thresholds, currently reports partial information about this which needs to be updated.

      I suggest changing the documentation in order to report something as follows:

      • For featureCompatibilityVersion set to "4.4" or greater, MongoDB raises the namespace limit to 255 bytes on views and unsharded collections, and to 235 bytes on sharded collections.
      • For featureCompatibilityVersion set to "4.2" or earlier, the namespace limit remains 120 bytes views and unsharded collections and 100 bytes for sharded collections.

      Please note that this information is actually reported in a couple of places, i.e. "Naming Restrictions" and "Namespaces".

            Assignee:
            jocelyn.mendez@mongodb.com Jocelyn Mendez
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 11 weeks, 3 days ago