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

make multikey indices useful for sharding

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Duplicate
    • Affects Version/s: 2.1.2
    • Fix Version/s: None
    • Component/s: Indexing, Sharding
    • Labels:
      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

              Assignee:
              renctan Randolph Tan
              Reporter:
              matulef Kevin Matulef
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: