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

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

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual, Server
    • Labels:

      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

            Assignee:
            Unassigned Unassigned
            Reporter:
            shakir.sadikali Shakir Sadikali
            Participants:
            Last commenter:
            Ravind Kumar Ravind Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              1 year, 43 weeks, 1 day ago