[SERVER-3450] mongorestore much slower with --dbpath than when it connects to mongod Created: 19/Jul/11  Updated: 08/Mar/13  Resolved: 17/Jan/13

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kristina Chodorow (Inactive) Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

I was trying to restore a 20GB file. With --dbpath, it was at 100% CPU, mostly system time. It inserted ~1 million docs in ~15 minutes.

Connecting to a mongod, it stayed around 20% CPU and inserted all 22 billion in ~15 minutes.



 Comments   
Comment by Eliot Horowitz (Inactive) [ 17/Jan/13 ]

Got exactly opposite results.
Likely not using an optimized mongorestore?

Generated at Thu Feb 08 03:03:06 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.