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

Skip count step when dumping views as collections

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 100.8.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 1,361

      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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            varsha.subrahmanyam@mongodb.com Varsha Subrahmanyam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: