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

sharding server should have multiple shard keys support

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.8.1
    • Component/s: Sharding

      I use
      db.runCommand( { shardcollection : "test.users" , key : {_id:1, email : 1 ,address:1}
      to shard

      but only _id can be used to route queries, query only on email and address can not be targeted the server search all the mongod processes.
      so I think is there any possibility to specify more shard keys not used to shard but work as "global indexes", used to route queries
      this will increase the shard performance greatly

            Assignee:
            Unassigned Unassigned
            Reporter:
            dawn davyzhang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: