PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 5th of August, 2017

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[04:15:27] <Omnipotent> Hi, So I am using python and pymongo and I am generating 1,000,000 random strings, which takes 10 seconds and then inserting using pymongo's insert_many it takes 60 solid seconds, I also have an additional index for "unique", but even without the index it takes 50 seconds solid
[04:15:31] <Omnipotent> Any way to reduce this time?
[11:23:29] <Alw3ys> Hello there! I just have a quick question! Is the following Data structure that I've made a good practice? https://pastebin.com/XCWjUqg0
[21:14:19] <darren_lamb> Hi! I have an app where a user somehow managed to add two documents into a collection even though its supposed to throw error if that specific user has a document in the collection. Anyhow, the duplicated documents have exacly the same object id (mongoose.Schema.Types.ObjectId) except for the last digit. Any ideas on what could cause that?