PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 3rd of November, 2012

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:33:11] <eka> hi all... have a sharding setup with lotsa traffic/data, but with 1 mongos, could be that the bottleneck? Have many app servers requesting to that mongos at a high rate, thinking on adding 1 mongos for each app server
[06:01:37] <ttdevelop> hello
[06:01:56] <ttdevelop> is there a way to only return a part of a collection that match the condition
[06:02:31] <ttdevelop> but not the whole collection that contain a match?
[06:14:53] <bakadesu> limit()?
[12:53:14] <durre> I have a database with sales and visitor statistics. this a group by hour, day, week etc and plot graphs in real time. is that a good use case for mongodb?
[12:54:32] <durre> *this statistics I group by...
[13:56:30] <silverfix> pymongo.errors.OperationFailure
[13:56:30] <silverfix> OperationFailure: cursor id '80375048888375' not valid at server
[13:56:33] <silverfix> ??????
[13:56:59] <silverfix> it matter of timeout ?
[15:12:50] <Bilge> MONGOW DAY BAY
[15:13:01] <Bilge> XDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
[16:00:33] <Ephexeve> Anyone with PyMongo experience? I wonder why I am getting this error: http://bpaste.net/show/6BYL7cQzk1Ch1Guhm4Oy/
[16:17:08] <Ephexeve> Anyone with PyMongo experience? I wonder why I am getting this error: http://bpaste.net/show/6BYL7cQzk1Ch1Guhm4Oy/
[16:20:04] <frsk> As it says, you can't have '.' in the key
[17:44:03] <ttdevelop> hello
[17:44:34] <ttdevelop> i need to do something similar to select items from test where items.histPrices=[10,12]
[17:44:49] <ttdevelop> like retrieve the subset of an object that matches a condition
[17:45:00] <ttdevelop> anyone here able to help?
[18:37:17] <roxlu> hi guys
[18:37:29] <roxlu> When I want to connect to a mongodb do I need boost?
[18:38:02] <wereHamster> no
[18:38:11] <roxlu> ah great : )
[18:38:29] <roxlu> (I'm using c++ / c )
[18:38:35] <wereHamster> you need the syscalls socket(), connect() and write()
[18:38:39] <wereHamster> everything else is optional
[18:38:45] <wereHamster> read() as well
[18:43:13] <roxlu> wereHamster: the docs say ths: The C++ driver requires the pcre and boost libraries (with headers) to compile.
[18:45:58] <wereHamster> well, this is the first time you mention that you use the C++ driver..
[18:46:20] <wereHamster> and if the docs say that you need it, then you need it.
[18:46:35] <roxlu> >> 20:01 < roxlu> (I'm using c++ / c )
[18:49:07] <roxlu> ah I'll go for the C lib
[18:49:10] <roxlu> nice and clena : )
[18:49:14] <roxlu> s/clena/clean
[19:01:41] <aboudreault> is it dump to keep all my users/groups/permissions in mongodb too ?
[19:03:31] <aboudreault> *dumb*
[19:28:06] <roxlu> wow
[19:28:36] <roxlu> mongodb is awesome! ... used a long time ago...but forgot how easy it is to manage data
[19:29:24] <kali> mongodb is love.
[19:29:29] <roxlu> :)
[19:29:51] <roxlu> nog sure if this is possible... but ...
[19:30:37] <roxlu> I'm receiving JSON objects like: { name:"somename", age:234, children:[{name:"name1"},{name:"name2"}]}
[19:30:54] <roxlu> would it by any change be possible to insert that directly?
[19:31:19] <kali> yes. mongoimport as a csv option
[19:31:28] <kali> and a json option too :)
[19:32:05] <roxlu> kali: and, if I want to insert only a part of the object?
[19:32:19] <roxlu> then I better create a bson object from it, and remove what I don't want?
[19:32:54] <kali> or parse the json with whatever your conmfortable with nd push to mongodb directly
[19:33:47] <roxlu> yeah I'm using a light weight json parser now, and storing it into a bson obj
[19:34:13] <kali> if you want to stick to shell, there is http://kmkeen.com/jshon/
[19:36:24] <roxlu> are there other fast, tiny json parsers which are popular?
[19:37:31] <ttdevelop> i tried to directly import a json data in the form of [{},{}], it seems like for import to work with mongo, it needs to be in {}\n{} form
[19:39:11] <roxlu> ok
[19:39:41] <roxlu> when I'm inserting millions of entries, do I need to be aware of something with using "bson_append_new_oid(..)" ?
[19:45:09] <rAad> I've got an $avg field in my aggregation engine pipeline. Is there a way to truncate the number of decimals returned (say, 2 decimals for monetary amounts)?
[19:48:50] <ttdevelop> anyone knows any good GUI tools to manage mongodb?
[20:30:31] <roxlu> how do I insert an array like: [0.5,0.1,0.6] ?
[20:30:46] <roxlu> into a bson object (using C)
[23:32:44] <wereHamster> boah, why did mongod preallocate 138 local.* files, each 2G?
[23:32:50] <wereHamster> isn't that a bit overkill?
[23:33:30] <wereHamster> uhm.. creating replication oplog of size: 279002MB. That's 280G?!?