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

Add tutorial for bulk imports into an empty sharded collection

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            rupa.narayanan Rupa Narayanan
            Participants:
            Last commenter:
            Anthony Sansone Anthony Sansone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Days since reply:
              4 years, 10 weeks, 2 days ago