Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6095

make multikey indices useful for sharding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Duplicate
    • 2.1.2
    • None
    • Index Maintenance, Sharding
    • None

    Description

      If sharding on "a", an index on "a,b" is not considered useful if there are multikey (array) values for "b". Theoretically, it should still be useful (though maybe less efficient than single-key indices), so we should be able to use it if no single-key index that start with "a" exists.

      Attachments

        Issue Links

          Activity

            People

              randolph@mongodb.com Randolph Tan
              matulef Kevin Matulef
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: