[12:04:52] <Zelest> hmms.. seems like my OS is lacking the mongodb tools (mongoimport, mongoexport, etc) .. what easiest way to get a hold of those tools? :/
[12:24:29] <virtualsex> i'm confused about mongod, mongos, and config server
[12:24:43] <virtualsex> each sql is stored as a file..
[12:28:49] <virtualsex> please suggest a book about mongodb
[13:01:22] <Karbowiak> virtualsex forget most things you know from sql, when moving to mongo
[13:01:48] <Karbowiak> mongod is the daemon, mongos i dunno
[13:02:34] <Karbowiak> as for file storage, it stores them in individual collections, and individual indexes
[13:02:52] <Karbowiak> for example: http://i.imgur.com/fXQMc3Y.png
[13:12:42] <virtualsex> so collection is evenly distributed on mongod servers
[13:13:22] <virtualsex> and each mongod can have as many as 8 replications?
[13:15:43] <Karbowiak> no idea actually, but if you setup sharding/replications then yeah, it'll get sharded/replicated across nodes
[13:20:18] <virtualsex> so what do mongos and config server do
[13:20:57] <Karbowiak> no idea about mongos, i guess it's a part of the sharding stuff - and config server i'm guessing is so each shard can use the same config
[13:21:03] <Karbowiak> but i don't do replication/sharding myself
[13:24:05] <Karbowiak> but it's getting easier :) just gotta think about the data storage format as being different
[13:25:55] <Karbowiak> it's nice tho, i write stuff in php, and the data format in mongo, translates almost 1:1 to php's array - helps that the php library is fairly intuitive too
[13:48:16] <nilsi> Sorry for the paste but its so short
[13:52:27] <virtualsex> Karbowiak, we use java mostly, hope mongo can benefit us
[13:53:56] <Karbowiak> depends on how you store your data - you can't think of it like sql
[13:55:19] <virtualsex> i know, it's collection of files
[13:55:49] <Karbowiak> more like a collection of data, you can't join collections with other collections, not unless there is some sort of black magic that lets you do it
[13:56:05] <Karbowiak> you gotta merge data from collections in code if my understanding is correct
[13:56:34] <Karbowiak> unless you use map/reduce i guess - but i guess that qualifies as black magic, lol
[14:05:35] <virtualsex> that's good. i forgot most of sql things
[14:18:43] <matthias___> hello, i have some data and want to have the output like this: https://bpaste.net/show/987f901941b7 so nullifying the value if it occurs again can i do this directly in mongo?
[20:37:28] <YouNixcc> I need some clarifications on how to model my db on mongodb. the reason for migrating from mysql to mongodb is because of my data structure. Its basically a tree like structure with many to many relationships etc. So imagine a user who has folders. and folders contain folders and files. this is the perfect example of embedding folders within the user, and each folder document contains another
[20:37:28] <YouNixcc> folder and so on. However i am facing a big problem. There is the functionality to "share" a folder between x amount of users and this basically contradicts the embedding pattern since the same folder can be shared with more users which is basically a many to many relationshio with itself( a folder has many to many relationship with itself)
[20:38:50] <YouNixcc> So things show that i need to go with referrencing.
[20:39:24] <YouNixcc> so my question is that is it the right decision to move to mongodb ?
[20:39:36] <YouNixcc> since basically i am going to do the same thing..