PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Saturday the 12th of December, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:01:36] <Ragnar> Is there any benefit to creating a replica set on a single server?
[00:03:52] <Derick> Ragnar: not really
[00:04:06] <Derick> actually, it's a really bad thing, as they are all going to compete for the same memory
[00:04:22] <Ragnar> @Derick: what if they are setup in different docker containers?
[00:12:08] <skullcrasher> is a normal uml-class diagram usable for modelling my mongodb schemas?
[00:12:44] <skullcrasher> I'm still new to mongo and tend to think in normal rdbms way
[00:13:17] <skullcrasher> or do you recommend another way?
[00:13:21] <skullcrasher> without uml etc
[00:23:45] <Derick> skullcrasher: don't model your data, model your app's interaction with the data. *that* determines the model
[00:24:07] <Derick> Ragnar: it's still pointless... the whole point of a replicaset is that you get redundancies
[00:25:09] <Ragnar> @Derick: so there isn't really a chance of the mongo daemon itself failing
[00:25:28] <Derick> Ragnar: no
[00:25:48] <Derick> well, it *does* happen, but mostly because there is a bug in that case. ReplSet isn't going to help you then
[00:33:58] <Ragnar> gotcha thanks :)
[00:36:36] <markin> any reason why cursor.map() won't put the cursor back at the beginning of the iteration?
[00:37:14] <markin> / is there a way in the mongoshell to rewind my cursor?
[12:05:47] <ShadySQL> hi
[12:11:01] <ShadySQL> guys I just launched a MongoDb cluster
[12:11:07] <ShadySQL> and I have no permissions to perform any actions
[12:11:25] <ShadySQL> even to show dbs
[12:11:25] <ShadySQL> I am getting errors
[12:11:34] <ShadySQL> "errmsg" : "not authorized on admin to execute command { listDatabases: 1.0 }",
[12:11:37] <ShadySQL> can anyone help out?
[12:11:41] <ShadySQL> I am running mongo 3.2
[12:11:56] <ShadySQL> sorry 3.0
[12:39:02] <Rashad> Hello.
[12:39:17] <Rashad> I want to get an embedded document. Do I have to use find?
[12:44:17] <Rashad> The embedded document is "stats": http://i.snag.gy/MbBma.jpg
[12:44:51] <Rashad> Or can I find it in the same way I get the collection using a special function?
[15:20:44] <dddh> "MongoDB 3.2: Now Powered by PostgreSQL" ?
[15:20:53] <dddh> ^^ https://www.linkedin.com/pulse/mongodb-32-now-powered-postgresql-john-de-goes
[15:23:51] <dddh> probaby a story about postgresql mongodb fdw ( foreign data wrapper aka dblink )
[17:08:05] <Trudko> hi guys, getting into mongo and I just learned about projections in find method. First thing which strike me is that _id is returned by default but you can set project to false. This is only time when you can mix true and false values in projections.
[17:09:04] <Trudko> Seems like little bit confusing exception, although not big of a deal , wouldn't it be better if you have to explicitly ask for id instead of having this exception?
[17:11:53] <Rashad_> Hello.
[17:13:03] <Rashad_> For some reason this: http://hastebin.com/ecapalupab.js is not executing
[17:13:42] <Rashad_> It doesn't log anything
[17:13:50] <Rashad_> And nothing is inserted to the db.
[17:47:47] <amcsi_work> is there a good MongoDB gui client that let's you navigate references?
[18:53:48] <troypayne> so i’m trying to upgrade my mongo, and i keep getting the following error: mongodb-org : Depends: mongodb-org-shell but it is not going to be installed
[18:54:13] <troypayne> i’m on ubuntu and it’s my production server, any help would be appreciated as it is an active fire. (I didn’t have this problem on my staging machine for whatever reason)
[19:32:59] <troypayne> fuck, fixed it
[21:45:30] <Ragnar> I just imported an example data set with roughly 23000 records and analyzed a simple query which returned around 2k documents both with and without an index. With the index it took 5 ms, without the index it took 16 ms. Is it common to see this much performance gain?
[22:09:47] <StephenLynx> yes