PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 12th of July, 2014

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:12:21] <travisgriggs> it seems to fail on the database that has a 512M file associated with it. i’ve shut a bunch of stuff down and vmstat shows 882M free, so I’m not sure why it can’t map that. or if that’s even the problem
[08:47:56] <shesek> can I tell if an findAndModify operation resulted in a modify?
[08:48:28] <shesek> that is, differentiate a case where a document is found and updated with a case where a document is found but is not updated (due to unique constraints etc)
[11:58:50] <oceanx> hi, is there a way to do a projection of only a sub-dictionary of my document (inside an aggregation pipeline), if i try to do $project: "$content.subdict" it says projection needs an object, is there a way I can turn the reference $content.sub-dict to an object (a dict)?
[16:35:39] <jParkton> How do I connect to mongo from some.js?
[16:35:54] <jParkton> new Mongo() is deprecated?
[18:33:50] <SubCreative> Sorry for the newb question but I'm coming from a RMDB background. Is it possible to have a collection inside of a collections document?
[18:35:23] <SubCreative> I have 2 collections I want to store, Users & Orders but I don't want to use 2 seperate collections, i'd rather use a tree like structure.
[18:35:38] <SubCreative> Orders inside Users
[18:37:15] <SubCreative> or would that be considered a potentially bad idea due to 16mb document collection size limit?
[18:37:37] <SubCreative> Maybe it would be best to store 2 separate collections with reference to ID's like a typical RMDB
[18:37:57] <SubCreative> RMDB*
[19:27:17] <yogurt_truck> SubCreative: don't use mongodb if you are going to be doing that
[19:27:47] <yogurt_truck> SubCreative: but you can have an embedded array `orders` in every `User` document, if you want
[19:28:07] <SubCreative> I actually found out my problem thanks yogurt.
[19:28:24] <SubCreative> I was thinking that my db only held one collection
[19:28:28] <SubCreative> but stupidly thats not the case.
[19:35:49] <Tug_> Hi, I tried to enable sharding following the documentation but it does not seem to work (data is not redistributed)
[19:36:18] <Tug_> this is my shards status on a mongos http://pastebin.com/ipz7pqPB
[19:37:08] <Tug_> it looks like all chunks are mapped to the first shard only
[23:12:23] <capM_> hey does anyone know the point of using robomongo?
[23:12:32] <capM_> is it just an admin tool?
[23:23:36] <capM_> anyone there?
[23:23:46] <capM_> i have another question
[23:23:56] <tscanausa> robo mongo is a admin tool
[23:26:25] <capM_> yes
[23:26:28] <capM_> all good
[23:26:46] <capM_> do you know how a user can access a noSQL database from the front-end?
[23:28:34] <cheeser> using a driver
[23:29:12] <capM_> yes and no