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

make multikey indices useful for sharding

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 2.1.2
    • Component/s: Index Maintenance, Sharding
    • None

      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.

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

              Created:
              Updated:
              Resolved: