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

make multikey indices useful for sharding

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor - P4 Minor - P4
    • None
    • 2.1.2
    • 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

        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: