SQL vs. NoSQL Explained (in 4 Minutes)

  Рет қаралды 265,743

Exponent

Exponent

Күн бұрын

Пікірлер
@tryexponent
@tryexponent Жыл бұрын
Make sure you're interview-ready with Exponent's system design interview prep course: bit.ly/3P2tvBy
@dreamsachiever212
@dreamsachiever212 Жыл бұрын
I don't know but as a beginner I have noticed many of these videos LACK the most important sauce : ACTUAL USE CASES! If you would have featured examples like let's say you're building an app that does this or that for you might want to use SQL for this part of the scope BECAUSE etc... and for that part of the scope NoSQL might be preferred because etc.... There you go, I have just shared a framework for your next video lol. Thank you anyway for the content it shows the genuine interest to educate but could be better especially if you want to educate beginners.
@AjaySharma-me1sy
@AjaySharma-me1sy Жыл бұрын
I'd take two examples to give some clarity on how you apply the principles explained in the video to decide on real-life situations: 1. Designing a social media system like Facebook. Consistency is not critical. Posts can be created and it's totally fine if they take some time to propagate to multiple users. Considering the post data will be mostly unstructured data (text/images/video) and that you will need horizontal scalability (billions of posts), you should use a no-SQL database. 2. Designing a payment system like VISA or Mastercard. Consistency is of utmost importance while committing the transaction. If there is issue in reflecting the transaction information, it can lead to unwanted consequences and angry customers. Considering that the data is structured and you don't need multiple users to see a single transaction, you should use a SQL like database.
@petar55555
@petar55555 Жыл бұрын
SQL databases can also scale horizontally as well. People could get in trouble during the interview, please clarify this point
@WaliSayed
@WaliSayed Жыл бұрын
The points mentioned are informative but add bit more clear explanation here about the horizontal and vertical scalabilities of NoSQL and SQL database systems: NoSQL databases are designed to scale out horizontally, meaning you can add more servers or nodes to the database cluster to handle increased data volume, traffic, or performance requirements. On the other hand, SQL databases often scale up vertically by adding more CPU, RAM, or storage capacity to a single server to handle increased demands.
@tryexponent
@tryexponent Жыл бұрын
Hey WaliSayed! Thanks for adding on and sharing your knowledge!
@pranavjoshi7697
@pranavjoshi7697 11 ай бұрын
@1:12 MongoDB is also ACID-compliant after version 4.
@michaelbradley6712
@michaelbradley6712 10 ай бұрын
I regard you as a very credible and lucid presenter.
@vinaygupta2369
@vinaygupta2369 Жыл бұрын
Very precise to the points of differneces between sql and nosql. thanks for the good content as always❤
@abdullokhayrulloev9211
@abdullokhayrulloev9211 Жыл бұрын
So much valuable information in only 4 minutes
@bemalsdvanitha2090
@bemalsdvanitha2090 5 ай бұрын
Its posible for shard sql databases, atleast postgree sql, there is extension call citus or postgree xl, you can easily shard. Also from postgree 10 it support declarative partitionings
@TecDM_EC89
@TecDM_EC89 9 ай бұрын
I have never needed to implement a NoSQL database since I normally design my datasets correctly before development. When I tried to learn about NoSQL I found out that the lectures I was taking were leading me to "replicate" a relational structure in a NoSQL database. But, that's just my case. I can tell that everything will depend on the context.
@arunsundar3739
@arunsundar3739 Ай бұрын
so much valuable points covered in short time, thanks for sharing :)
@rahulkumarmandal4450
@rahulkumarmandal4450 7 ай бұрын
Nice explanation maam. Love from INDIA
@gusinthecloud
@gusinthecloud 7 ай бұрын
great video. A few people have ability to teach!! You have it!!
@shagenhokie
@shagenhokie Жыл бұрын
Great overview. Thanks for sharing.
@saikiran-v4p
@saikiran-v4p 4 ай бұрын
Amazing explanation! You made it so easy to understand!
@FabioGoncalves-ry7zq
@FabioGoncalves-ry7zq 8 ай бұрын
Thank you for the amazing video. I now understand it better than I used to.
@apnashankar
@apnashankar Жыл бұрын
Well Exaplanation ma'am❤! Now I've understood differences b/w SQL and NO-SQL. Thank you ❤
@Deepakkumar-dy1en
@Deepakkumar-dy1en Жыл бұрын
Its very informative video ❤. But it could be better to add few use cases to use sql vs nosql in system design context. I think: Use sql db if acid property, more relational data and less need of scalability is there else use nosql db. Correct me if i am wrong.
@swapnanjalisahoo97
@swapnanjalisahoo97 10 ай бұрын
Very informative and quick 😊
@CertifiedOtherBoy-cn7pg
@CertifiedOtherBoy-cn7pg 3 ай бұрын
Very helpful, thank you!
@drndn
@drndn 6 ай бұрын
Some of the qualities ascribed to SQL and NoSQL DBMSs are actually not intrinsic to them but orthogonal. ACID is one such example, that quality has nothing to do with whether the data is in tables or not. Both SQL and NoSQL DBMSs can be ACID, and both can be not ACID. For example, MySQL with the MyISAM table store is SQL but not ACID. For example, some key value stores etc are ACID. Also the ability to be distributed or not can be the case with both SQL and non. For example, Amazon Aurora is SQL that is distributed and horizontally scalable.
@normbograham
@normbograham 7 ай бұрын
In my experience, and I did not make the decisions, but NoSql, is used for HUGE databases, with very few tables, and often the data is mostly static. Or at least, only a few records change in a day. And note, the Daytona database solution, had a weird ability to have an unlimited tuples in the same field, all on the same record, since, under it all, the database tuple, was text. So, anything you say about SQL databases, only applies to most of them and not all. The largest, and oldest database, is in Daytona and Cymbol.
@LearningRandomly-g1w
@LearningRandomly-g1w 22 күн бұрын
I watched it 6 times😁
@jasonl412
@jasonl412 Жыл бұрын
so, is it a standard answer the the question of "Could you tell the difference between SQL and NoSQL"?
@michaelai8274
@michaelai8274 Жыл бұрын
There's not exactly one to choose. They both have use cases in which they're best in that category/
@thoro-sh3pw
@thoro-sh3pw 9 күн бұрын
Can you give me a video of " How to find you : detailed explanation"😊
@rolandocedeno6194
@rolandocedeno6194 8 ай бұрын
NoSQL databases were not originally intended for scenarios requiring strict data integrity, as ensuring data consistency across distributed systems can be complex. The best use case for NoSQL is often for data caching mechanisms, where a disconnected application stores data in a NoSQL database and later synchronizes it with a relational database like SQL Server, Oracle, or MySQL. Using NoSQL as a caching mechanism also enhances performance, as you can keep a list of products in a NoSQL database and refresh it only when changes occur, thereby limiting the number of server data requests. This approach effectively functions as a caching mechanism. In conclusion, the use case where the technology shines is a hybrid application.
@mlavinb
@mlavinb 10 ай бұрын
Amazing! thanks for sharing
@bigbigdog
@bigbigdog Жыл бұрын
❤thank you for this video
@klawtawar
@klawtawar Жыл бұрын
Also share some examples
@TTomni
@TTomni 11 ай бұрын
This was great thanks :).
@native-nature-video
@native-nature-video Жыл бұрын
Thank you!
@shreyaschillal
@shreyaschillal 9 ай бұрын
Well &Cool explanation
@kvelez
@kvelez 7 ай бұрын
Thanks.
@adityyyaaa
@adityyyaaa 8 ай бұрын
No-SQL database can easily solve the "consistency" problem by implementing structures or schemas internally
@mvlinux
@mvlinux Жыл бұрын
thank you 👍
@zhonglin5985
@zhonglin5985 11 ай бұрын
I don't think the video has explained why SQL databases usually can't horizontally scale for write-heavy systems. This statement can be easily challenged by the interviewers. Actually MySQL database has been proven be to able to horizontally scale for writes using sharding.
@rebelwwg1wga431
@rebelwwg1wga431 Ай бұрын
what database will be best for service like zillow? Or maybe hybrid and use both... or citus + postgresql? :)
@tryexponent
@tryexponent Ай бұрын
Hey rebelwwg1wga431! A well-designed SQL database should handle all Zillow use cases effectively. However, incorporating a NoSQL database can be beneficial for managing semi-structured data, such as user activity logs or property metadata, where formats may vary.
@VishalGupta-mn2mn
@VishalGupta-mn2mn 10 ай бұрын
why dint you cover CID(consistency, Isolation and Durrability) for sql? why only atomicity you explained?
@AYJ959
@AYJ959 Жыл бұрын
good 👍👍
@moisthero
@moisthero 8 ай бұрын
do product managers get asked system design questions in interviews?
@tryexponent
@tryexponent 7 ай бұрын
Generally not!
@ashishgupta3247
@ashishgupta3247 11 ай бұрын
Great
@luizcarlossilva3641
@luizcarlossilva3641 4 ай бұрын
I wish I could like it twice
@benjaminphilips3737
@benjaminphilips3737 7 ай бұрын
Academically, in theory, they both have their advantages and disadvantages. But in reality, SQL is baby for admin, NoSQL is for work and solution.
@jacobsimon4699
@jacobsimon4699 Жыл бұрын
Awesome!
@HemanthChandra
@HemanthChandra Жыл бұрын
this is good, but too many technical jargons... so, some details mentioned here are not clear
@jayakumar2927
@jayakumar2927 10 ай бұрын
How to convert db NoSQL to SQL DB?
@tryexponent
@tryexponent 10 ай бұрын
It's tricky because converting a NoSQL database to SQL requires defining a structured, relational schema that matches the unstructured data in NoSQL, which may vary significantly in format. I think you may want to evaluate whether SQL or NoSQL is more suitable for your application's needs and requirements before switching. Hope this helps!
@fatemehrouhani8642
@fatemehrouhani8642 7 ай бұрын
Are APIs kind of noSQls?
@tryexponent
@tryexponent 7 ай бұрын
Nope! APIs (Application Programming Interfaces) are sets of protocols, routines, and tools for building software applications, allowing different systems to communicate with each other. NoSQL, on the other hand, refers to non-relational database management systems that provide flexible schemas for storing and retrieving data. While APIs can be used to interact with various types of databases, including NoSQL databases, they are fundamentally different concepts serving different purposes in software development and data management.
@loveall4969
@loveall4969 7 ай бұрын
👍
@jeffpeng1118
@jeffpeng1118 2 ай бұрын
wait you are a PM?
@ethereal_mantis5755
@ethereal_mantis5755 Жыл бұрын
I got from the video that there's very few weak points for NoSQL
@mrrishiraj88
@mrrishiraj88 Жыл бұрын
🙏👍
@mohammedrezk8072
@mohammedrezk8072 9 ай бұрын
Guys , is this an actress as well ?
@tryexponent
@tryexponent 9 ай бұрын
Our hosts are always real tech employees. In this case, a former ML engineer turned technical product manager.
@chimuanyaibecheozor4832
@chimuanyaibecheozor4832 7 ай бұрын
got lost when you started talking about nosql weaknesses. too many technical words makes it hard to follow
@AlanSilva-vl4xg
@AlanSilva-vl4xg 2 ай бұрын
Thanks!
SQL vs NoSQL or MySQL vs MongoDB
21:30
Academind
Рет қаралды 1,9 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
API Gateway Explained in 4 minutes
4:23
Connected Cookie
Рет қаралды 17 М.
APIs Explained (in 4 Minutes)
3:57
Exponent
Рет қаралды 1,2 МЛН
Which Database Model to Choose?
24:38
High-Performance Programming
Рет қаралды 71 М.
PostgreSQL vs MySQL
6:33
IBM Technology
Рет қаралды 373 М.
How do NoSQL databases work? Simply Explained!
7:38
Simply Explained
Рет қаралды 1,1 МЛН
Amazon System Design Interview: Design Parking Garage
29:59
Exponent
Рет қаралды 1,5 МЛН
Top 6 Most Popular API Architecture Styles
4:21
ByteByteGo
Рет қаралды 1 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН