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

Mongodump extremely slow on 4.0.8

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.0.8
    • Component/s: None
    • Labels:
      None
    • ALL
    • Storage Engines 2019-07-01
    • 3

      Since upgrading to mongo 4.0.8 from 3.4.6 our mongodumps have become extremely slow.

      mongodump --archive=${DIR}.gz \
      -h ${MONGO_REPL_SET_NAME}/${MONGO_SET} \
      -u ${MONGO_USER} \
      -p ${MONGO_PWD} \
      --gzip \
      --readPreference secondaryPreferred \
      --ssl \
      --sslCAFile mongodb-ca.crt \
      --authenticationDatabase admin \
      --${DB_OR_OPLOG} \
      --forceTableScan 

      is the command we run for backups. Since the upgrade we are seeing about 10x slower backups.
      Tried moving to a new machine with more memory and didn't see any speed improvement. CPU has 1 core at 100% while the rest of the cores have little to no activity. iostat doesn't show disk to be anywhere near saturated. We have tried running mongodump with the 3.6 and 4.0 cli too without any improvement. 

        1. 40433.png
          678 kB
          Dmitry Agranat
        2. comparison.png
          392 kB
          Bruce Lucas
        3. image-2019-06-20-17-14-07-249.png
          30 kB
          Haribabu Kommi
        4. Screen Shot 2019-05-21 at 11.44.02 AM.png
          505 kB
          Danny Hatcher
        5. Screen Shot 2019-05-21 at 11.44.10 AM.png
          545 kB
          Danny Hatcher
        6. SERVER-40433-3.6.6-vs-4.0.9-eviction.png
          301 kB
          Haribabu Kommi
        7. server-40433-3.6.png
          197 kB
          Sulabh Mahajan
        8. server-40433-4.09-metrics.png
          30 kB
          Haribabu Kommi
        9. server-40433-lock-issue.png
          171 kB
          Sulabh Mahajan

            Assignee:
            daniel.hatcher@mongodb.com Danny Hatcher (Inactive)
            Reporter:
            paulblend Paul Henderson
            Votes:
            1 Vote for this issue
            Watchers:
            21 Start watching this issue

              Created:
              Updated:
              Resolved: