Blank screen after running script
Cannot Reproduce
I have a collection with 3 million docs. After I run this script, I get a blank white window with nothing inside it. I tried on different machines with different databases too.
db.Transaction.find({}).snapshot().forEach((it) => {
db.Transaction.update({ _id: it._id }, {
$set: {
Items: [{
"Amount": it.Amount, "Memo": it.Memo, "ItemType": it.TransactionType
}], "Total": it.Amount
}
})
});
I tried your script with 1M test data, but can't recall your issue locally.
Update the millions of records one by one will be very slow, it may look like that UI is not responding.
I tried your script with 1M test data, but can't recall your issue locally.
Update the millions of records one by one will be very slow, it may look like that UI is not responding.
The menu still responds but the window is blank. It has been 24 hours since I left it there.
The menu still responds but the window is blank. It has been 24 hours since I left it there.
Is there a way to hide the script runtime log?
Is there a way to hide the script runtime log?
There is no way to hide the script run-time log , when the amount of data is very large, this will indeed be a serious UI problem, I will add an option in the next version.
There is no way to hide the script run-time log , when the amount of data is very large, this will indeed be a serious UI problem, I will add an option in the next version.
Updating the data one by one is not efficient, I think you can use bulk.find.update(). https://docs.mongodb.com/manual/reference/method/Bulk.find.updateOne/
e.g.
Updating the data one by one is not efficient, I think you can use bulk.find.update(). https://docs.mongodb.com/manual/reference/method/Bulk.find.updateOne/
e.g.
Mongobooster crashed at 3.5 mill docs........I have 3.9. For now I am running it server side.
Mongobooster crashed at 3.5 mill docs........I have 3.9. For now I am running it server side.
Replies have been locked on this page!