[00:08:19] <Baribal> So how do you save i.e. the data coming in streaming from i.e. a camera? Or should the camera-program accumulate frames and insert them, not using GridFS?
[00:26:41] <lonnylot> does anyone know why you can't use a URL as a bson object id?
[00:27:01] <lonnylot> the mongodb docs say an object id can be anything
[00:45:54] <chretienmn> Hey a simple question: how to do this: db.collection.find({ "field.a" : { $gt: "field.b" } } );
[00:49:03] <chretienmn> oops guess its simply a $where
[00:49:11] <Baribal> chretienmn, off the top of my head, $where, but ... yeah.
[00:54:10] <henrykim> is there any articles to share ways for better index structures under random read/writes environments?
[00:54:29] <chretienmn> Baribal: guess it's the easiest way. was looking for something native without using JS VM
[00:54:37] <henrykim> I mean that it should resolve page-faults problems.
[01:52:48] <henrykim> I need a script to get averages per each minute. How can I do with mongo? columns are | times(second by second) | value |
[09:55:45] <timkuijsten> can mongo read passwords from dot files?
[10:41:25] <suprball> Is there any way to provide a $hint to my $match in the New Aggregation Framework?
[11:44:52] <ro_st> so, i have an array of {id, created, modified} in a document. how do i query the containing document's collection with a value for id in the list i just typed out, such that i get the document back when id is present, and null if not?
[11:45:22] <ro_st> i know that arrays of primitives 'just work'; simply pass the test value in as though the collection were a normal field
[12:49:24] <souza> Guys, i'm having a great problem, using MongoDB and C, we have some code that users ZeroMQ api (in C), and i must to include my mongoC code in this file, but when i try to compile this code, i got a conflit
[12:49:41] <souza> confict between ZeroMQ and MongoDB flags
[14:24:35] <SLNP> Can anyone point me in the direction of some reading materials about how the decision process works for deciding whether or not reads are directed to a slave?
[14:25:44] <ar_blues> after 36 hours, achieved the feat of aggregation of collection containing nested documents using inline map reduce, over spring data for mongodb
[14:26:00] <ar_blues> man feels like I have a grown a beard in that time
[14:33:39] <rick446> SNLP: it's up to the driver to decide where to direct reads; probably your best bet is to search for ReadPreference in your driver docs
[14:33:47] <ranman> ar_blues: maybe not a beard but definitely a need to sleep.
[14:37:43] <ninja_p> anyone any experience with how the PHP driver handles directing reads?
[14:37:58] <NodeX> you can force it to read from a specific slave iirc
[14:38:49] <ninja_p> and what about with no preference
[15:27:48] <dgottlieb> waheedi: pure speculation, but you could be growing the document beyond the size allocated for it which would require some more work than a standard insert
[16:01:56] <souza> guys, i'm using MongoDB and C language, them i was inserting and retrieving data from Mongo, but now the API has changed, in last week, and the official webpage of mongodb and C has a poor documentation about this, and anyone example, someone had used this API with the last modifications?
[16:26:31] <wesc> we've got a secondary that's refusing to catch up with the primary (actually, all secondaries are stuck with the exact same optimeDate). Any thoughts?
[16:30:42] <skot1> Can you post your rs.status() from each of them to pastie/gist/etc?
[16:31:20] <skot1> Also, what does mongostat look like on the primary?
[16:36:46] <wesc> (yes we know the arbiter situation is unusual)
[16:37:14] <wesc> what you'll see there is a single secondary. We did previously have multiple secondaries, and they were all blocked at the same optime too
[16:37:53] <wesc> we reconstructed the replica set from scratch, using a new replset name, deleted oplog contents, and got the same result
[16:39:39] <skot1> What does rs.config() look like?
[16:39:39] <skot1> The same result being some constant delay?
[16:42:14] <wesc> skot1: rs.config here https://gist.github.com/3ccf30a80b4c82e1d9ec
[16:44:58] <skot1> k, with queued writes like that it will cause replication to stall
[16:58:05] <rhqq> hello. what should i do after i change nssize in .conf file? i've restarted mongo, done db.repairDatabase() and i couldnt create more collections anyway.
[17:25:22] <linsys> rhqq: never done it but the docs say to do exactly what you did.
[17:29:28] <wesc> skot1: the bulk of our writes are going to the oplog apparently, we're trying to figure out how it could dominate everything else in the instance by 2 orders of magnitude.
[17:29:41] <wesc> skot1: we see a lot of oplog entries of the form found at the start of the gist https://gist.github.com/3ccf30a80b4c82e1d9ec
[17:30:43] <wesc> is something attempting to rebuild indexes over and over again?
[18:58:29] <jkevinburton> hello everyone. Im wanting to use MongoDB with NodeJS because it seems to be the "thing" to use when using Node. I have a collection of users, and then I have a collection of "checkins" each checkin has a user id and a location id. I also have a collection of followers (user 1 can have many user ids) - would you suggest keeping with MongoDB - or rather a relational database. If you say M
[18:58:29] <jkevinburton> ongoDB, what is the proper way about getting the location and the user from the checkin document (in SQL i would do a join..) .. im a n00b, but very interested in the MongoDB way of things
[19:01:34] <mediocretes> if you can predict what data you will need in the most common case, you can denormalize there
[19:01:52] <mediocretes> otherwise, at least to start, you should probably just do the obvious thing and query both
[20:02:08] <z0netti> is there a way to use distinct like where()?
[20:04:20] <ranman> z0netti: some of the drivers have that functionality if I'm understanding you correctly
[20:07:24] <z0netti> ranman, my problem is that I do a bunch of verifications to use skip(), sort(), where()... and then populate()... but now I need to distinct the results by a certain field, but I can't call run() after distinct =/
[20:08:13] <ranman> yikes that's tricky… let me see if I can figure it out.
[20:10:54] <z0netti> ranman, I found this example: "Category.all(:id => Deal.distinct(:category_id))"
[20:55:21] <hadees> anyone have any suggestions for a good general php orm for mongo? I know there is a list of them on the website but i've found other ones and i'm just wondering if there are more.
[21:13:38] <edvorkin> I am getting ReferenceError when querying my collection named activity-events