[COMPASS-5455] Export records is slow Created: 25/Jan/22  Updated: 09/Feb/22  Resolved: 09/Feb/22

Status: Closed
Project: Compass
Component/s: Dump/Restore
Affects Version/s: None
Fix Version/s: No version

Type: Investigation Priority: Critical - P2
Reporter: Leonardo Rossi (Inactive) Assignee: Leonardo Rossi (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to NODE-3976 .shift() usage in nextDocument greatl... Backlog
Documentation Changes: Not Needed
Sprint: Iteration Utica

 Description   

Problem Statement/Rationale

Exporting documents in Compass is very slow comparing to a tool like `mongoexport`. This was reported on gabriel.paranthoen on [Slack](https://mongodb.slack.com/archives/C0U7K0MC3/p1643111983056000)

Steps to Reproduce

Connect to `compass-data-sets.e06dc.mongodb.net/citibike` and dump the `trips` collection (~2M records)

Expected Results

Comparable results between Compass and mongoexport

Actual Results

  • mongoexport: 22s
  • Compass: 3mins

    Additional Notes

Any additional information that may be useful to include.



 Comments   
Comment by Leonardo Rossi (Inactive) [ 09/Feb/22 ]

The investigation led to a perfromance issue on the node driver, which has been explained in detail [here](https://jira.mongodb.org/browse/NODE-3976). We will test again after the linked ticket has been resolved.

Generated at Wed Feb 07 22:39:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.