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

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

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Major - P3
    • Resolution: Unresolved
    • None
    • None
    • manual, Server

    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
            Ravind Kumar Ravind Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              2 years, 44 weeks ago