Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13249

Add example on pre-splitting a range-based sharded collection

    XMLWordPrintableJSON

Details

    Description

      Description

      A common (recommended) practice we (TS) tells customers to avoid performance issues related to chunk migrations is to pre-split newly created collections.  You can specify numInitialChunks but this option only applies to collections using a hashed shard key.  We have no examples of how this can be achieved for range-bases shard keys.

       

      3rd party example here: http://juanroy.es/what-is-the-mongodb-pre-splitting/

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            Unassigned Unassigned
            shakir.sadikali@mongodb.com Shakir Sadikali
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              1 year, 14 weeks, 2 days ago