[08:47:40] <craigbennett> Hi I have a noob question which hopefully someone can help with. I want to delete all arrays which contain 'a' from this document after searching for it by id, any advice?
[18:46:35] <rlf> hello. I like the concept of NoSQL, but I have only worked with relational databases so far and I somehow can't model my relational schema into JSON. What is the best practice for saving such a relational schema into a mongo database? http://puu.sh/kNGB9/10c579f7b3.png thanks in advance
[18:56:36] <StephenLynx> because of the lack of joins, they don`t act as well as they would on a RDB
[18:57:07] <rlf> so, generally, when i'm modeling my database i should rather think of the queries instead of the entities themselves?
[18:57:16] <StephenLynx> so if you relate many collections like that and you wish to retrieve all data from the referencing document, you will have to perform one query for each referenced collection
[18:57:44] <StephenLynx> no, you should ALSO think of the queries.
[18:57:45] <cheeser> doing that a lot suggests you might be better off embedding at that point
[18:57:58] <StephenLynx> if your relations are 1-1.
[18:58:09] <StephenLynx> if they are not, embedding will give you even more trouble.
[18:59:22] <cheeser> not necessarily. but it's something to be aware of.
[18:59:30] <StephenLynx> 1-n works too for embedding
[19:03:33] <StephenLynx> ah, about the trouble: it would give you if you were to embed, imo
[19:03:43] <StephenLynx> if you were to reference, it would just limit you.
[20:22:55] <raj_> hey i am having a collection which contains almost billions of records...... and on them i am running aggregation pipeline to retrieve few months data..... but result is too slow.... the group by is running two slow... i need some help in performance tuning
[20:41:13] <JaAnTr> Hi, I am getting the following error - authenticate db: mytest , I have tried running db.auth() and db.addUser to add the user. Is there anything I have missed as it still is not working?
[23:01:30] <netameta> I am trying this:https://gist.github.com/yanivkalfa/163ec38dbbbcc0bcf943 and getting a recusion any idea why ?