[01:20:11] <sirious> if your shard key is in an embedded document, is it sufficient to include the entire embedded document when doing updates and saves? or do you need to reference the shard key explicitely?
[02:47:58] <nineteeneightd> I'm having trouble convincing pymongo to respect my value for read_preference
[02:48:09] <nineteeneightd> No matter what I set it to, everything seems to hit the master
[02:50:08] <nineteeneightd> Instantiating the client like so: MongoReplicaSetClient("host1:27017,host2:27017,host3:27017", replicaSet="foo", read_preference=ReadPreference.SECONDARY)
[02:51:16] <nineteeneightd> Anyone have any thoughs?
[03:55:52] <strangewildthing> is it possible to create a second collection that is basically exactly the same as the first collection, but with sort and limit applied to it?
[03:56:08] <strangewildthing> all changes to the original collection will be reflected on to the second collection
[03:56:16] <cheeser> so basically the output of a query.
[09:00:00] <stefuNz> Hey there! I'm using mongodb 2.4.8 and i'm having a replica set with three equal machines. After using MongoDB for over 6 months without any problems, MongoDB crashed with this log: http://pastebin.com/jnef9rS5 --- I was writing a lot of documents at that time. Seems like a bug? All three mongo-nodes went down...
[09:08:19] <ncls> maybe you should fix something also, to prevent any new crash
[09:08:22] <stefuNz> yeah, i mean that would be fine if it was returned to my application as an error, but crashing the whole replica set seems very, very odd
[11:59:06] <includex> hi guys, I've a repset almost working, what roles should I give to the "super mega ulta" admin? just clusterAdmin or anything else?
[13:47:59] <katspaugh> Hi! What is more correct in MongoDB – a large single collection with entries having a common field or multiple collections that consist of entries with a corresponding common field?
[13:48:15] <ikss> db.words.find({base: 'filmik', markers: {$in: ['subst','pl']}}) - this way, i can find all records where markers array contains subst OR pl string, is there any way to find rows which contains all of words in that array? so subst AND pl?
[13:56:09] <katspaugh> So, supposing I have records like this: { type: 'common', value: 1 }, { type: 'common', value: 2 }, { type: 'special', value: 3 } – should I make 2 collections – "common" and "special" – or just use find to filter them by type?
[14:20:25] <JPMateo> Hi guys, who knows how to do mongodb streaming in hadoop?
[14:21:31] <JPMateo> Im experiencing problems like this java.lang.ClassNotFoundException: com.mongodb.hadoop.streaming.MongoStreamJob
[16:37:15] <fabiobatalha> anybody knows why the distinct wrapper takes a while to processing a query, even if the key/field is already indexed?
[16:38:16] <fabiobatalha> My database have 440.000 documents and the distinct returns an array with 1185 itens.
[16:46:25] <Nodex> can you run an explain on yoyr query
[16:47:40] <Nodex> it's probably effected by this https://jira.mongodb.org/browse/SERVER-2094
[17:16:17] <mayanks43> Anyone used mongodb to store and retrieve C++ objects as binData?
[17:48:45] <mehola> I have a document with an embedded list. is there a way to query to see if that list intersects with a given list?
[17:52:12] <Joeskyyy> mehola: Do you mean to say you have list a) "{foo, bar, baz}" which is stored in mongodb, you want ot have a query to compare list b) "{foo, ber, baz}" with it?
[19:11:56] <stashspot> Joeskyy: that's not what i need. i don't have any errors so that won't return anything. plus, i need to test error handling from the mongodb .find callback
[19:12:19] <Joeskyyy> It will return null if you have no errors, otherwise it will report an error.
[20:50:21] <bmw0679> Hello all, I was wondering if it was possible to use mongodump to create a dump file that has a limited number of documents in each collection. Is anyone familiar with how to do that?
[21:18:03] <bmw0679> cheeser: I can't seem to find how to add a limit for mongodump -q that would effect every collecetion. Do you know how that would look?
[21:18:24] <cheeser> oh, you'd probably have to do one mongodump call per collection
[21:19:03] <bmw0679> bummer. might be simpler to write a script
[22:18:04] <darius93> what can i do to secured mongodb?