MongoDB in 5 Minutes with Eliot Horowitz

  Рет қаралды 463,962

MongoDB

6 жыл бұрын

MongoDB's CTO and Co-Founder (2007-2020), Eliot Horowitz, provides a comprehensive introduction to MongoDB and walks through how the document model differs from a relational database.
Click here for more information on MongoDB: bit.ly/2YZqt6W
Subscribe to MongoDB ►►► bit.ly/3bpg1Z1
Connect with MongoDB:
Website: bit.ly/2LjtNBZ
Twitter: bit.ly/3fH87gR
Facebook: bit.ly/3fEaIsd
Linkedin: bit.ly/2SY9w90
Instagram: bit.ly/3bn9bDv
TikTok: bit.ly/3fHoqdJ

Пікірлер: 196
@thekaushikls
@thekaushikls 3 жыл бұрын
1:35 - Interesting 'Notes' under Patient Visits.
@tasty_fish
@tasty_fish 2 жыл бұрын
I came here because the devs in my team kept talking about MongoDB. Having watched this video I now have a much better idea of what they’re talking about. Thank you.
@samnater
@samnater 4 жыл бұрын
Good video! Two points I like to add that were not addressed. One, RDBMS do have their purpose and can be a better choice than NoSQL databases such as MongoDB. Two, NoSQL DBs need data validation somewhere in the pipeline. Even though it is easy to throw new records into the database with new fields, you won't want duplicate entries like "Washington", "Washington, USA", "Washington State", etc.
@nderezic
@nderezic 5 жыл бұрын
Instead of bashing relational databases and presenting MongoDB as their perfect replacement it would be more useful if you presented use cases in which MongoDB is superior and ones in which it is not. It would be a big mistake to choose a DB engine based on the info presented in this video!
@jananiragu4312
@jananiragu4312 5 жыл бұрын
Exactly my thoughts!
@stevewarris
@stevewarris 5 жыл бұрын
But what if I wanted to add more than one phone number to patient record?!? Oh wait, in a relational database I'd have a separate table....never mind.
@nderezic
@nderezic 5 жыл бұрын
@@stevewarris it's always good to write a reply which is related to the subject :)
@brutalbutler
@brutalbutler 5 жыл бұрын
Exactly my first thought watching this video, the way he's portraying RDBs is so biased and untrue, Relational DBs usually have a user table which consists of all the columns for numbers and addresses etc, no one is actually separating names and addresses into separate tables and linking them via foreign keys just so a user could have an extra phone number to enter. That is unscalable and takes up too much time and effort
@gindrunk
@gindrunk 5 жыл бұрын
Exactly! ever heard of "JOINS", actually there's a pros and cons for both, but coming from rdbms my bias is still sql, but want to know more about nosql
@erichanson2527
@erichanson2527 6 жыл бұрын
Nice video. MongoDB can be simple to get started, which is great. But it can get hard later if you try to access data in unexpected ways (not navigating from the top of a document) or you want to do a summary report fast. A lot of code for navigating documents gets put into the app rather than having the database do it for you. An interesting kind of "third way" is the approach used in MemSQL where it is relational and has SQL, it has sharding and is a distributed database like MongoDB, and it has JSON columns for the truly "document" parts of your data.
@codefinity
@codefinity 3 жыл бұрын
Hadn't heard of MemSQL. HarperDB is a 'new kid' in town and they have some cool 'SQL/NoSQL' hybrid approaches.
@MakoNext
@MakoNext 6 жыл бұрын
Relational databases are not made to mimick real life storage or to be easy to read. It's about efficiency and integrity. Sure NOSQL databases has its own benefits but that does not overrule the way relational databases can be much more useful.
@kokocirhuzal.1644
@kokocirhuzal.1644 4 жыл бұрын
I am new to the NoSQL concepts but his explanation sounds like asking you to use a hammer to take down a tree instead of an axe. As you said, every tool has its benefits. It is all about your application requirements.
@Rajatuje
@Rajatuje 4 жыл бұрын
i have no idea of code, i just like your avatar
@jodazague8333
@jodazague8333 4 жыл бұрын
@@panosdotnet yup
@Jemmeh
@Jemmeh 5 жыл бұрын
I get why people are complaining but I thought it was a good basic rundown. I just needed to know the difference from the relational databases I'm used to and this provided that in a few minutes. Thanks! The graphics were really nice and made it clear.
@SM-ok3sz
@SM-ok3sz 3 жыл бұрын
Because it’s dishonest and wrong.
@michaelwoodruff6634
@michaelwoodruff6634 5 жыл бұрын
Relational databases aren't inefficient, nor hard to read once you learn SQL concepts. But NoSQL does have its places.
@MoreonTech
@MoreonTech 6 жыл бұрын
best video to understand the difference between the relational and sql databases
@sm5172
@sm5172 3 жыл бұрын
Amazing work, guys, and thank you for offering reasonable free options for development and testing that are enough for small projects like mine until we reach the production stage and upgrade. Geospatial queries in particular are a blessing!
@bluemagicuk
@bluemagicuk 6 жыл бұрын
Good, clear vid, i actually understood!
@bogwell
@bogwell 5 жыл бұрын
Feels a little like an attack on RDMS's. Neither is the future, or the past, they are just 2 different tools each with examples of appropriate/inappropriate uses cases. I was not keen on the part where Mr Horowitz builds a metephor of how RDMS's work using filing cabinets and then attacks his own metaphor as to why RDMS's are terrible. I hope he realizes that a SQL database doesn't "actually" store or fetch data from separate filing cabinets and as for complexity, his example requires a SQl statement of around 8-10 lines long and doesn't cause me any confusion.
@roko567
@roko567 3 жыл бұрын
@@internet4543 then you never took the time to learn SQL. It's pretty simple
@vincentdang959
@vincentdang959 2 жыл бұрын
Good video. Summarized the general idea very quickly.
@MegaGrac777
@MegaGrac777 4 жыл бұрын
Very clear, thx to the team
@SgerbwdGwyn
@SgerbwdGwyn 5 жыл бұрын
"Imagine if you had to physically store them in cabinets and move pieces of paper around" Well it's a fucking good thing we don't then. That's not a valid reason to use NoSQL over SQL
@johnhorton3727
@johnhorton3727 5 жыл бұрын
It's called an analogy
@wbakerua
@wbakerua 5 жыл бұрын
And not a very good analogy. Instead of having to pull an entire patient's record with Horowitz's example in NoSQL, I can use a partial in RDBMS to pull just a patient's name and phone number for a contact if the person using the data is a receptionist or something like that. Why pull 5 MB of data when you can pull 5KB?
@gibigbig
@gibigbig 5 жыл бұрын
@@wbakerua why are you dumping the entire document? havent you heard of the select function from mongo/mongoose? Your opinion is wrong because you were using mongo wrong.
@piyushmehta2995
@piyushmehta2995 5 жыл бұрын
@@gibigbig Whether you are pulling the 5MB into your application, or in the database's memory, the same issue arises. Pulling 5MB into Mongo's memory is worse than pulling 5KB into its memory.
@BenelliFurtado
@BenelliFurtado 4 жыл бұрын
Great explaination!
@marcello4258
@marcello4258 4 жыл бұрын
did I hear 'legacy' associated with relational (transactional orientated) databases?
@mijailmariano7846
@mijailmariano7846 2 жыл бұрын
wow! this was one efficiently organized overview on something so "unstructured." here for the genteel discussions 🍿
@TheInsaneBrother
@TheInsaneBrother 6 жыл бұрын
4:50 drives my Google Home crazy: "You got tails"
@justlivinglife2532
@justlivinglife2532 3 жыл бұрын
This is revolutionary! 🤘🏽
@codefinity
@codefinity 3 жыл бұрын
Bold statement referring to relational dbs as 'legacy.' 😃 I like it though, as a JS/MERN dev. I will 💯 look to Mongo (or similar) first and only consider relational if there is driving motivation for it. W/o doubt it is simpler and easier to reason about, and as a JS instructor, it's easier for students to start getting 'immediate gratification' in a short time using Mongo as opposed to all of the things that go into the planning for relational.
@fricktion184
@fricktion184 Жыл бұрын
This is a great example of how to do explain a technology - break down the problem and how the solution fixes the problem.
@redetg
@redetg 5 жыл бұрын
This video is basically an Ad on steroid 🤣😂
@SumriseHD
@SumriseHD 3 жыл бұрын
Or on Weed. Depending on what you're referring to.
@stevenbarkley5067
@stevenbarkley5067 5 жыл бұрын
Thank you.
@Dynamite_mohit
@Dynamite_mohit 3 жыл бұрын
It was a Great Insights
@ridovercascade4551
@ridovercascade4551 5 жыл бұрын
So good explanation in video nice job guys! I had always same view about relational databases
@vickisnemeth7474
@vickisnemeth7474 4 жыл бұрын
Love how the haters are complaining that traditional database models are better for software development while ignoring how relevant the usecase you presented is to real-world businesses.
@ichinichisan
@ichinichisan 6 жыл бұрын
Ooh, fancy chairs in the background.
@nadirhamid8948
@nadirhamid8948 5 жыл бұрын
I've used mongo many times yet i always go back to relational. Maybe i am doing something wrong but i dont see that many disadvantages in using rbdms if the app is not that big. Could be that mongo is better for larger apps ? I dont know. i havent noticed that much of a productivity / development boost by using mongo personally. Interesting video though makes you want to use mongo more
@user-or7ji5hv8y
@user-or7ji5hv8y 5 жыл бұрын
The illustration helped a lot. But How is NoSQL different from text files?
@semanticman
@semanticman 4 жыл бұрын
documents have structure, types, and indexes. They just don't enforce homogeneity and the allow embedding.
@vengatesan4307
@vengatesan4307 3 жыл бұрын
Thanks a lot....
@DinHamburg
@DinHamburg 2 жыл бұрын
Would be interesting to find out if they do their own payroll accounting for their personal oder invoices is done on mongodb or in a plain old relational db...
@nareshgb1
@nareshgb1 6 жыл бұрын
very impressive, Mr Horowitz. I am beginning to like MongoDB a lot, despite having worked on oracle databases for 25 years. Is there a video that explains just how much "denormalization" (pardon the legacy jargon:) can be done. e.g. would you say put EVERYTHING for a patient into a SINGLE document? (basically all the entities you showed in the video - contact info, visits, lab tests, and others). at what point does the model run into performance issues in the practical world (updates are expensive, and they would be especially expensive for updating large records/documents as would be the case here and I can't imagine how MongoDB can get around that). Any link to videos that explain such things would be very helpful. Thank You Very Much.
@MongoDB
@MongoDB 6 жыл бұрын
Hello, I recommend checking out this blog post by our own Grigori Melnik mongodb.social/2oCQ0jm
@ThePanamaZipper
@ThePanamaZipper 6 жыл бұрын
I suggest you to take the FREE course on university.mongodb.com/
@nareshgb1
@nareshgb1 6 жыл бұрын
Hey Guys - Thanks for your comments. Basically I am now taking the MongoDB Univesrsity courses and they are very good. I have still not got the answers as to how updates will work efficiently - but I think that may be a bit of a schema design issue (i.e. design schemas so you dont have to do too many updates).
@stevenkennedy8609
@stevenkennedy8609 6 жыл бұрын
Nice free course! Pluralsight has some great courses on it as well, but a subscription costs $35/mo - a great place to pick up complimenting skills also though!
@xerosdestroyer
@xerosdestroyer 5 жыл бұрын
This reads like a really bad thread of bots replying to each other. I mean, nobody talks like this.
@doddykartiwa4073
@doddykartiwa4073 5 жыл бұрын
from his explanation of MongoDB, I got the impression that it is very similar to LDAP concept?
@belrestro
@belrestro 5 жыл бұрын
5 min, main key points, good vid.
@fermatwasright
@fermatwasright 5 жыл бұрын
Evidently MongoDB designers knew very little about DBMS tables. There's a thing called view in DBMS which would do what MongoDB the same thing. Distribution of database is the implementation. You can design redundancies as much as your heart content. I knew that the database would be more than 32-bit pointer could handle in the late 80's and early 90's, Oracle gave free licenses to universities. Unless there is something that makes MongoDB standing out, other than that it's not much different from other DBMS's.
@lukehatcher98
@lukehatcher98 3 жыл бұрын
im sold
@mdyusufansari8897
@mdyusufansari8897 3 ай бұрын
thanks you so much :)
@clearlybehind
@clearlybehind 5 жыл бұрын
Weak video. Expected better. They address different use cases. Just as RDBMS is "Excel on Steroids", in simple semantics MongoDB is Microsoft Word on Steroids.
@CitAllHearItAll
@CitAllHearItAll 3 жыл бұрын
This video focuses on reading, or 'reporting' data. Sure, when you compare this solution to a 3NF model, Mongo DB comes out on top. 3NF is best suited writing. But there are other modelling techniques when aiming at reading/retrieving/reporting. I'd be interested to see a Star Schema model (Kimball methodology) compared to this, as far as performance and ability goes. Slice and Dice, baby! From what I can tell from this video, Mongo DB would be a PERFECT solution for 1-off Applications. Especially since programmers aren't data engineers; they just think they are. I want to learn more about Mongo DB in an Enterprise environment. Piqued my interest, and I'm not hating.
@yousuf493
@yousuf493 6 жыл бұрын
Beautiful concept ...
@grugj
@grugj 6 жыл бұрын
I owe you a beer, Mr Horowitz.
@sifiso-gumedes-world
@sifiso-gumedes-world 4 жыл бұрын
You could have done MongoDB without attacking RDBMS. I am an Oracle Developer and I love it. I personally believe that each product is unique in their own way.
@hunterstanteen3603
@hunterstanteen3603 2 жыл бұрын
very hard to take seriously a video that starts off with "relational dabases are like microsoft excel on steroids", I really hate that comparison
@Stoneface_
@Stoneface_ Жыл бұрын
@@hunterstanteen3603 somewhat true though lol
@bobsort
@bobsort 3 жыл бұрын
I watched this video for 5 minutes and if this was base for my decision to use it, I would not use it at all. What you are saying is like because we figured out opening 4 screws to reach content of the PC case is too hard and cumbersome, instead we put a single nail in middle of it so if you want to open it just pull the nail. also since data being where customer is, we split the motherboard to 14 pieces and put each piece in one part of house (toilet, kitchen, bedroom, living room, ....)
@terrytas13
@terrytas13 3 жыл бұрын
Microsoft Excel on steroids! I LMAO when I heard that. So good.
@wilwad
@wilwad 6 жыл бұрын
Sweet.
@PrivateSi
@PrivateSi 6 жыл бұрын
All objects should have parent, own and 'kept' properties. Own properties are added on a per object basis on top of inherited properties. Any object can be a parent. 'Kept' properties are not inherited by subs. Tables are objects too. This is a superior model.
@und0
@und0 2 жыл бұрын
You just described my worst nightmare. Inheritence is evil and should never be used. What you described isn't superior, it's code suicide.
@PrivateSi
@PrivateSi 2 жыл бұрын
@@und0 .. You are a coder, not a modeller.. You will be replaced by AI, system designers and object modellers will last longer.
@PrivateSi
@PrivateSi 2 жыл бұрын
@@und0 .. So you have a database table of attributes.. This works like a normal relational database. Later, various departments need to add NOTES to individual records. In the end each manager or even admin worker end up with extra fields of data in these notes. Many managers use a system of their own.. -- This is indeed a REAL NIGHTMARE for both IT department database guys and the managers who can't extend the database without bothering IT (that could be subcontracted - even worse)... What's more, different departments / managers may need to add different notes and fields to an object like CUSTOMER or EMPLOYEE that only they want to see.. -- It would be better if ad hoc fields can be added by department managers that are only visible to authorised people. Searching proper fields instead of searching raw text notes that contain data.. These new classes are SUB-CLASSES of CUSTOMER containing extra fields... User-extensible databases allow for a more AGILE business not so reliant on in house / 3rd party coders and DB guys
@SachalChandio
@SachalChandio 3 жыл бұрын
you are amazing
@sandejai
@sandejai 3 жыл бұрын
nailed in 5 min.
@John_Fx
@John_Fx 5 жыл бұрын
The whole "teardown" section on relational databases is comical. If normalization were so freaking awful and inefficient you could (but you shouldn't) just jam all your data in a single table. Of course that is ludicrous and so is this argument against SQL databases>? On top of that, why do NOSQL developers inevitably try to recreate relational concepts in the ill-equipped NOSQL databases?
@midinerd
@midinerd 5 жыл бұрын
lol agreed
@nicolasrk
@nicolasrk 5 жыл бұрын
As other orders in life. An honest review/introduction have to mention de bad sides too IMHO.
@franco521
@franco521 4 жыл бұрын
Wait, 2:30 isn't this what a traditional DBMS does??
@murrayKorir
@murrayKorir 6 жыл бұрын
This is the future.
@dirdib69
@dirdib69 4 жыл бұрын
Is it web scale?
@willinton06
@willinton06 2 жыл бұрын
It is web scale
@manchuratt8900
@manchuratt8900 5 жыл бұрын
Good overview of RDBs. Only if MongoDB's was that good.
@zainkamran548
@zainkamran548 3 жыл бұрын
Good
@yusriplanner4666
@yusriplanner4666 4 жыл бұрын
Why compare with MS Excel? Should compare it with MS Access RDBMS.
@Japhu
@Japhu 3 жыл бұрын
I still don't understand the advantages of MongoDB in comparison to a rdbms. Can someone explain?
@cristian-bull
@cristian-bull 3 жыл бұрын
Advantages: you can put an arbitrary amount of arbitrary stuff, anywhere, without having to enforce any schema in the whole thing. Disadvantages: The freaking mess your project partners can do with that flexibility.
@thearchibaldtuttle
@thearchibaldtuttle 5 жыл бұрын
There is always the wrong tool for doing the job and a better one. Same applies to the database system you chose. I also don‘t agree with the statement about hard to maintain and enhance. There was also a reason why relational databases were invented. Nobody wanted to store redundant information and be economical with resources on your system. Today, resources almost don’t matter anymore and allows a more „wasteful“ type of system. Nothing wrong with that but it’s just wrong to say it is always superior.
@SamujjalMajumder
@SamujjalMajumder 5 жыл бұрын
Use Postgres JSONB.
@alikabeer5008
@alikabeer5008 3 жыл бұрын
coming from mysql, this is heaven.
@Tygelin86
@Tygelin86 6 жыл бұрын
I have zero experience with mongoDB but from this presentation it looks like you have tons of redundant data for example you have worker and company that he works in right? In relational database the company name would be store once in company's table and in worker table you would have only id number of this company, but in mongo you have huge document with company name explicitly declared there so it's clearly have some cons not only pros.
@batujable
@batujable 6 жыл бұрын
you don't declare non existent data.
@ShuebDalvi
@ShuebDalvi 6 жыл бұрын
the point @Tygelin86 wants to make is, Company name would be a master data which needs to be mentioned once and referenced everywhere. However with mongodb setup, it will be replicated in every worker's document record, repeating and taking unnecessary storage.
@backslash8874
@backslash8874 4 жыл бұрын
Exactly.
@gumarro72
@gumarro72 5 жыл бұрын
Wow, "A relational database is Microsoft Excel on steroids". What a terrible analogy or lack of understanding.
@pladimir_vutin
@pladimir_vutin 4 жыл бұрын
Let's be honset, it is! I like rdbs persoally but it's fundamentally just saving up the rows and columns in a painful way. (which i enjoy btw!) my problem however is that this video takes it out of the consuderation that each of these database models might be better at different fields, and fail at sone others...
@midinerd
@midinerd 5 жыл бұрын
Isn't 0:15 "Microsoft Access on steroids?"
@mtsurov
@mtsurov 5 жыл бұрын
This is nonsense. You will for sure end up with many copies of the same data in different places with this design. All updated from different processes. I don't care how fast you can read and write data if it is not correct. And it can not be correct because there's no referential integrity enforcement. Please stop giving bad advice.
@Elite7555
@Elite7555 5 жыл бұрын
To be honest: For patients addresses or phone numbers that doesn't really matter. If you want to be extreme about it you had to ensure that there are no records with the same name or anything. Only question is: What do you gain from it? Mostly nothing.
@cringemicedevine4129
@cringemicedevine4129 6 жыл бұрын
"the document model is the key design choice we made" im only here for the free storage space LOL
@tengkuizdihar
@tengkuizdihar 5 жыл бұрын
this guy gets it. 3 GB of storage for free. Damn. Heroku sure love mongodb.
@piyushmehta2995
@piyushmehta2995 5 жыл бұрын
As you see the replies below, the people calling out Mr. Horowitz seem to be experienced folks. Whereas newbies would completely fall for Mr. H's pitch. That probably explains why new programmers are leaning toward Mongo. Later it catches up with them. Schools should teach multiple ways to structure and access data. For example storing JSON like documents is supported by Postgres, a relational db. So now, you have the ability to take advantage of both database paradigms within a single database/table.
@jamisonr
@jamisonr 5 жыл бұрын
Actually, I get the feeling most of these folks are not experienced. Traditional RDBMS are obviously powerful, but if you've ever had to work on larger ones (thousands of tables for instance), then you can see how much of a maintenance nightmare they can be, and on top of that, difficult for newer developers to understand and be productive with. My initial thoughts about NoSql were similar to many others because I had 20+ years working in the RDBMS space, but as I've learned more I have started to see where NoSql has advantages.
@yarencelik6211
@yarencelik6211 3 жыл бұрын
MongoDB really hates relational databases XD But I still think it was a good explanation.
@Hahahawhatsup
@Hahahawhatsup 5 жыл бұрын
Such a stupid interview. Barely spoke about NoSQL and Mongo, just trashed SQL and likened all SQL database systems to "Excel on steroids". I like both, but this interview did absolutely nothing for those people on the fence and those considering to use Mongo. Both have their purposes, don't let their short sighted CTO put you off.
@cebuanoninoy
@cebuanoninoy 4 жыл бұрын
Feels more like a sales pitch to me.
@cyclonus01
@cyclonus01 5 жыл бұрын
So RDBMS only run on mainframes and any little change breaks them according to this guy.
@alpachino468
@alpachino468 2 жыл бұрын
1:31 "numbness in third arm" 🤣
@pladimir_vutin
@pladimir_vutin 4 жыл бұрын
well the people complaining about the content, haven't watched the video past the half point.
@nikims_
@nikims_ 4 жыл бұрын
isn't that just json?
@backslash8874
@backslash8874 4 жыл бұрын
No that's Microsoft Word on Steroids or maybe Notepad on Steroids. lol
@velo1337
@velo1337 3 жыл бұрын
Well and then there is Oracle 😂😂😂
@murrayKorir
@murrayKorir 6 жыл бұрын
haaa lol SQL Database is fundamentally Ms Excel in Steroids 0:15 makes sense
@ToDeoS
@ToDeoS 5 жыл бұрын
@@agenticmark Maybe explain after bashing someone, use cases vary and NOSQL did not become popular if it was inferior in every way. Unless you are accusing everyone who uses it stupid including Google, FB, Amazon etc.
@DenisG631
@DenisG631 5 жыл бұрын
@@agenticmark do you know that FB, Google, Amazon use NoSQL as well? BigTable? Cassandra? Banks are not the only use case for databases.
@belrestro
@belrestro 5 жыл бұрын
@@agenticmark Wow, I've seen you at this types of videos spreading hate a lot. Why don't you make a compelling argument or argument of reason if you are so for rdbms, just point on advantages over certain tasks, can relate to that.
@FPV777
@FPV777 5 жыл бұрын
How it is build??? Other models explaibed, but not own. Fk this sht. In background just a regular relation structure???
@mithileshtipkari2811
@mithileshtipkari2811 5 жыл бұрын
How distributed MongoDB is different from Blockchain?
@jkovert
@jkovert 5 жыл бұрын
UNLEASH THE DRONE JAMMERS
@stevewarris
@stevewarris 5 жыл бұрын
Like Excel on steroids......lulz
@VaelVictus
@VaelVictus 4 жыл бұрын
Dude needs a nap.
@seanm8655
@seanm8655 4 жыл бұрын
Seriously, the strawman of "Excel on steroids", and then the strawman of saying a relational is like separate physical file cabinets? Jeez, who told him to do that? Makes him look like he doesn't understand efficient data storage. Mongodb is just another tool in the arsenal, and I'm sure it has its uses, and I'm sure it has a different set of headaches that relational doesn't have.
@aqsas74
@aqsas74 3 жыл бұрын
👍
@lgtvsmart4078
@lgtvsmart4078 3 жыл бұрын
WOW, this guy does not know how RDBMS works compares to Excel LOL. Basically this is a Sales Video to Say that MongoDB is a replacement for every database in the world. I would rather see a practical use case scenario.
@simplycorker1869
@simplycorker1869 5 жыл бұрын
hi
@DigitalNomadOnFIRE
@DigitalNomadOnFIRE 3 жыл бұрын
"no third arm actually present".... lool
@piyushmehta2995
@piyushmehta2995 5 жыл бұрын
This video is providing an extremely biased view. This bias if fairly widespread in the developer world today. If that patient record db was stored in Excel as he shows, it would NOT make the file size larger. It seems that way, but it is not. Both Excel and relational db's take as much room as there's data. They don't allocate storage for NULL fields. BIG LIE HERE! Second, they say breaking data into multiple tables causes complexity. Let's dig into that. ADDRESSES is fairly easy to understand. If someone asked how many patients live within 5 miles of our office, i just need to go through ADDRESSES and not have to pull all the patient data, along with their medical history and all other patient related data, embedded within the Mongo patient document. The complexity is only in the JOINS in relational db's. However, the language of SQL is very english like. The language of Mongo is very abstract (sending objects with meta phrases (e.g. `$set`)), making it difficult to do complex queries with it. SQL on the other hand is so so flexible with what you can do, and it is easy to understand what's going on.
@aidanfarhi367
@aidanfarhi367 3 жыл бұрын
I agree. I very easy to say 'it's too complicated for developers' without much evidence or reasoning behind it. Joining, and associations become quite intuitive once you get the hang of them.
@manikumardera9780
@manikumardera9780 5 жыл бұрын
i want a perfect tutorial of mongodb on ubuntu
@vincesanchez7790
@vincesanchez7790 5 жыл бұрын
MongoDB = Future :)
@bastabey2652
@bastabey2652 Ай бұрын
AI brought me here after 20 years of SQL datawarehousing
@kandysman86
@kandysman86 5 жыл бұрын
So...no sql?
@nands4410
@nands4410 5 жыл бұрын
YES SQL!
@kandysman86
@kandysman86 5 жыл бұрын
@@nands4410 Yes!
@bajal123
@bajal123 5 жыл бұрын
@@kandysman86 It is apparently short for "Not Only SQL". Poor acronym choice.
@kandysman86
@kandysman86 5 жыл бұрын
@@bajal123 yes, very poor choice lol.
@moha6859
@moha6859 5 жыл бұрын
Advertising MongoDB to amateur developers so they use it when they shouldn't and few years later BOOM!!! MongoDB is not bad but this video is misleading
@mr_don_key
@mr_don_key 5 жыл бұрын
Very weak advertisement video.. I am shocked about the BAD really BAD BAD BAD analogy of the file cabinet, because it's not how SQL works...when looking up data.. (it doesn;t open up one "cabinet" after another until it has all data... among many other lies presented in the analogy. ) next time. mongodb as a company should tell the truths, like where SQL and noSQL is prefered, and where not... (being honest is key!) Also the WHY!
@arhambajwa3586
@arhambajwa3586 3 жыл бұрын
👍👌🏻
@shalomdahal6361
@shalomdahal6361 5 жыл бұрын
postgreSQL feels so smooth while MongoDB is trying to enjoy a fish with a lot of bones. Err!
@Aru-fh1ud
@Aru-fh1ud 4 жыл бұрын
It's laughable how the entire comment section is filled with people who probably learned RDBMS from tutorialspoint and are so afraid to learn a new technology that they are trying to make a bad impression on literally any other technology that comes up. If you think something is not suitable for you, it's simple - don't use it. The only reason yoy people are here is because you know you are afraid you are gonna be left behind because you are such DINOSAUR.
@sepukuTora
@sepukuTora 4 жыл бұрын
Nope. The comment section is full of people who have experience and know what they are doing. noSQL is good for comparatively simple data models that will hold massive quantities of data and when eventual consistency isn't a problem. RDBMS is good for more complicated data models and when ACID properties must be maintained. If you are a serious developer you will use the right tool for the job at hand. Instead of the presenter explaining the very valid use cases where a noSQL database is a good design choice he used an extremely misleading and inaccurate analogy to convince n00bs and upper management that noSQL (specifically MongoDB) is a universal solution to all data management needs. If you already know how to build applications around RDBMS it isn't very difficult to go with noSQL instead. Neither technology has a very steep learning curve. Knowing how to select an appropriate database platform for your project and properly design the database is much more important.
@allex25100
@allex25100 2 жыл бұрын
I hoped this video will show any benefit of mongo vs any other storage but it failed.
@johnforde7735
@johnforde7735 5 жыл бұрын
You make it sound like using many tables is difficult. It's not. It's easy. Be honest and outline the real advantages of MongoDB. Like it is scalable. Also, adding data isn't the only problem, when you need to query data, a relational database is better.
@scottferguson866
@scottferguson866 5 жыл бұрын
many joins can bogg things down
@d13gg1
@d13gg1 Жыл бұрын
I love MongoDB but this video is a misrepresentation of relational databases. In relational databases you build upon "relations" this means that you don't dump everything on a single table as if the database were a spreadsheet.
@igorspitz
@igorspitz 5 жыл бұрын
Presenting wrong RD schema as an argument for using MongoDb? Come on, you can do better.