Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-9997

balance is too slow

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None

    Description

      In our production enviroment, one chunk balance takes almost 300s. If we want to balance 100G data, it will take a very long time.
      An available method is: when moveChunk, don't delete data at step6, finally we delete all the data one by one in slave using standonly instance.
      But i'm not sure it's right, because data are not delete after balance.By the way, we only query by a given shardkey.

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            hustchensi chensi
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: