PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 18th of November, 2012

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[03:46:37] <roadt> j #redis
[03:48:09] <roadt> ah sorry. typo.
[03:56:00] <Baribal> Hello, gentlemen. I've got a problem with an absurdly high number of reads being blocked by write locks on a v2.0.2
[03:56:21] <Baribal> Does 2.2 write-lock collection-wise? Shuld 2.0.2?
[03:57:49] <Baribal> Oh, I think I see, both versions do db-wide locks: http://www.mongodb.org/display/DOCS/How+does+concurrency+work#Howdoesconcurrencywork-mongod
[03:57:56] <Baribal> Is that correct or am I misreading?
[04:15:19] <Baribal> Oh great, I'm ####ed...
[04:18:12] <Baribal> Can I switch from write-greedy locks to read-greedy locks?
[09:10:07] <Zelest> So, what's the "right" way of using MongoDB in Nodejs?
[10:52:00] <jammanbo> If I don't care about what I get back, is update faster that findAndModify for upserts?
[10:52:05] <jammanbo> than
[11:40:48] <jammanbo> When upserting, it's possible to $inc an element of an existing array field using dot notation: { $inc: { 'arr.0': 10 } }. But if the array doesn't already exist, the upsert creates an object: arr: { 0: 10 }. Is there a way to ensure that field gets created as and array?
[17:21:35] <emocakes> node.js?
[17:22:41] <jammanbo> "Store Binary GUIDs as BinData, rather than as hex encoded strings". Is there any advantage to using BinData if your ids are alphanumeric strings, or does this just apply to hex strings?
[18:09:10] <Baribal> emocakes, that question no verb.
[19:35:36] <taf2> i have a cluster with one collection of visitor data
[19:35:45] <taf2> i'm adding a new collection of counters for some specific properties
[19:36:19] <taf2> do i need to be aware of anything specific to make sure the new collection is shared to the current cluster nodes?
[19:42:45] <coin3d> hi there. i
[19:44:06] <coin3d> i'm completely new to mongodb and would like to know if "normalization" can be applied to mongodb
[19:44:39] <coin3d> when using embedded documents
[22:44:14] <ProfElm> Hi all! I am trying to get MongoDB to work with Java.
[22:44:27] <ProfElm> However, I am a complete beginner. Where can I get the driver?
[22:44:39] <ProfElm> I went to the GitHub repo, and it's a full project rather than a JAR.
[22:44:47] <ProfElm> Am I supposed to compile the driver?
[22:47:23] <frsk> http://www.mongodb.org/display/DOCS/Java+Language+Center#JavaLanguageCenter-Clojure
[22:56:36] <dthree> Hi, sombody that make the capasitation of 10gen?
[22:59:19] <ProfElm> Thanks frsk. I've been going through all the documentation and there's no clear way of getting a driver...
[23:00:21] <frsk> ProfElm: mongodb.org, top menu on the right?
[23:00:45] <frsk> but hey, np
[23:07:16] <ProfElm> Yeah, I dont' know. Maybe I'm misunderstanding it all but from the sounds of it, I need the driver in a .jar.
[23:07:17] <ProfElm> http://www.mongodb.org/display/DOCS/Java+Tutorial
[23:07:27] <ProfElm> Yet I can't seem to find just that.
[23:07:58] <ProfElm> I apologize for my low-level questions -- I realize that I am a complete beginner and these may seem ridiculous to ask.
[23:09:29] <toothrot> ProfElm, https://github.com/mongodb/mongo-java-driver/downloads
[23:09:53] <toothrot> found through http://www.mongodb.org/display/DOCS/Java+Language+Center#JavaLanguageCenter-JavaDriver
[23:12:32] <ProfElm> toothrot++
[23:32:48] <ferrouswheel> I get this problem with mongo 2.0.7 when I run 'var x = new BinData(0,"Pob3bylblonOP51d/LGKAPRRaps=")' in the shell:
[23:32:51] <ferrouswheel> "can't have undefined in a query expression"