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

Document upper limit on number of fields in compound index

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • Server_Docs_20231030
    • None
    • manual
    • None

    Description

      MongoDB enforces a 31-field maximum on compound indexes. The error message is "too many compound keys", uassert number 13103.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 37 weeks ago