PMXBOT Log file Viewer

Help | Karma | Search:

#mongodb logs for Wednesday the 23rd of December, 2015

(Back to #mongodb overview) (Back to channel listing) (Animate logs)
[06:27:06] <the_voice_> Is there no way to update multiple subdocuments at once?
[06:51:54] <the_voice_> NM https://jira.mongodb.org/browse/SERVER-1243
[06:52:15] <the_voice_> I am to understand that it's a big request
[10:06:14] <ShadySQL> hi
[10:06:22] <ShadySQL> I have a small question
[10:06:38] <ShadySQL> I know how to move my collection and the index into RAM
[10:06:54] <ShadySQL> by running this command
[10:06:55] <ShadySQL> db.runCommand({"touch" : "restaurants", "data" : true, "index" : true})
[10:07:46] <ShadySQL> by then I want to undo this
[10:07:54] <ShadySQL> what command would fit my purpose
[10:07:55] <ShadySQL> ?
[10:59:00] <ShadySQL> hi guys
[10:59:14] <ShadySQL> I know the command to put a collection and the index on RAM
[10:59:30] <ShadySQL> but now I am stuck trying to undo it
[10:59:39] <ShadySQL> the command I use to set it into RAM is: db.runCommand({"touch" : "restaurants", "data" : true, "index" : true})
[10:59:54] <ShadySQL> whats the equivalent to drop the collection and the index at the same time?
[11:11:28] <KekSi> db.dropCollection
[11:11:29] <KekSi> :x
[11:12:32] <ShadySQL> hi guys
[11:12:49] <ShadySQL> I know the command to put a collection and the index on RAM
[11:12:54] <ShadySQL> but now I am stuck trying to undo it
[11:13:22] <ShadySQL> the command I use to set it into RAM is: db.runCommand({"touch" : "restaurants", "data" : true, "index" : true})
[11:13:41] <ShadySQL> how can I reverse this?
[12:04:42] <aps> Could someone please tell me how do I view the diagnostic.data from Mongo 3.2?
[13:35:23] <vasilakisfil> does anyone knows the performance of $in operator when checking a field against an array of 10.000 elements ?
[14:26:54] <schneider> Is mongodb good for statistical analysis?
[14:27:16] <schneider> I want to build a system for soccer analysis and cant figure out the best database
[14:29:03] <StephenLynx> that doesnt tell much about db requirements.,
[14:29:17] <StephenLynx> how are you relating the data? is it write or read intensive?
[14:29:35] <StephenLynx> how are you usually querying it?
[14:30:16] <schneider> there will be some cron jobs that will write the data once a day but the main purpose is read intensive
[14:30:36] <StephenLynx> ok.
[14:30:51] <StephenLynx> that is a good sign, mongo is optimized for read-intensive scenarios.
[14:31:05] <StephenLynx> do you need to relate different collections/tables when reading said data?
[14:31:14] <StephenLynx> and how central are these relations?
[14:32:44] <schneider> well yes, in mysql I have "nonrelational" tables but they are somehow related
[14:33:07] <schneider> I have tables with players ID and NAME
[14:33:10] <StephenLynx> but for your system, do you have to constantly relate these?
[14:33:34] <StephenLynx> because since mongo doesnt have joins, that doesnt work as well if you have to do constantly
[14:33:37] <schneider> not constantly, but there might be cases when I would need to relate them
[14:36:48] <StephenLynx> hm
[14:36:55] <StephenLynx> I think mongo might be a good fit for your system.
[14:37:32] <StephenLynx> is not optimal to have those fake relations, but with pre-aggregation you can get around the worst part of it.
[14:38:51] <schneider> I need to learn about mongodb. If you say it dont support joins then I cant figure how the structure of collections will be.
[14:39:07] <StephenLynx> nested values.
[14:39:09] <schneider> How relations are done in mongodb?
[14:39:18] <StephenLynx> 1:n relations are just like
[14:39:26] <StephenLynx> myArray: [a,b]
[14:39:56] <StephenLynx> and these items on the array can be anything. from values from a different collection to whole sub-documents.
[14:40:42] <StephenLynx> {name:'item', subThings:[{name:'subItem'},{namme:'other item'}]}
[14:41:12] <StephenLynx> but if you have them on a different collection, you just list some identifier so you can find them on this collection
[14:41:22] <StephenLynx> like its _id or any other field you can use.
[14:42:08] <schneider> thank you
[14:42:19] <schneider> there are some good tutorials for mongodb?
[14:42:30] <schneider> I should start learning it
[14:42:48] <schneider> also I can import the data from MySQL to MongoDB?
[14:43:07] <StephenLynx> yes
[14:43:11] <schneider> and I'm using python/Flask for my project
[14:43:14] <StephenLynx> just write an import script
[14:43:16] <StephenLynx> or something
[14:43:19] <schneider> there is support for mongodb to flask?
[14:52:05] <StephenLynx> dunno
[14:52:13] <StephenLynx> i know it got an official python driver
[15:00:06] <antonios> hello
[15:00:14] <antonios> Hello, I am trying to enable backups on ops manager and I get a "Insufficient oplog size: The oplog window must be at least 3 hours over the last 24 hours for all active replica set members. Please increase the oplog."
[15:00:27] <antonios> tryed making it a lot bigger and the same issue persists. I have also waited more than 24 hours since i put my data on this replica set (manualy)
[15:04:24] <antonios> my oplog.bson is only 2.2M
[15:15:13] <antonios> does it make a difference if I use --oplog flag with mongodump? I am restoring from such a dump now as to see.
[17:16:47] <BigOrangeSU> Who can I contact about petitioning MongoDB to support Robomongo? https://www.indiegogo.com/projects/save-robomongo
[17:39:27] <StephenLynx> what is robomongo?
[17:39:47] <StephenLynx> >Robomongo is a popular open source and cross-platform MongoDB management tool.
[17:39:51] <StephenLynx> HSAHAHAAHAHAHAHAAHHA
[17:39:58] <StephenLynx> >100k
[17:40:04] <StephenLynx> >for a crappy GUI thing
[17:40:09] <StephenLynx> totally NOT a scam
[17:41:52] <StephenLynx> i rather mongo to use these 100k in something actually useful.
[17:42:09] <StephenLynx> like, the actual database.
[17:42:31] <StephenLynx> instead of babby's first DB tool.
[18:02:32] <JoWie> erm robomongo is a very light gui. for the most part it just prettyfies the output
[18:02:52] <StephenLynx> like .pretty()?
[18:03:17] <JoWie> that, and csv as a table view if you want
[18:03:32] <StephenLynx> kek
[18:03:41] <JoWie> mostly it makes editing easier
[18:04:00] <StephenLynx> its a scam, dude.
[18:04:06] <StephenLynx> he wants god damn 100k
[18:04:12] <StephenLynx> for a gui thingies
[18:04:29] <JoWie> Instead of an update you can just modify the json document
[18:04:58] <JoWie> i dunno about the igg campaign, but ive used robomongo for years
[18:06:26] <JoWie> i use the same commands as in mongo shell
[18:07:40] <StephenLynx> I just skip the middle man and use the mongo shell in the first place.
[18:09:39] <JoWie> i use both
[18:17:29] <uuanton> hi anyone restored mongodb from snapshotting and swapping aws volumes ?
[18:18:24] <uuanton> how to do it for replica set ? do I need to swap volume for each secondary as well or only for master ?
[18:26:06] <sweettea> in centos6: mongodb.x86_64 package vs mongodb-server.x86_64
[18:26:22] <sweettea> is the first one the mongo shell? If not, what is the difference?
[18:27:21] <sweettea> mongodb.x86_64 : High-performance, schema-free document-oriented database | mongodb-server.x86_64 : MongoDB server, sharding server and support scripts
[18:36:17] <rom1504> probably
[18:57:13] <dddh> no projects/forks with gpu offload ?
[18:57:35] <fartface> Is there a way to do a query with a single unique value, but return multiple results? Like if I have many "People", and I want to return one record for each unique first name--does that make sense?
[19:00:47] <fartface> Or would I need to first do a query for all of the first names, and then do a findOne() on each of those
[19:09:45] <dddh> you want to try some aggregation/map-reduce ?
[19:16:05] <fartface> Yeah, I think that's the way I'll have to go with it
[19:38:26] <BigOrangeSU> StephenLynx: its not a scam, the guy wants to quit his job to work fulltime on it. I dont think 100k is unreasonable for that. Especially to fund it for 2 years. The shell is so shitty compared to the tool.
[19:42:36] <StephenLynx> kek
[19:42:56] <StephenLynx> for 100k he should be supporting that for his whole life
[19:43:15] <StephenLynx> and the terminal client has nothing wrong with it
[19:43:21] <StephenLynx> robomongo is the one bugged and incomplete
[19:43:26] <StephenLynx> that is a scam
[19:43:41] <StephenLynx> he just wants to sit his ass fiddling around an useless crappy gui
[19:44:31] <asteele> StephenLynx 100k for what?
[19:44:39] <asteele> oh
[19:45:30] <dddh> BigOrangeSU: isn't it 116k for 1 year ?
[19:45:38] <StephenLynx> kek
[19:45:40] <dddh> "Robomongo needs $116,000 to revive and to be actively developed for the next 1 year"
[19:45:50] <StephenLynx> such an obvious scam
[19:45:55] <BigOrangeSU> oh oops yea
[19:45:58] <dddh> 2 years $232,000
[19:46:02] <BigOrangeSU> its still worth it
[19:46:04] <dddh> http://robomongo.org/
[19:46:23] <BigOrangeSU> for the most part use minimal GUI tools but robomongo is one of them
[19:46:33] <StephenLynx> >worth it
[19:46:42] <StephenLynx> m8, that project could be done on his free time
[19:46:42] <BigOrangeSU> how is it a scam?
[19:46:57] <StephenLynx> he doesnt need nearly as much as that money to work on such a toy-like project
[19:47:05] <StephenLynx> he is a bullshitter
[19:47:33] <StephenLynx> if its foss and the community isnt maintaining it, its an useless project.
[19:52:13] <BigOrangeSU> yea its interesting that the community doesnt maintain it
[19:52:17] <StephenLynx> for that much money I could live decades
[19:52:26] <StephenLynx> and he wants it for a year
[19:52:31] <StephenLynx> thats blatantly a scam
[19:52:32] <BigOrangeSU> i think it might be because its C++
[19:52:37] <StephenLynx> kek
[19:52:43] <StephenLynx> what a dumb ass
[19:52:57] <StephenLynx> ok, so its a cross-platform desktop software
[19:53:10] <StephenLynx> that just uses some driver for mongo to add some pretty
[19:53:17] <StephenLynx> and the guy uses C++?
[19:53:27] <BigOrangeSU> https://github.com/paralect/robomongo
[19:53:31] <StephenLynx> that is some serious dumbassery right there
[19:53:49] <StephenLynx> this project is the exact kind of project that dies of natural causes
[19:54:02] <StephenLynx> because its bad on its very concept
[19:54:29] <StephenLynx> and then he comes "GIB MONIES"
[19:54:36] <BigOrangeSU> I would argue the majority of people (> 50%) who use a db, use a GUI client
[19:54:48] <StephenLynx> >source: butthole
[19:55:04] <StephenLynx> you are just projecting
[19:55:17] <StephenLynx> tell me how you use a GUI on a server that doesnt take external connections.
[19:55:37] <StephenLynx> like, fucking hell, do you even work with sysadmining?
[19:55:46] <BigOrangeSU> mostly for development and data analysis
[19:56:17] <dddh> you can use free mongo explorer from pycharm
[19:56:20] <StephenLynx> again. server doesn't take external connections. how you use a GUI on that?
[19:56:45] <StephenLynx> and where the hell you took "> 50%"?
[19:56:49] <StephenLynx> tea leaves?
[19:57:14] <StephenLynx> i have never seen anyone experienced here talk about using a gui
[19:57:39] <StephenLynx> only the dudes that started using mongo for cs 101
[19:57:41] <asteele> StephenLynx you can live for years on 100k?
[19:57:47] <StephenLynx> decades.
[19:57:56] <StephenLynx> especially if its 100k USD
[19:57:59] <asteele> you ever made 100k before?
[19:58:02] <StephenLynx> no.
[19:58:03] <BigOrangeSU> i based it on the pure number of DB gui clients out there
[19:58:09] <asteele> do you live by yourself?
[19:58:13] <StephenLynx> yes
[19:58:19] <asteele> what country?
[19:58:20] <StephenLynx> BigOrangeSU so?
[19:58:22] <StephenLynx> br
[19:58:35] <BigOrangeSU> well apparently decades (aka 20 years a minimum) aka $5k per year, or $415 per month
[19:58:37] <asteele> 100k is less than 1 year juniormid developer salary in many parts of the USA StephenLynx
[19:58:46] <StephenLynx> so
[19:58:48] <asteele> way less than i make ;p
[19:59:06] <StephenLynx> dude still asking just money so he can live like he wants to.
[19:59:10] <asteele> so if i wanted to live for 10 years on 100k id move to BR, but i dont lol
[19:59:11] <StephenLynx> he is thinking on his own.
[19:59:22] <BigOrangeSU> if hte market for DB clients is SOOO small as oyu say, why are there 100s of options
[19:59:26] <StephenLynx> not about the project
[19:59:30] <asteele> he wants money so he can pay for rent and food while he focuses full time on a project that has been free for everyone to use for years
[19:59:38] <StephenLynx> what the hell are you talking about, BigOrangeSU
[19:59:47] <StephenLynx> pfff
[19:59:54] <StephenLynx> bullshit, he could do that on his free time.
[19:59:58] <StephenLynx> its just a gui
[20:00:00] <asteele> and in the usa 100k is only one years living expenses in many areas
[20:00:03] <StephenLynx> he isnt even developing the driver.
[20:00:17] <StephenLynx> just the gui, the most shallow component of the software.
[20:00:25] <asteele> wheres all the free software you have released?
[20:00:36] <StephenLynx> on my public repositories
[20:00:40] <asteele> link
[20:00:43] <StephenLynx> set
[20:00:46] <StephenLynx> gitlab.com/mrseth
[20:00:50] <StephenLynx> github.com/mrseth
[20:01:02] <BigOrangeSU> apparently from his blog posts its a lot of work to embed the full mongo shell into the client
[20:01:05] <StephenLynx> https://gitgud.io/u/stephenlynx
[20:01:05] <dddh> btw they have 5 team members
[20:01:18] <StephenLynx> BigOrangeSU he is lying.
[20:01:25] <StephenLynx> you just take a driver and add a gui to it.
[20:01:26] <asteele> StephenLynx i suggest not paying him, and then making your own kickstarter if its so easy
[20:01:28] <StephenLynx> dddh HAHAHA
[20:01:36] <StephenLynx> asteele why, if the terminal is just fine?
[20:01:45] <asteele> huh?
[20:02:07] <asteele> has nothing to do with it being a gui
[20:02:08] <dddh> StephenLynx: probably it will be less than ~$20k a person
[20:02:17] <StephenLynx> the main point is: there is no need to put that much energy into a GUI that can't even be used on serious development server. just use the terminal client
[20:02:38] <StephenLynx> dddh ok, so they need 5 people for just a gui? holy ...
[20:02:43] <StephenLynx> that is ridiculous.
[20:02:55] <asteele> you have your opinion about the software. if it seems so crazy, i suggest you just make your own kickstarter for 10k and promise everyone youwill build software for 5 years with it then
[20:02:56] <StephenLynx> that whole project sounds worse and worse the more I learn about it.
[20:03:10] <StephenLynx> asteele again, why would I reinvent the wheel?
[20:03:18] <StephenLynx> especially one that is worse than what we already got.
[20:03:25] <asteele> has nothing to do with building the same kind of software, you fail to understand StephenLynx
[20:03:42] <asteele> you are just ranting here with no real interest in the discussion
[20:03:53] <StephenLynx> I am just explaining two things:
[20:04:05] <StephenLynx> 1: why robomongo is a worthless project
[20:04:13] <StephenLynx> 2: why that guy is a scammer
[20:04:31] <StephenLynx> if you don't agree with me, give me a reasonable point or stop arguing with me.
[20:04:31] <asteele> make a blog post about it
[20:04:43] <StephenLynx> no.
[20:04:46] <asteele> i already did
[20:04:50] <StephenLynx> good for you.
[20:04:52] <asteele> you are basically just trolling
[20:05:08] <StephenLynx> >people disagreeing with me are just trolls
[20:05:10] <StephenLynx> classy.
[20:05:33] <asteele> trolling because of the reasons i listed above. you arent here to discuss anything. you are here to rant and not listen to anyone else
[20:05:44] <asteele> been on the internet long enough to recognize retards like you lol
[20:05:46] <StephenLynx> then put me on ignore.
[20:06:01] <StephenLynx> no one is forcing you into an argument.
[20:06:06] <asteele> nah i like to call a troll a troll first so he doesnt waste others times
[20:06:33] <StephenLynx> oh my, you are such a white knight, saviour of the internet, aren't you?
[20:06:48] <asteele> i think youre the savior of the internet
[20:06:59] <asteele> thanks for the robomongo warnings
[20:07:14] <asteele> but nobody cares
[20:07:44] <StephenLynx> oh yeah, you obviously dont. that is why you are putting such effort in an argument with just yet another internet troll.
[20:07:48] <StephenLynx> you really showed me.
[20:08:06] <asteele> lol yea tons of effort
[20:08:13] <asteele> typing troll comments during lunch break
[20:08:42] <asteele> you amuse me, this is hardly an argument to me
[20:08:52] <StephenLynx> so YOU are just trolling?
[20:09:00] <StephenLynx> >typing troll comments during lunch break
[20:09:18] <asteele> yes im just trolling you back at this point, should be obvious, i stopped trying to have a discussions when you ignored my questions
[20:09:19] <cheeser> you two should get a room. but this doesn't belong here.
[20:09:35] <StephenLynx> m8, I replied your questions.
[20:09:54] <StephenLynx> you were the one deaf to my argument that is not worth reinventing a worse wheel that the one we already got.
[20:09:58] <asteele> nope, you kept reading and mentioning how robomongo is a gui and nobody needs to make guis
[20:10:04] <asteele> which has nothing to do with what i was talking about
[20:10:13] <StephenLynx> what was your point then?
[20:10:19] <cheeser> guys. somewhere else please.
[20:10:52] <asteele> sure ill let it end, i was trying to help the channel, read up for true ranting
[22:09:15] <uuanton> hi anyone restored mongodb from snapshotting and swapping aws volumes ?
[22:09:24] <uuanton> how to do it for replica set ? do I need to swap volume for each secondary as well or only for master ?
[22:16:10] <Liflo> Hi
[22:50:28] <on247> hi
[22:51:36] <on247> i built mongodb from source and is crashing
[22:54:26] <on247> hi
[22:54:27] <on247> i built mongodb from source and is crashing
[22:57:26] <uuanton> what do you mean
[23:01:13] <on247> hey
[23:01:40] <on247> anyone can help me get my cross compiled mongo working
[23:02:47] <uuanton> what you saying doesnt make sense
[23:03:02] <uuanton> if you can describe whats your problem is
[23:03:21] <on247> i mean i built mongo and mongod for arm
[23:03:30] <on247> using a cross gcc
[23:03:45] <on247> and it runs but crashes
[23:03:53] <on247> on my arm chroot
[23:04:20] <uuanton> is there particular reason why you want to build mongodb from source
[23:05:00] <uuanton> have you try to use official documentation to install mongodb ? https://docs.mongodb.org/v2.6/tutorial/install-mongodb-on-red-hat/
[23:05:29] <on247> mongo doesent have a binary for amv6/7
[23:18:52] <uuanton> is it crashing after a few minutes of running?
[23:18:53] <sweettea> poor guy's internet
[23:19:29] <uuanton> i would check path for logs and data to make sure they have right access mod for mongodb user
[23:20:02] <uuanton> check init script
[23:20:06] <uuanton> and timeout to start
[23:20:17] <joannac> what's the message it crashes with?
[23:21:15] <on247> Just segfaults
[23:21:22] <on247> big backtrace
[23:21:33] <on247> and symbol list
[23:21:57] <on247> guys here http://archlinuxarm.org/forum/viewtopic.php?f=15&t=9374&sid=b4195eeb98eaf85b2e059730b77bbfba&start=10#p49678
[23:22:11] <on247> suggested disabling gcc optimization
[23:22:21] <on247> worked for them
[23:27:32] <on247> im back