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

Pre-split new collections when using a hashed shard key

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 2.3.0
    • 2.3.1
    • Sharding
    • None
    • Fully Compatible

    Description

      When using a hashed shard key on a new collection, we can pre-split the range into many chunks, and redistribute those chunks before data is inserted, to avoid shuffling data around later. Users can currently do this manually by calling the 'split' command before inserting data, but we should do it automatically on new collections.

      Attachments

        Issue Links

          Activity

            People

              matulef Kevin Matulef
              matulef Kevin Matulef
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: