PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Thursday the 4th of August, 2016

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:00:49] <jamieshepherd> any ideas?
[04:21:03] <sloth> hey i need a webscale db is mongodb web scale?
[09:19:19] <HydroX|de> hi all - first time using mongodb here, say I have a collection of transactions witih TRANSACTION_ID and PRODUCT_ID, I want to first query on PRODUCT_ID=foo, then find every transaction ID matching that result, how would I go about that?
[09:19:37] <HydroX|de> I would normally use a left join
[09:19:57] <HydroX|de> is $lookup appropriate?
[09:22:24] <HydroX|de> I started with two separate queries, iterating over the results of the first to grab the second
[09:22:28] <HydroX|de> but this was quite slow
[09:22:56] <HydroX|de> around 3 minutes for only 500,000 rows
[10:59:36] <mementomori> is there a chan about pymongo?
[11:02:51] <mementomori> what's best? A single MongoClient instance per application o multiple MongoClients for every class that works with the db?
[11:04:45] <Derick> I'm going with one
[11:05:03] <mementomori> http://api.mongodb.com/java/2.10.1/com/mongodb/MongoClient.html
[11:05:20] <mementomori> it's for java instead of python but I think it's the same.
[11:05:34] <mementomori> it says: "For most applications, you should have one MongoClient instance for the entire JVM."
[11:05:54] <mementomori> when you should have multiple clients?
[11:07:15] <mementomori> when you have to connect to multiple servers at the same time is obvious. Other cases?
[12:08:20] <orriols> Hi. I'm using Mongodb 3.0.12 with WiredTiger. I'm currently investigating an hipotetical lock contention at document level. I can see high records of timeAcquiringMicros in the mongod logs, but not in system.profile.locks, as in the profile there is no document-locks granularity, only collection. Does anybody has any suggestion?
[13:02:13] <kenalex> hello
[13:03:25] <kenalex> do you guys know of any ecommerce solution that uses mongodb for their main database (not just catalog products, but also shopping cart )
[15:34:15] <orriols> Any recommendation on how to profile document-level concurrency contention when using WiredTiger?
[17:24:57] <kenalex> do you guys know of any ecommerce solution that uses mongodb for their main database (not just catalog products, but also shopping cart )
[18:04:36] <bunbury> hello has anyone setup mongodb driver in karaf ?
[18:48:40] <n1colas> Hello
[19:52:54] <bunbury> anyone ?/
[19:58:01] <thebigredgeek> bunbury sup
[20:14:23] <clearcut> anybody know some freenode channels that deal with data mining, algorithms, machine learning
[22:24:18] <bunbury> thebigredgeek hey man
[22:24:23] <thebigredgeek> sup
[22:24:43] <orriols> Any recommendation on how to profile document-level concurrency contention when using WiredTiger?
[22:24:45] <bunbury> thebigredgeek learning mongo ^^
[22:31:26] <cheeser> 4
[22:31:38] <thebigredgeek> cool cool
[23:26:37] <openfly> hey all, if anyone is familiar with pymongo i'd like some help debugging an update statement. gist here: https://gist.github.com/openfly/825807e1cea9bbb3c2a1ec4a6112999d
[23:27:08] <openfly> not sure i can do a conditional update inside a find_and_update()
[23:27:22] <openfly> err find_and_modify