PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Sunday the 14th of June, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[00:00:06] <StephenLynx> theres one thing that I do too
[00:00:15] <StephenLynx> I keep pointers to the collections.
[00:00:28] <StephenLynx> so I don't have to get the connection and get a pointer to a collection.
[00:00:46] <StephenLynx> see if you restart the database your pointers to collections will remain functional.
[00:00:51] <StephenLynx> if you wish to do that.
[00:03:43] <keeger> arg
[00:03:54] <keeger> i can't find the reference page on mongo's site for collections
[00:07:13] <keeger> is there a way for me to define a collection as RAM only? i don't see anything in the createCollections documentation
[00:07:47] <StephenLynx> I have never heard about such thing in the year I have been using mongo.
[00:08:06] <StephenLynx> but from what I heard about redis, it is meant to be used as a RAM only storage.
[00:08:18] <StephenLynx> so you might want to take a look at redis if you want something ram only.
[00:08:29] <keeger> yeah but i don't want to mix redis and mongo. i'm storing data in mongo, and i just want to add sessions as well
[00:09:06] <StephenLynx> why not use use a low write concern for sessions?
[00:09:19] <StephenLynx> like 0
[00:09:49] <keeger> maybe that's the key i'm looking for. lemme look at the write concerns
[00:10:04] <StephenLynx> or you can keep sessions on your application RAM
[00:10:15] <StephenLynx> but look for them on mongo if needed.
[00:10:22] <StephenLynx> and from that point keep them on RAM
[00:11:26] <keeger> i think write concern will work, with TTL set
[00:12:13] <keeger> ty
[02:25:58] <coderman2> in a mongo cluster does the config server need a lot of storage space?
[03:23:35] <shlant> anyone know what this is trying to tell me? Password wrong? "SCRAM-SHA-1 authentication failed for user1 on admin from client 172.17.0.38 ; AuthenticationFailed SCRAM-SHA-1 authentication failed, storedKey mismatch"
[04:20:48] <shlant> it seems even though I have /tv as the database in this uri string: 'mongodb://user:pass@10.0.0.1,user:pass@10.0.0.2l,user:pass@10.0.0.3/tv?readPreference=secondaryPreferred&replicaSet=rp0' I am getting this in the logs: 'SCRAM-SHA-1 authentication failed for user on admin from client 172.17.0.52 ; UserNotFound Could not find user user@admin'
[04:21:02] <shlant> why is it not authentication against the tv db?
[04:21:56] <shlant> do I need to specify uri.authSource?
[10:27:31] <rusty78> Hey guys if I'm trying to delete a document in a schema (such as the _id), what would that command look like in Node?
[14:10:12] <kuter> hello mongo users
[14:26:03] <marshall> hey mongodb
[14:27:05] <marshall> if you had a document, say, an apartment rental listing, and you wanted to store the photos of that apartment, how would you go about storing those photos?
[14:27:13] <kuter> guys, i've got table, and one of attributes has value like [{grade: 1}, {grade: 2}, {grade: 3}] if there is any possibilyty to get avg value ?
[20:34:15] <boboc> guys, if i have an embeded array of objects [{key1:val1, key2:val2},...] how can i sort the embeded array?
[21:33:50] <loadh> hello
[21:34:09] <loadh> i'm trying to deploy a node app to heroku where previously i used Mongoose, I'm now using the native driver
[21:34:46] <loadh> does anyone know if there's any issues with using the native driver when deploying to Heroku?
[21:36:53] <loadh> when i run the app locally, there's no problem connecting the my MongoLab instance
[22:27:12] <Doyle> Is the number of query routers limited to 3, similar to config servers?
[22:30:13] <joannac> Doyle: nope
[22:31:02] <joannac> I wouldn't go crazy though, the more you have, the more load on your config servers
[22:31:37] <Doyle> Gotcha. So Put a few in the primary location, then I can keep just one in each secondary.
[22:32:03] <Doyle> Can you have more than 3 config servers as long as you keep the number odd?
[22:33:24] <Doyle> Is there any in-depth discussion on setting up a distributed mongodb that covers things like this? Placing config servers in different geographic locations, etc.
[22:36:04] <joannac> Doyle: no. 3 config servers in production.
[22:36:34] <Doyle> OK. Gotta trust the docs I guess.