[00:27:07] <dgray> Hello! I'm working on implementing bulk writes(2.6) in a driver. I'm running into a problem where I'm sending the db command "update" with the field "updates" as an array of object, and getting back "wrong type for 'updates' field contents, expected object, found 4" and I am very confused
[00:28:30] <dgray> specifically, in my test case, I'm sending in 2 update queries in an array
[05:11:58] <chovy> how do i tell what version of mongodb i have on my mac?
[05:14:11] <chovy> i din't know if shell was same version as db
[05:15:05] <Mark_> they arent guaranteed to be or anything
[05:15:10] <Mark_> but chances are you installed them from the same place
[05:15:19] <Mark_> from the same packaging system, where they would likely be the same version etc
[05:15:33] <Mark_> i.e. in deb/ubuntu youd have mongodb and mongodb-clients packages
[05:15:48] <Mark_> or mysql-server and mysql-client, same thing
[05:51:53] <yvemath> How can i make use of redis and mongodb both, as in I want to have redis running forever, and mongodb to update its documents every 1 hour or 2 from w/e is in redis memory? Is it feasible to implement?
[05:59:52] <Cache_Money> I'm creating a Mongoose schema for a Game object but can't quite figure out the stats object.. https://gist.github.com/anonymous/11312806
[11:21:03] <arussel> I'm reading mongod documentation, it says: If your mongod instance has journaling enabled, then you can use any kind of file system or volume/block level snapshot tool to create backups.
[11:22:29] <arussel> Does that mean that with journaling, using AWS snapshot is good enough ?
[11:24:44] <thearchitectnlog> r the current user (Apple), as it has no running NotificationCenter instance.
[13:36:34] <k_sze> If I want to reclaim space of a replicaSet member using db.repairDatabase(), do I have to take it out of the replica set temporarily first?
[13:52:17] <k_sze> And can *all* databases be repaired using repairDatabase? I mean, for instance, the `local` and `admin` databases.
[14:04:37] <Aswebbb> Does anyone use encryption for the data ?
[16:10:45] <airportyh> hello all. I am using full text search on mongo version 2.4.9. I've found that if you don't supply a limit, it still returns at most 100 documents. And it takes a long time to return them.
[16:11:13] <airportyh> Question 1: there a way to remove the 100 limit.
[20:23:40] <Cache_Money> I need some guidance in structuring my Mongo DB. I'm building an app that tracks stats for sports games at an individual player level. I want an API endpoint such as '/spots/[:id]/games' so that I can get all of the basketball games. Would the collections simply be titled 'basketball_games', 'baseball_games', etc.? Or would I have just one collection, 'games' and each document has a field sport with a corresponding sport_id?
[20:24:13] <Cache_Money> game documents will be structured differently depending on the sport..
[20:25:14] <Mark_> im not sure that mongo is the best tool for the job
[20:25:25] <Mark_> if you want to be able to store game -> players and players -> games
[20:25:36] <Mark_> and look them up in all sorts of associative ways
[20:26:40] <Cache_Money> Mark_: I basically have 3 main models: Players, Sports, and Games.
[20:27:09] <Cache_Money> A player will play 1 or more sports, and a have many games associated with each sport
[20:29:08] <Cache_Money> Mark_: mongo might not be the best fit but I'm even having trouble determining how to do this in a RDB -- I can't have a game table because stats for a basketball game are quite different than a golf game..
[20:29:43] <kali> Cache_Money: it always boils down to what queries your application will do the most, and how to get them to be fast
[20:29:52] <Mark_> well mongo is great for free structure, but it might not be the best tool if you want to be able to pull up like, all the players in a golf game
[20:31:09] <Cache_Money> Mark_: true. I probably won't be doing that much. I'm assuming the most common would be finding a Player, then determing which Sports they play, then returning games based on which sport they want to look at
[20:31:54] <Mark_> then player -> sports -> games is probably sane
[20:32:18] <Cache_Money> Mark_: what do you mean by that?
[20:33:23] <Cache_Money> So, you're saying I create 1 document (Players), which will have an array of player objects. Inside each will be an array of Sport objects. Inside each Sport will be an array of Game objects?
[20:35:36] <kali> your US sports have a lot of individual metrics...
[20:35:57] <Cache_Money> kali: where are you from?
[20:37:01] <kali> france. in soccer, rugby, handbal,... there is much less work done on players individual statistics
[20:37:31] <kali> hence my guess about stats being global team or game stats :)
[20:37:38] <Mark_> if i was doing it in an rdbms id probably have a table for each game, then a table of stats for each game id/player id, then a table of players baseline information
[20:43:11] <Mark_> then maybe you do a more relational system for players and their individual game stats and what game it was a part of (perhaps even referencing a mongo document id)
[20:43:53] <hit> hi, can someone help me with the aggregation framework??
[20:43:57] <Cache_Money> Mark_: that's kind of what I was thinking..
[20:44:53] <hit> I'm trying to do a $group operation on a big database but some of the resulting documents exceed the 16Mb limit
[23:03:54] <Auckla> I have a giant flat table, 120GB in size.
[23:04:28] <Auckla> Typically, I would break up into a bunchof 6GB files or so, load them into a flat table on mysql. And run queries for the specific groups of data I want and create much more smaller manageable tables.
[23:04:43] <Auckla> I want to enter this scary vastly different world of NOSQL.
[23:04:50] <Auckla> And I am learning I need to convert data into json files.
[23:05:12] <Auckla> How does one convert large pipe delmited txt files into json files?
[23:09:53] <thearchitectnlog> also out in map reduce needs 2.6 ?
[23:11:00] <cheeser> thearchitectnlog: no. you don't.
[23:11:37] <cheeser> Auckla: you're likely going to want to change your data model. maybe you won't, but keep that in mind.
[23:12:03] <cheeser> but in any case, mongoimport supports that kind of import, iirc
[23:17:26] <thearchitectnlog> final question how do i create a super admin