[00:06:48] <John____> Anyone here have experience with using morphia with mongodb?
[00:10:44] <John____> I have visited the morphia channel but it is quite dead so i was going to get some help here
[00:10:54] <John____> well hoping to get some anyway
[00:13:38] <jrcharney> Anyone know how I can get mongodb to stop logging hundreds of those [clientcursormon] messages everyday in mongodb.log?
[03:21:27] <kold> Hi everyone. I'm trying to remove an item from a nested array in a collection via $pull, but it doesn't seem to be working: https://gist.github.com/kevinold/9235740d0537507adb04
[03:30:20] <joannac> ObjectId("53b08bbdb343a4363c7dc3ef") is not the same as "53b08bbdb343a4363c7dc3ef"
[03:30:51] <joannac> which you would've seen if you had tried db.users.find({ _id: "53b08bbdb343a4363c7dc3ef" })
[05:33:32] <j0rd> Does anyone here have any expirience w/ MongDB perl module? im trying to find out if a key exists and if not create it
[08:43:25] <richthegeek_> is there any way to automatically have mongodb search strings and numbers as if they were the same? I guess $in but that seems slow
[08:57:04] <ArSn> I am creating an $in-find query with my application
[08:57:32] <ArSn> but in the slow log it appears to be an regex... it still matches and works fine, I am only concerned about not matchin the index then
[08:57:42] <ArSn> is that a standard behavior or am I missing something?
[09:33:53] <d0x> Hi, i like to use Object.getOwnPropertyNames() in the mongodb JavaScript context. But it isn't defined there. Any alternatives for that?
[10:24:20] <swapneshs> I am stuck with Self referencing of schema in mongoose
[10:24:41] <swapneshs> Following is my schema http://pastebin.com/qLqdJpM8
[10:25:16] <swapneshs> and http://pastebin.com/tb3VJYqJ is the error I am getting
[10:26:10] <swapneshs> I am doing this as I am having 3 type of users - admin, manager, employee so employee can be created by maanger , manager created by admin
[10:27:12] <swapneshs> so I want to save all info using a single schema (few fields I deleted from schema for the brevity here) but I am getting the above error
[10:27:27] <swapneshs> Let me know what I am doing wrong here
[10:42:21] <Nodex> though you might get better scalability duping the data into each user' own settings document
[11:01:54] <richthegeek_> hey, just noticed there's an error in the docs for mongostat (http://docs.mongodb.org/manual/reference/program/mongostat/#bin.mongostat) - the description on the "repl" field doesn't include "PRI"
[11:05:34] <avi__> 'duping the data into each user' own settings document' can u elaborate this
[11:51:33] <Simon____> I have three nodejs servers (with mongoose)
[11:51:49] <Simon____> and three mongo servers (the replica set)
[11:55:03] <bcave> not sure about mongoose, but i see it is RS aware
[11:55:38] <bcave> i remember on the java client trying to connect to an RS with only 1 server accessible, and it wouldn't load without connectivity to the other members
[11:56:17] <Simon____> So, plug in the three hostnames in the mongoose config and it "might" route to the correct one?
[12:01:55] <bcave> wondering if someone could help me now :p
[12:02:52] <bcave> i'm having authentication issues. have set noauth=true (also tried auth=false) and restarted, but cannot access the database without authentication
[12:04:09] <dmitrijs> can you please advise me, which patching mechanism should I use for mongodb (mongoose + nodejs) projects?
[12:19:35] <dmitrijs> I have a task to run mongoDB on remote server, with the following requirements: * DB should be running in background; * DB should be automatically started in case if host is being restarted; * DB system logs should be logged in appropriate log
[12:19:59] <dmitrijs> can anyone give me some guidance?
[12:22:51] <dmitrijs> bcave thank you for your response. Unfortunately I do not have appropriate knowledge, could you please give me more detailed response? What do you mean by 'service wrapper'? Can you please provide me an example?
[12:27:10] <j0rd> wld anyone here be willing to help me w/ updating a document using perl. i've got inserting worked out and im sure im missing something obvious here. i'll pastebin the code and punch a hole in my firewall to allow mongoDB access through if needs be. i just need someone (anyone) who wldnt mind just eyeballing it for me
[12:33:15] <j0rd> dmitrijs: i your $distro-of_choice has a PPA / yum repo then install it from there. i installed it from the MongoDb yum repo onto CentOS current and it dropped an upstart init script in for me. just had to chkconfig mongod on and service mongod start
[15:33:29] <Nebukadneza> i have a rather general question on the use of mongodb -- i'm still thinking too much relational
[15:33:48] <Nebukadneza> what i have is a system where i have users playing games, which yield certain data, such as a score, different winning conditions, etc.
[15:34:15] <Nebukadneza> those data i'd like to save, some are the same for each user in one game (there are 4 in each game), and some are specific to one user
[15:34:46] <Nebukadneza> now i'm somehow starting to think relational again ... maybe you can see why -- how would you (roughly) solve this problem using mongo?
[15:40:22] <tscanausa> put each games worth of data in 1 document?
[15:40:44] <tscanausa> I think we might need more information on the problem you are trying to solve rather then how you think you should solve it.
[15:42:13] <Nebukadneza> imagine a random board game with 4 players, where you can save statistics such as winning conditions and the game "replay"/"history" for each round played
[15:42:25] <Nebukadneza> to provide players with ... well, replay and statistics/ranking, i somehow need to save that information
[15:43:02] <Nebukadneza> as one game's informations are inherently linked to the participating players, i can't jump my relational thinking here ;0
[15:43:25] <Nebukadneza> for statistics display i need some efficient way of locating the stats and replays for one player...
[16:23:26] <kas84> how can I add an object to a collection inside a record when doing an upsert update operation?
[16:57:44] <pingboy> can anyone tell me if they're seeing a major difference between 2.4 and 2.6 where upserting a document won't automatically generate an ID from the mongo ruby driver ( tried using 1.10.2 and earlier )
[17:00:37] <pingboy> yeah.. if the query part of your update is _id: null, and you've specified upsert: true, it no longer injects an ID for you.
[17:04:45] <Raze_> i'm able to get a user set for mongodb so that there is some authorization only problem i've hit is i'm getting a key mismatch error
[17:23:01] <KanwarUjjaval> Hey everyone, I was looking for technical details about what makes nosql more scalable than relational dbs..
[17:24:26] <KanwarUjjaval> anyone, just point me to soemewhere
[17:24:46] <pingboy> that's a tough point to argue.
[17:25:02] <pingboy> it's not so much that it's nosql that makes it more scalable.
[17:25:26] <KanwarUjjaval> pingboy: some stuff like easy and automatic sharding
[17:25:32] <pingboy> it's a case by case thing.. mongo is very horizontally scalable because of the ability to specify a shard key and have your database even distribute the writes out without you having to code that logic in your app
[17:26:17] <pingboy> you can code that yourself and do some magic across a bunch of mysql master/slave setups and get a lot of scalability out of that.. dunno. it's just a hard thing to defend definitively.
[17:26:39] <KanwarUjjaval> pingboy: thanks, anypoint about having no schema that mkes it easier to scale out
[17:28:09] <macpablo> Hi is there any way to run a copydb, clonedb, copycollection, copydb from a secondary?
[17:31:53] <pingboy> nothing about schemaless really helps it to scale.. helps ease of development though :)
[17:32:13] <pingboy> macpablo ive not tried it but have you set slaveOk() in your shell and tried it?
[17:32:51] <macpablo> but that command runs on the destination, so the slaveok wont work
[17:35:10] <tscanausa> Cassandra is schema ( basedish I dont even really know at this point ) and is simpler to scale them mongo is ( IMO )
[17:41:29] <lavoro92> is there any way to mapping conceptual model with no sql logic model?
[17:44:01] <stefandxm> KanwarUjjaval, sql provides ACID functionality. and only way to gurantee ACID is basically to have a synchronized log of operations
[17:44:11] <stefandxm> KanwarUjjaval, synchronizing this log is very expensive
[17:44:38] <KanwarUjjaval> <stefandxm> thanks will include this too
[17:45:05] <stefandxm> but if you need to have ACID and transactions
[17:45:15] <stefandxm> then nosql doesnt have any reason to scale better
[17:51:28] <stefandxm> however. a very important point is
[17:51:43] <stefandxm> just because full ACID is safe, doesnt make it more reliable
[17:51:57] <lavoro92> no one knows about mapping from conceptual schema to nosql logic model?
[17:52:16] <stefandxm> for many situations acid can be the cause of data loss when scaling
[17:52:53] <stefandxm> lavoro92, nosql doesnt have a generic structure. but when it comes to document based databases (mongo) or graph databases there are plenty of resources on the web
[17:54:28] <lavoro92> stefandxm: but i read that nosql is schema less
[17:56:16] <KanwarUjjaval> <stefandxm> can we use mapreduce or something similar in relational dbs
[17:56:53] <lavoro92> if i describes the structure with graph layout or schema layout
[17:57:08] <stefandxm> KanwarUjjaval, a sql database can do map reducing yes.
[17:57:35] <stefandxm> KanwarUjjaval, its an implementation technicality
[17:58:08] <stefandxm> KanwarUjjaval, for instance if you use HIVE your sql queries (tho not full sql support) will be translated to hbase (or similair) map reduction jobs
[17:59:02] <lavoro92> stefandxm: if i wanna describe the structure
[17:59:09] <q85> lavoro92: as stefandxm stated, there are resources on the web. Here is one such resource: http://blog.mongodb.org/post/88473035333/6-rules-of-thumb-for-mongodb-schema-design-part-3
[17:59:41] <KanwarUjjaval> <stefandxm> okay, so it cannot be a point for nosql scalability in distributed file systems?
[18:00:08] <stefandxm> KanwarUjjaval, its easier to allow for map reduction/more control in mapping if you arent restricted to ACID
[18:00:48] <stefandxm> KanwarUjjaval, but it would be immature to say that this or that *cannot* be done in sql compability/or not
[18:00:59] <stefandxm> KanwarUjjaval, one thing we can say is that you *never* need sql
[18:01:00] <KanwarUjjaval> <stefandxm> okay, is there any advantage for non relational dbs implemented over distributed file system like hfs?
[18:01:33] <stefandxm> KanwarUjjaval, what should be argued is if you a) need ACID and b) you want a 3rd form normalized database
[18:02:42] <KanwarUjjaval> <stefandxm> thanks, i took that into consideration, im just going over the scalability advantages for the last section
[18:02:50] <stefandxm> i think most serious (database) developers would argue that normalization is nice but its not always needed and the speed gain can be huge
[18:04:24] <stefandxm> and if you have the problem that you either might not be able to store the data, not be able to seek the data then normalization wont be a choice
[18:05:11] <stefandxm> KanwarUjjaval, also please remember.. nosql == not only sql
[18:05:28] <stefandxm> meaning nosql ~= "please think outside of the box"
[18:21:45] <KanwarUjjaval> is there any benchmark or reousource for comparing vertical and horizontal scaling with cost! Kindly point me to it if anyone knows!
[18:23:22] <q85> That would largely depend on the application.
[18:24:11] <KanwarUjjaval> general performance vs cost
[18:24:12] <lavoro92> anyway q85 the link that you gave me talks about one to many relation
[18:30:35] <lavoro92> what i wanna do is to convert somethink like this : https://upload.wikimedia.org/wikipedia/commons/thumb/7/72/ER_Diagram_MMORPG.png/1009px-ER_Diagram_MMORPG.png in no sql
[18:40:16] <q85> lavoro92: my hunch is to just say, these diagrams are not necessarily technology dependent. They are simply a way to "talk" about your data.
[18:47:47] <q85> So, by looking at one model, you'd understand how, on a technical level, the models would be implemented on two different database technologies?
[18:48:10] <q85> Provided you understood the mapping between the model and the technical design?
[21:55:49] <daidoji> hello, who's got experience with geocoding (GeoNames in particular) and Mongo?
[21:56:17] <daidoji> if so, what libraries do you use? Are you using the Geonames webservice? Do you utilize the internal Mongo tools (although it doesn't seem like there's too much there)?