[00:01:23] <node123> using mongoose in node if it makes a difference
[00:28:47] <node123> I have to go soon, anyone know how to save an object ({a: b, c: d}) in mongo/mongoose?
[00:29:23] <node123> Can I do it without any JSON.stringify?
[00:29:46] <node123> I tried setting the schema property type to Object but it didn't work
[01:12:33] <wildstrangething> kali: would my writes to mongodb be after if I split the python file into 3, each writing to mongo continuously?
[01:13:55] <wildstrangething> Or will I have to do sharding, like 3 shards on the same box because the 3 smaller python files each write to a different collection
[01:14:36] <wildstrangething> Here's the python code we were discussing about: http://paste.laravel.com/1iXO
[01:15:47] <wildstrangething> Wonder what's the operation that causes mongo to use so much CPU time
[13:10:03] <SeptDePique> hello all... i hope somebody can help me here! how do i store json files in mongodb with java? at the moment i just use a normal string field in a normal java class and then store the object in a collection, but i assume it is not the best way...?!
[13:11:21] <ron> SeptDePique: mongodb is a document-oriented datastore. normally you'd store a json as a mongo document.
[18:09:47] <danielarmak> According to https://jira.mongodb.org/browse/SERVER-10653 there is a race condition in mongod if I run shardCollection and insert to the collection at the same time, which can make the collection unusable.
[18:10:20] <danielarmak> the ticket quotes a comment from mongod sources which says: TODO: Race condition if we shard the collection and insert data while we split across
[18:10:20] <danielarmak> the non-primary shard. https://github.com/mongodb/mongo/blob/v2.4/src/mongo/s/chunk.cpp#L1000
[18:11:30] <danielarmak> I need to sometimes create collections from app code and shard them (because i have a collection of logs per day). Is this a real problem? Do I need to make sure no-one tries to insert before sharding has finished (whatever that means)?
[18:32:57] <danielarmak> i just asked on StackOverflow: http://stackoverflow.com/questions/20871821/shardcollection-vs-insert-race-condition-in-mongodb
[19:58:36] <kali> disorder: set a key field of some sort, and index it
[21:46:59] <darius93> how would anyone compare MongoDB to MariaDB? What would I get out of using MongoDB
[21:48:20] <ppetermann> the comparison does not make much sense, maria is a relational database, mongodb is a document oriented one
[21:49:14] <ppetermann> there are a few hints at http://www.mongodb.com/learn/nosql but tbh, the decision to use a document oriented database should be made on the basis of which type of data you are working with
[21:49:26] <ppetermann> for some things it makes sense, for others it doesnt
[21:53:27] <darius93> ppetermann: well the only data im dealing with are accounts info, logs, and other content like blogs, etc.
[21:56:42] <darius93> hm I might just stick with mariadb for now..