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

Add tutorial for bulk imports into an empty sharded collection

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual, Server
    • Labels:
      None

      This request is related to a question where the user wasn't very clear on how to import data into an empty sharded collection) and we don't provide any step-by-step instruction for beginners covering these steps.

      It might make sense to add a tutorial or instructions to this Bulk Write Operations section

      1. Pre-split the empty collection to expedite the data import process. This allows the balancer to move and distribute the empty chunks across the cluster, until it is balanced.
      2. Disable the balancer
      3. Import the data
      4. Enable the balancer

      Warning note:
      Please make sure that you turn off the balancer prior to data import and turn it back on post data import, this avoids unnecessary balancing during the data import. Since the balancer may momentarily see that the cluster is unbalanced and performs unnecessary split/balancing process. Some additional information on why you should disable the balancer is available on this documentation.

            Assignee:
            Unassigned Unassigned
            Reporter:
            rupa.narayanan Rupa Narayanan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              1 year, 24 weeks, 3 days ago