SQL vs. NoSQL: What's the difference?

  Рет қаралды 147,972

IBM Technology

IBM Technology

Күн бұрын

Пікірлер: 76
@VivekYadav-vk2lh
@VivekYadav-vk2lh 2 жыл бұрын
I got lost in the thoughts about - how did you make this video ? how are you writing !!
@racc1337
@racc1337 2 жыл бұрын
Probably a glass pane and the image is mirrored in post
@TheTca211
@TheTca211 Жыл бұрын
Mild blacklight, glass and some post when he makes mistakes(like the numbers coming in without him writing) black also helps make post work easier.
@the.flying.machine
@the.flying.machine 10 ай бұрын
Notice he is writing with the left hand. That’s your answer probably
@rjathar
@rjathar 10 ай бұрын
As ​@racc1337 mentioned... You shoot him writing thru a transparent surface and then mirror the video before posting... So he's actually right-handed (it doesn't help that he's wearing his watch on his writing hand just to mess with your head further :) and the write hand is the right hand 😆
@Flankymanga
@Flankymanga 3 жыл бұрын
Each has its strengths and weaknesses and smart decision would be to employ both systems together with knowing where to store what....
@whatupdun
@whatupdun 2 жыл бұрын
every time I watch these videos I get distracted wondering "how tf did they write backwards?!"
@crisvi7259
@crisvi7259 2 жыл бұрын
He's writing normally, they just flip the video
@RaviTank1309
@RaviTank1309 27 күн бұрын
All these instructors are left-handed. The only conclusion is that the camera is recording this from a mirror. 😊
@jtaylor8606
@jtaylor8606 2 жыл бұрын
This could have been easier to follow - in some parts you are using IT buzzwords to describe an IT buzzword concept - which is even more confusing. It would be a lot simpler to understand if you could use plain English and examples - so, for example, what does horizontal and vertical scaling actually mean, what does 'dynamic' as point 4 on the No SQL side of your diagram actually mean. In the first few sentences of the presentation you mention that it might be surprising that people ask questions about these differences between technologies, or that there is confusion about the differences, but in my mind it's not surprising at all when the meaning of the buzzwords/language used to actually explain the differences are unclear.
@chrisklest1238
@chrisklest1238 Жыл бұрын
Yeah, I already read the quick list of differences and I was hoping, like you have said, that this video would explain those differences. I got nothing out of this video.
@dovasd
@dovasd 3 жыл бұрын
Good effort, but needs some more depth. The way is explained, makes a classic Oracle DB qualifying as NoSQP DB :)
@firstcommenter202
@firstcommenter202 3 жыл бұрын
can discuss performance issues, and the types of non-SQL DBs
@PranavBhattarai
@PranavBhattarai 3 жыл бұрын
But for me, it looked like NOSql seems to have upper hand here.
@jamilspain7532
@jamilspain7532 3 жыл бұрын
@@firstcommenter202 That sounds like an excellent follow up video. I will take note of this great suggestion the next time we produce more videos on this topic.
@jamilspain7532
@jamilspain7532 3 жыл бұрын
@dovasd Thanks for your comments. Yes we intended to "scratch" the surface with this video and dig a little deeper on other topics. There are certainly many options nowadays for either NoSQL & SQL Databases. We will have some profiles coming up soon on different types.
@sndselecta
@sndselecta 2 жыл бұрын
The example at the end for me was a great explanation. Finally understand a simplistic implication. To further on this: a user is logged in, the cart is all products being purchased or a favourites section ,which will all be persisted to storage (HD). The transient (or constantly changing) data could be the session data (login duration day, week, month stats), product browsing history, of that user, but wouldn't this be also stored at a later point? The cart and favourites data is used by both user and supplier, but the session data is usually only used by supplier for analytics, targeted promotions, predictive data modelling (other product suggestions etc) etc...From the users POV might not be large but from a Product POV could be huge.
@JG-sg7yy
@JG-sg7yy 6 ай бұрын
Love it but the sound on this one was not good. Needs to be louder.
@prashantkumar6342
@prashantkumar6342 Жыл бұрын
I appreciate your writing skills more
@carlosdegollado7687
@carlosdegollado7687 2 жыл бұрын
WOAH! I've been thinking so hard trying to figure out which one I should implement when I completely forgot that there is the option of both....Thank you for helping me see that.
@JanacMeena
@JanacMeena 2 жыл бұрын
SQL - More pre-planning required - Vertical scaling - Better for multi-row transactions NoSQL - Horizontal scaling - Unstructured
@fallinginthed33p
@fallinginthed33p Жыл бұрын
JSON it and worry about it later
@mbk0mbk
@mbk0mbk Жыл бұрын
​@@fallinginthed33pyou build db data storage plan so you don't have to worry about later , you got to solve new problems that comes not stuck in old mistakes too long
@chillbro2275
@chillbro2275 3 жыл бұрын
Wow interesting last point! I remember facing dev situations and feeling like a limitation of some sort, but perhaps taking a NoSQL approach would have lifted that. Quite exciting. There's a couple of teasers in here that i'd like more information on. Like what is vertical scaling, what is horizontal scaling? And what accessing NoSQL looks like? But i definitely feel certain of the mode of SQL and the mode of NoSQL enough to experiment with NoSQL.
@IBMTechnology
@IBMTechnology 3 жыл бұрын
Thank you for your comment and your suggestions! 🙂 We'll see what we can do to incorporate that info into future videos. Stay tuned!
@fleacircus4408
@fleacircus4408 22 күн бұрын
The visual presentation of this video is superb, but it's really let down by the audio, there's a very slight reverb/echo effect that lands perfectly in the uncanny valley of normal speech.
@amosadesokan2045
@amosadesokan2045 Жыл бұрын
Thanks for the clear clarifications
@RIVEXNGLE
@RIVEXNGLE 2 жыл бұрын
This guy's pretending to write backwards for the sake of the video. Entertaining.
@IBMTechnology
@IBMTechnology 2 жыл бұрын
he's not pretending, he is really writing, but he isn't really writing backwards.
@seabus.2003
@seabus.2003 2 жыл бұрын
You don't even know how to flip a video, yet you came to see the difference between SQL and NoSQL
@w0406400
@w0406400 2 жыл бұрын
I am curious about "Vertical vs. Horizontal Scaling" 1. Why can I not scale SQL Databases Horizontally? You *could* use sharding and read replicas improve scaling needs - sure, it requires work, but SQL is constantly improving - isn't that right? 2. What I can see is - you can easily make changes in NoSQL e.g. unstructured - which is quite costly in SQL
@astb01
@astb01 Жыл бұрын
The issue with relational and horizontal scaling is yes you could spread it via sharding but the issue comes in how you can keep the read and writes consistent across them all. You can split a database into multiple smaller databases but then that just leads to higher maintenance costs. You could also have one just for writes and several others as read only databases but again this would need managing with the services accessing the databases. With non relational yes you can throw into them what you want but unless you “lock down” a schema for the data then you can’t get consistent results as each insert is a new entry rather than an “upsert”. I guess each have their pros and cons but you would choose whichever is best for your end system which you would know once you’ve done the correct analysis
@jackpatteeuw9244
@jackpatteeuw9244 Жыл бұрын
Another "ancient" computing technology has been resurrected with a new name ! Ack in the 1960s, IBM invented "indexed sequential access method" (ISAM) of accessing data (not 100% certain of the name IBM used or the timing). By the late 1970s, Digital Equipment Corporation (DEC) had duplicated the technology. I am not familiar with IBMs implementation so the rest of my comments will apply to DEC. It is important to understand that the underlying storage technology is one aspect and HOW THE DATA WAS ACCESSES is totally another ! On DEC machines, there as an extra "layer" added between the data and the application such that the data could be accessed via the primary or SECONDARY keys or sequentially ! While the primary key had to be unique, secondary keys did NOT have to be unique !! The biggest problem was that no "high level languages" (Fortran, COBOL, C) supported this concept. "Extensions" were added to each to support look up by primary or secondary keys. As mentioned, there was no "standard" query language. DEC invented Datatrieve. It was a bit quirky but it included a "report writer" similar in concept to IBM RPG which was immensely popular at the time. The basic query could be written in Datatrieve and that could be linked into another custom application. Sadly for DEC, ISAM never caught on in large volume. It also could not scale horizontally without a lot of additional programming. This was probably because it required proprietary language extensions. Building "forms" for data entry was a sperate product or required a lot of programming. As the world moved to "windows" based applications, DEC stayed in "character cell" interfaces as did IBM for much too long. Microsoft Access was one of the biggest "nails in the coffin" for ISAM. IBM and DEC had proprietary relational databases, but it was too Little to late.
@nk-thn
@nk-thn 3 жыл бұрын
I don't get what you mean by NoSQL is all in memory, isn't it also have to persist data on disk, like MongoDB...
@jamilspain7532
@jamilspain7532 3 жыл бұрын
It works by giving you fast access to the data through memory access. There may be some files that are written to disk but that is not its main access method. It is more a function of how the software application works. Let me know if I helped answer your question or have more questions.
@dexterplameras3249
@dexterplameras3249 Жыл бұрын
A lot of people think NOSQL is a new concept. NOSQL predates Relational Databases by decades (1960s) and was called Hierarchical Databases. When Edgar F. Codd invented Relational Databases (early 1970s), computers weren't powerful enough to support them and it wasn't until 1979 the Oracle truly commercialized Relational Databases. Just like today Relational Databases need more computing power than the simpler NOSQL Database. This is because the main drawcard of RDBMs needs it, "Data Relationships". Without the relationships that SQL provides, one has to write the joins into their own code whether it be Python, Ruby, C++ , Go etc or rely on the same or similar SQL syntax to do perform joins (Hadoop, Splunk come to mind). SQL reduced the proliferation of code needed to do joins. Imagine having downstream systems using multiple programming languages, each one having to munge their own joins. RDBMs also provide other things such as ACID, which ensures your data is in a consistent state even if there are conflicts. Frankly once the data is normalised it easier to work with SQL plus ORMs.
@ahmadganteng7435
@ahmadganteng7435 Жыл бұрын
As a coder.. Code itself can be referred as a jungle that its own writer can navigate.. That is why convention is created, manual is needed, etc With unstructured nature of nosql, we can double that. Did wrong in here??
@hatimshahera7961
@hatimshahera7961 8 ай бұрын
how do they write the things in front of them? It means they are writing the other way around right? or what? I have been trying to watch the tutorial but my head is stuck at that
@WojciechowskaAnna
@WojciechowskaAnna Жыл бұрын
how can you compare "non sql" without proper definition? Time series dbs are no-sql nd they do not follow your observations?
@vivekunnithan
@vivekunnithan 2 жыл бұрын
I'm distracted wondering how this video was made, was the video flipped?
@IBMTechnology
@IBMTechnology 2 жыл бұрын
You've got the idea. You can see some of our backstage "secrets" on our Community page, you can check it out here 👉 ibm.co/3pT41d5
@jamescohen4643
@jamescohen4643 Жыл бұрын
@@IBMTechnology Thanks for the BTS picture, there was no way I was going to be able to pay attention to the video until I saw the setup.
@jorge-hernandez-ramirez
@jorge-hernandez-ramirez 3 жыл бұрын
Good!
@johnlaurencepoole6408
@johnlaurencepoole6408 10 ай бұрын
I think addressing performance of a query should be a major factor. I'm SQL trained and do not know how one performs extraction of data from a no-sql data pool other than perhaps by the Linux commands "awk" and "grep". Is there a performance savings by mapping everything into SQL vs. leaving stuff in a blob?
@linwang8540
@linwang8540 21 күн бұрын
worst explanation ever
@BillaCode
@BillaCode 2 жыл бұрын
can we use NoSQL in Customer relationship management systems
@vanakornsirijongprasert1726
@vanakornsirijongprasert1726 7 ай бұрын
The way he wrote is even more impressive 😮
@RU-qv3jl
@RU-qv3jl 2 жыл бұрын
The problem I see with your explanation is that SQL is just a language. There are an ever increasing number of options to scale out RDBMS systems. Also it’s not like, for instance, Postgres is bad at handling JSON data with JSONB. There are some attributes that you are likely to always want to have, and some that may change per instance. So something like a table with a JSONB column is a nice approach. However, I wouldn’t go around installing Postgres on loads of mobile phones for kicks. It’s just not reasonable to use that amount of storage space. Just a thought.
@LoneLeagle
@LoneLeagle 2 жыл бұрын
SQL requiring more memory & computing power is making me lean more toward NoSQL because that means hosting is cheaper for NoSQL apps.
@shriramvenu
@shriramvenu Жыл бұрын
good job on these explainer videos IBM!
@lawrencegatley6157
@lawrencegatley6157 Жыл бұрын
Thank you! this is the perfect video for explaining the difference to me
@SohviHaukkala
@SohviHaukkala 5 ай бұрын
Very clear! Thank you👌
@manjurulislamkhan4722
@manjurulislamkhan4722 3 жыл бұрын
NOSQL was developed after SQL because of the lackings of SQL. I would always prefer NoSql
@jeromeeusebius
@jeromeeusebius 2 жыл бұрын
Not always, it really depends on the needs of your application and the data will be queried. For example, if you are working with interconnected data, SQL will be acceptable, but Graph models are better. Another case, if you have to use many-to-many queries, then a relation model (read SQL is better). However, for certain applications, e.g., retrieving document for a web-site, a NoSQL database is better and if affords good locality of data.
@javaexpertsa8947
@javaexpertsa8947 2 жыл бұрын
Someone ignored the PRO/CONS and decided NoSQL-databases are better than SQL-databases (Which are tested and proven to be good enough for the most situations the past 30, 40+ years?). Poor company, who got a dev at the end, who chooses a database which are not good enough for the current problem. By the way good luck when your application is heavly relationed based, NoSQL would be a overkill.
@mrard-v4e
@mrard-v4e 2 жыл бұрын
Well explained, thanks ❤
@gagandangwal4920
@gagandangwal4920 Жыл бұрын
not explained thoroughly
@vversusv1364
@vversusv1364 2 жыл бұрын
Wow it took me way too long to figure out how he was writing backwards lol.
@seabus.2003
@seabus.2003 2 жыл бұрын
You're living in the 50's
@oscarroberto9137
@oscarroberto9137 2 жыл бұрын
Very good video.
@IBMTechnology
@IBMTechnology 2 жыл бұрын
Thank you very much!
@TheGutFeels
@TheGutFeels 2 жыл бұрын
Thank you!
@ExcelTutorials1
@ExcelTutorials1 2 жыл бұрын
well explained, thank you!!
@rahimeinollahi1
@rahimeinollahi1 2 жыл бұрын
Nice video with great notes
@zenrobotninja
@zenrobotninja 2 жыл бұрын
Great explanation!
@tw6428
@tw6428 2 жыл бұрын
very good explanation of the key differences thank you
@IBMTechnology
@IBMTechnology 2 жыл бұрын
Thank you for your feedback! 😀
@peter2485
@peter2485 Жыл бұрын
Pretty poorly explained. You don't really seem to fully grasp what it is that you are talking about. As some of the other comments point out, you use buzzwords to explain buzzwords.
@ranjanadissanayaka5390
@ranjanadissanayaka5390 8 ай бұрын
excellent explanation...thank you very much.
@hervedurand4055
@hervedurand4055 3 жыл бұрын
Multiple questions come to my mind after looking at this very good video: thank you for that. - To come back to your illustration with an e-commerce website: don’t you need a structured DB (SQL) to identify the products hosted in a Non-SQL DB that you will present to the consumer? - Another comment: as No-SQL is in memory it limits its size where with SQL you can have huge size of DB. Correct? - Also I’m curious about performances: is there a kind of index with No-SQL DB? As I see it and you mention it at the end of the video, the combination of the 2 technologies is the key.
@jamilspain7532
@jamilspain7532 3 жыл бұрын
To come back to your illustration with an e-commerce website: don’t you need a structured DB (SQL) to identify the products hosted in a Non-SQL DB that you will present to the consumer? [ Possibly, but I have run complete backends off a NoSQL DB like MongoDB.. of course I had to make accomodations to ensure the data was in tact and standard ]
@jamilspain7532
@jamilspain7532 3 жыл бұрын
as No-SQL is in memory it limits its size where with SQL you can have huge size of DB. Correct? [ Correct, for SQL DB it will persist to disk. You are dependent on loading in memory for NoSQL DBs. This principle could also guide your balance of usage in your architecture. I could potentially host MYSQL on a VM Image, but something like MongoDB in the cloud is charged by the amount of memory used. The larger your JSON Docs, the more they consume. ]
@jamilspain7532
@jamilspain7532 3 жыл бұрын
is there a kind of index with No-SQL DB? [ Yes, you can create indexes in a No SQL DBs. There are so many options to choose from so if that is your guiding principle, you can let that guide which one you decide to go for. I know CouchDB has some great features that help with indexes and has some great abilities to facilitate offline sync use cases through it's native architecture with revisions of Documents just as an example of when you might let features guide you down a path of which DB in the category to use ]
@janekovr4722
@janekovr4722 3 жыл бұрын
@@jamilspain7532 Thank you for all the answers. I really appreciate and highly valuable to me who's not an expert of DB.
@iamsenorespana
@iamsenorespana 3 жыл бұрын
@@janekovr4722 your welcome anytime
@samjones4327
@samjones4327 2 жыл бұрын
Excellent explanation sir! Thank you very much! Cheers!
SQL vs NoSQL or MySQL vs MongoDB
21:30
Academind
Рет қаралды 1,8 МЛН
SQL vs NoSQL Explained
11:37
Be A Better Dev
Рет қаралды 330 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,6 МЛН
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 104 МЛН
小天使和小丑太会演了!#小丑#天使#家庭#搞笑
00:25
家庭搞笑日记
Рет қаралды 33 МЛН
Relational vs. Non-Relational Databases
8:12
IBM Technology
Рет қаралды 112 М.
What is ETL (Extract, Transform, Load)?
4:52
IBM Technology
Рет қаралды 107 М.
PostgreSQL vs MySQL
6:33
IBM Technology
Рет қаралды 335 М.
Introduction to NoSQL databases
26:18
Gaurav Sen
Рет қаралды 778 М.
API vs. SDK: What's the difference?
9:21
IBM Technology
Рет қаралды 1,4 МЛН
How do NoSQL databases work? Simply Explained!
7:38
Simply Explained
Рет қаралды 1,1 МЛН
How To Choose The Right Database?
6:58
ByteByteGo
Рет қаралды 318 М.
What is a REST API?
9:12
IBM Technology
Рет қаралды 1,5 МЛН
Which Is Better? SQL vs NoSQL
9:43
Web Dev Simplified
Рет қаралды 290 М.
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,6 МЛН