Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2679

Skip count step when dumping views as collections

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 100.7.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, mongodump runs dump.getCount() before dumping a non-oplog collection. This can be very time consuming when dumping views as collections since the count operation might use a COLLSCAN. We should fix this by skipping the count step when dumping views as collections.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              varsha.subrahmanyam Varsha Subrahmanyam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: