[00:49:06] <scottbessler> with morphia i'm seeing performance issues where i'm spending a ton of time in MappedField.discoverConstructor. is that expected?
[02:17:45] <iClunk> Given than Mongo supports GeoJSON points is there anyway to use the GeoJSON Feature object with Mongo?
[03:43:12] <anybroad> scottbessler: what is morphia?
[04:50:42] <FunnyLookinHat> Can anyone recommend a foolproof way to secure a localhost only mongodb to a specific user / password? Similiar to a create user and grant all to db w/ their name in MySQL?
[05:14:40] <FunnyLookinHat> Ah - this is good ( except for 2.4 ) - but now I get it. :) http://blog.amussey.com/post/62809509642/mongodb-installing-and-configuring-authentication
[06:24:22] <jayjo> Does a dynamic document have to allocate more memory for itself than a standard document not knowing its schema in advance, or does it play no role?
[10:05:51] <erkin_> I couldn't fix this problem http://stackoverflow.com/questions/27874469/mongodb-push-in-nested-array
[10:19:30] <amitprakash> Hi, I have a document D with two keys, status E (live, completed, billed) and a date key d.. I want to create shards with the following conditions, status == live OR d less than 3 days old on shard A, status == completed or d less than 6 but more than 3 days old on shard B, and finally, status in [billed] and d older than 6 days old in shard C
[12:13:38] <joeyjones> alexi5: what's your usecase?
[12:15:58] <alexi5> i want to build a sms polling app where a user can create a poll, which comprises of keywords to text to and that is comprised of numbers of mobile users who text to those number and the total vote count
[12:16:26] <alexi5> another service woul capture sms and add them to the appropriate keyword and increment number of votes
[12:32:33] <drager> kali: Solved it by putting the limit in the sort object like this; return AdItems.find({}, {sort: {createdAt: -1}, limit: limit});
[16:54:25] <dimon222> anybroad, but basically, if you need references - you dont use MongoDB at all, and move to something like MariaDB/MySQL/Postgresql, Mongodb is supposed to be used as basic data warehouse
[16:55:32] <dimon222> or some document storage where files/json needs to be retrieves fast, its not fullfilling features of relations that are used for actual website CMS or anything that works with actual database of users
[17:03:53] <cheeser> i've not heard anything along those lines before.
[17:04:16] <cheeser> and what does "backup" mean in this case to you, dimon222 ?
[17:05:10] <hagb4rd> can i somehow move my data from a running older version of mongodb to a newer version? .. i mean.. it must be^^
[17:06:48] <anybroad> dimon222: ok, one thing: What is about 'references' in mongodb, can I use those to link?
[17:06:49] <hagb4rd> i thight every schoolchild would code a backup in a way it can be restored in future versions..
[17:08:42] <hagb4rd> can i just connect to both mongodbs and use sth like node.js to tranfer objects from one db to the other? that sounds reasonable though it seems still ridicuous to me there is no "native" and safe way to do this
[17:09:24] <cheeser> i do a mongodump from 2.4 and mongorestore to 2.6 on a regular basis with 0 problems.
[17:09:44] <cheeser> so you should probably curb your moral outrage until you do some investigation.
[17:10:22] <hagb4rd> well i thought coming here would be a goof start
[17:27:35] <dimon222> hagb4rd, just create indexes manually, actual backuping of data should be already done when it reaches index creation process
[17:29:08] <dimon222> according to docs such error happens when you're moving data from newer version with new index type to old version that doesn't support it
[17:29:56] <dimon222> so correcting myself -> from old to new is okay, from new to old is not okay
[18:06:11] <anybroad> OK, so I got a book and I want to assign a category to it, books and categories coming from two different collections in the database.
[18:06:20] <anybroad> So how can I do this? Can I link them somehow?
[18:06:25] <anybroad> mongodb documentation tells something about relations.
[18:10:07] <hagb4rd> dimon222: actually i found out i tried to restore the backup of a newer version into an older, which failure at last is reasonable. in consequence i could upgrade the empty db to a newer version! which in the end worked flawlessly. so .. i must excuse dear mongodb fans. also thanks for help dimon222
[18:13:05] <dimon222> anybroad, well, its kinda done manually, so you take id and you add it manually
[18:13:27] <dimon222> as soon as something gets removed, there's no real relationship, its kinda fake
[18:20:50] <anybroad> dimon222: so I need a orm-odm thing?