PMXBOT Log file Viewer

Help | Karma | Search:

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

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[02:01:33] <netgene> When I do a $group, how do I 'rename' the field _id?
[03:18:53] <scruz> hi
[07:59:17] <svnlto_> hi, im using gridfs-stream on node and apparently appending to a file doesnt work because it has been disabled in v2 of the driver.
[08:00:22] <svnlto_> still need to append to a file unfortunately, how'd I go about it?
[11:04:48] <ams__> I've got a 200gb DB, Is there any way to use mongodump to dump the DB, then run it again to "update" the dump?
[11:07:03] <ams__> I want to upgrade to wiredtiger, but want to minimize DB downtime
[13:33:14] <troydm> hey all! somehow my mongodb is using 2gb of ram, is there a way to somehow limit the memory usage?
[13:45:50] <tinco> troydm: mongodb will use all available memory
[13:46:16] <tinco> I think
[13:46:21] <tinco> maybe you could use cgroups?
[13:46:28] <tinco> you can configure the cache size
[13:46:32] <tinco> that will have some effect
[14:09:58] <troydm> tinco: well it doesn't give back memory to os after it doesn't needs it
[15:12:57] <StephenLynx> kek
[16:54:49] <nilsi> Can anyone see what wrong with this query?
[16:54:50] <nilsi> http://pastebin.com/GMhYSgeh
[16:55:20] <nilsi> I cant specy the path with . (dots)?
[16:55:23] <nilsi> Error: Line 4: Unexpected token .
[16:55:41] <nilsi> Do I have to pass them as a String?
[16:57:02] <cheeser> wrap the keys in quotes.
[16:57:18] <nilsi> cheeser thanks
[16:57:27] <cheeser> strictly speaking, json keys are always strings and should be quoted. many parsers are lax about that requirement.
[16:57:36] <cheeser> the dots make them essential
[16:57:37] <nilsi> Does it mather if its double or single quotes?
[16:57:40] <nilsi> Ah okey
[16:59:34] <nilsi> Got some new errors
[16:59:35] <nilsi> http://pastebin.com/it8QmMgB
[16:59:47] <nilsi> assert failed : Fourth argument must be empty when specifying upsert and multi with an object.
[17:00:36] <nilsi> I just removed that four argument
[17:00:39] <nilsi> It worked
[17:00:41] <nilsi> Good enough
[17:01:01] <nilsi> fourth*