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

We're planning on changing our shard key. We'd like your opinion on whether it makes sense or not.

    XMLWordPrintableJSON

Details

    • Icon: Question Question
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • None
    • 2.0.3
    • Sharding
    • None
    • Linux

    Description

      We have a GIS based database. All documents contain longitude and latitude. Currently we have our shard key set to longitude. We are considering changing it to a combination of longitude and latitude. We believe that, in doing so, we will not only greatly increase the cardinality of keys, but will also distribute our data more evenly across the shards. We also expect to see an improvement in the time it takes to load and query data. We'd like your opinion on this.
      Thanks in advance for you help.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tshinnick Tim Shinnick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: