0

How to monitor mongoimport hass successfully saved data into our database? Let's say I have 20,000 rows of CSV data. When I press the button to start mongoimport, the user will see the progress.

Is there a way to see each row successfully inserted to the DB, visually?

mongoimport --db dbname --collection collectionname  --type csv --headerline --file filename --maintainInsertionOrder
1
  • By the way, I am creating a windows application using vb.net – MiniDr Sep 29 '17 at 6:59
0

If your mongod uses journaling, follow local.oplog.rs collection, there are all inserts in the order.

1
  • ,OP want to see the import progress. Yes as per MongoDB documentation sanpshot capture through "oplog". But OP want to know visually the progress of import statement. – Md Haidar Ali Khan Sep 29 '17 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.