Query on ShardKey vs _id

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Done
    • Priority: Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None

      Hello Team,

      I have a quick doubt on Shard key. When we have a database set up with Shard clusters, which is the better way to access the documents from the database. Is it better accessing through _id or through shard key? I would like know about the pros and cons of the both the method. Any help here is much appreciated.

      Thanks in Advance.

              Assignee:
              Gabriel Russell (Inactive)
              Reporter:
              Chandran Muthu [X]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: