Тёмный

10. SQL vs NoSQL | Difference between SQL & NoSQL | SQL Vs NoSQL Tutorial | SQL, NoSQL system design 

Concept && Coding - by Shrayansh
Подписаться 131 тыс.
Просмотров 41 тыс.
50% 1

SQL vs NoSQL | Difference between SQL vs NoSQL | SQL Vs NoSQL Tutorial | SQL vs NoSQL system design
Today i am covering very important System Design Interview question, which is
SQL vs NoSQL, it has been asked in many big product based companies HLD round like Amazon, Google, Facebook, Microsoft etc.
SQL databases
SQL (structured query language) databases are essentially relational databases, meaning that data is organized in terms of their relationships with other data.
NoSQL databases
NoSQL (not only SQL) databases, on the other hand, are non-relational. There are several types of NoSQL databases, such as column-oriented, graph-based, document-oriented, and key-value store databases
I have also discussed, which DB to choose and what criteria we need to see before choosing the particular type of DB.
You will also get to know about Advantage and Disadvantage of SQL and NoSQL both.
Join this channel to get access to perks:
/ @conceptandcoding
#systemdesign #interviewpreparation #interviewquestions
#SQL #nosql

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 101   
@lakshyasharma9914
@lakshyasharma9914 Год назад
Hi Shreyansh, Following your content for sometime, and have to admit that you're addressing all the topics which are highly probable in an interview in a very structured format. It's also really great to see how you're balancing this with your office work. Keep up the good work, and I wish you good health 👍
@ConceptandCoding
@ConceptandCoding Год назад
Thanks a lot
@belalahmedkhan4619
@belalahmedkhan4619 Год назад
The main difference is that if you want to achieve acid property go for sql else go for no sql. Interviewer will try to confuse you regarding replication and distribution it can be also achieved in sql. No sql is also preferable to storing huge data
@ConceptandCoding
@ConceptandCoding Год назад
Yes
@kunalsevkani1601
@kunalsevkani1601 7 месяцев назад
But Now NoSQL databases like mongoDB have caught up so well with complex queries in form of aggregation pipelines and schema validated collection to ensure structure. Do you think we need to revisit our understanding before the interview?
@priyadarshinir9730
@priyadarshinir9730 Год назад
Hi Shreyansh, Thanks for this video! it would have even more helpfull if u would have taken some system design examples and mentioned which one can be used with what in the end.
@ConceptandCoding
@ConceptandCoding Год назад
Yes, let me see if any one love session I can take and there we can discuss on this topic. Let me add this in my list. Thanks for the input
@priyadarshinir9730
@priyadarshinir9730 Год назад
@@ConceptandCoding Thanks for the consideration.
@sayanroy9161
@sayanroy9161 Год назад
@@ConceptandCoding any update on this?
@adityagupta375
@adityagupta375 Год назад
It would have been great if you could take some examples like a case study to explain your point regarding flexible query...a system where flexible query will be required and a system where it won't be required similarly for 2nd point of relational and non relational data.
@ConceptandCoding
@ConceptandCoding Год назад
Got it Aditya. Let me add this in my list, I will try to take one love session like I take for LLD and try to clarify this. But I hope this video has given some useful info? Hope
@adityagupta375
@adityagupta375 Год назад
Yes it has added value definitely thanks for video and for the response too☺️
@TechkyDroidRIK
@TechkyDroidRIK Год назад
@@ConceptandCoding Hi Shrayansh any update on the additional session ?
@ConceptandCoding
@ConceptandCoding Год назад
@@TechkyDroidRIK i need to plan for it. Thank you for the reminder. I will update.
@TechkyDroidRIK
@TechkyDroidRIK Год назад
@@ConceptandCoding Thanks a lot. :)
@shubamgoswami
@shubamgoswami Год назад
quality is top notch but just one feedback from my side (as a engineer we are owl who do not sleeps at night and do all learnings at night ) this whiteboard gives a litte bit stress to the eyes beacuse i am following your lld playlist and watching uour videos for atleast 1 hr daily so please can you make future videos with greyish background it will be more effective
@ConceptandCoding
@ConceptandCoding Год назад
That's a very good and genuine feedback Shubham. Let me do that from next time
@sahilseewal5509
@sahilseewal5509 Год назад
Thanks for all your videos in HLD, they are really good. I will really appreciate if you can share these scribed notes that you use for explaining.
@ConceptandCoding
@ConceptandCoding Год назад
Noted
@VikasBagri-t2y
@VikasBagri-t2y 12 дней назад
thanks for this amazing tutorial
@aadityapanchal8551
@aadityapanchal8551 6 месяцев назад
great Explanation
@shubhamagarwal1434
@shubhamagarwal1434 12 дней назад
Very well explained...awsome!!!
@asktostranger8296
@asktostranger8296 Год назад
Bus bahya podh do Details course bana ke 😍💘
@ConceptandCoding
@ConceptandCoding Год назад
Thank you 🙏
@suheabkhan2546
@suheabkhan2546 Год назад
Next video should be indepth details of caching
@ConceptandCoding
@ConceptandCoding Год назад
Noted :)
@piyushmathpal4244
@piyushmathpal4244 Год назад
you mention sql is preferably vertically scalable and not horizontal. Since scaling vertically has a limit, how does then bank and other security db handle enormous users?
@piyushmathpal4244
@piyushmathpal4244 Год назад
Any update on this?
@aloksahoo7852
@aloksahoo7852 Год назад
May be they use Sharding to handle such huge data
@arpitsangotra3322
@arpitsangotra3322 7 месяцев назад
They logically && physically shard the data to multiple clusters and each cluster has multiple nodes, that is how they scale
@arishtajain8372
@arishtajain8372 4 месяца назад
They use distributed databases to scale, for eg. Cassandra, Yugabyte DB, which are specially designed to handle scalability. Distributed databases abstract the entire process of sharding, but internally the data is spread across multiple nodes (known as a cluster).
@tarunkundhiya5196
@tarunkundhiya5196 Год назад
Great video !! Awesome explanation without any confusion!
@ConceptandCoding
@ConceptandCoding Год назад
Thank you
@motivation_hubPJ
@motivation_hubPJ Год назад
Thanks for the video really nice explaination
@ConceptandCoding
@ConceptandCoding Год назад
Thank you
@praveenkrdas72
@praveenkrdas72 Год назад
Great work Shrayansh.Keep Posting such an Informational videos like these 😍😍🤩🤩🥰🥰
@ConceptandCoding
@ConceptandCoding Год назад
Thank you, pls do share it with your connections 🙏🙂
@rhythmjayee9707
@rhythmjayee9707 Год назад
TBH I did not find any video on YT this detailed. Thanks🙇‍♂
@ConceptandCoding
@ConceptandCoding Год назад
Thanks
@Peaceinhills
@Peaceinhills 5 месяцев назад
Brother go for computer science 6 sem syllabus you will find everything on RU-vid
@AnkitaMishra-e1i
@AnkitaMishra-e1i Год назад
Hi Shreyansh, The video content is great. Thank you very very much. Do we by any chance have short notes for the videos so that we can go through quickly once again when required.
@ConceptandCoding
@ConceptandCoding Год назад
I haven't saved it buddy sorry
@deepakphul7585
@deepakphul7585 Месяц назад
Happy Teachers day, Shreeyansh
@suryakantsoni8809
@suryakantsoni8809 Год назад
Lovely content Shreyansh, keep up the good work.
@ConceptandCoding
@ConceptandCoding Год назад
Thank you
@arabazsoudagar4566
@arabazsoudagar4566 2 месяца назад
Bro membership hata do na
@VibewithRax
@VibewithRax Год назад
NoSQl supports advanced custom queries as well,eg via N1QL queries in couchbase/mongodb
@beyondtheordinary3160
@beyondtheordinary3160 5 месяцев назад
Hey Shreyansh, What kind of DB will be best for saving a 2D array in databse? and how to save the array to effective retrieval. I'm looking for solution to store data for a board game like mindsweeper
@abhijeetkarmakar7792
@abhijeetkarmakar7792 3 месяца назад
Use sql with two columns as x and y and ... and x,y should be indexed as you are going to query most of the time based on their values
@shubhamarora7966
@shubhamarora7966 9 месяцев назад
Thank you so much for great content.
@charan7240
@charan7240 Год назад
bro, can you please continue the lld (suggestion), you made best content for lld in youtube, for hld there are many resources ( hld content is also good).
@ConceptandCoding
@ConceptandCoding Год назад
Hi Charan, sure, I have to switch between HLD and LLD, as need to cover both.
@LavikshaSoni
@LavikshaSoni Год назад
Please create notification system design (like facebook events) if possible
@ConceptandCoding
@ConceptandCoding Год назад
Noted
@suheabkhan2546
@suheabkhan2546 Год назад
Great video !!
@ConceptandCoding
@ConceptandCoding Год назад
Thank you
@SatyamKumar-bw4vi
@SatyamKumar-bw4vi 10 месяцев назад
Hare Krishna Bhaiya..! I will make a post on LinkedIn & tag you there. Amazing content..!!!!
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Hare Krishna, thanks a lot 🙏
@pramodkrverma8092
@pramodkrverma8092 Год назад
Thank you🥰
@ConceptandCoding
@ConceptandCoding Год назад
You’re welcome 😊
@harshalgarg9656
@harshalgarg9656 Год назад
What is difference between document and column wise db? as column , value is same as key value
@ConceptandCoding
@ConceptandCoding Год назад
As per my understanding, Column wise mostly efficient when there are more read than write one reason for this is their have fixed format. While Document structure is very complex compared to column, I mean we can have documents within documents like that, so efficient read is not that great here.
@harshalgarg9656
@harshalgarg9656 Год назад
Thanks. But then if column wise has fixed structure then is it like sql which can be shareded and with base property instead of acid?
@anupampandey3758
@anupampandey3758 7 месяцев назад
Nice, but why the key value store video is members only?
@ConceptandCoding
@ConceptandCoding 7 месяцев назад
interview questions solution, is available for members only buddy
@ThePomelo09
@ThePomelo09 Год назад
awesome ty!
@ConceptandCoding
@ConceptandCoding Год назад
Thanks 😊
@harshalgarg9656
@harshalgarg9656 10 месяцев назад
bhaiji how to handle concurrency in Nosql? Say to update request to a document at same time
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Optimistic and Pessimistic locking applicable for NoSql too. I have covered Concurrency Control in the later part of this HLD playlist, do check out. But i have covered specifically from MYSQL perceptive, but same Locking techinque applicable for NoSQL with minor change. i will cover in separate video
@harishaseri
@harishaseri Год назад
In sql nature , you mentioned that if you have 10 column then all of them will be present on the same server , what if we do vertical Sharding , in that case 5 column is present on one server and rest 5 will be on another right ?. correct me if I am wrong
@ConceptandCoding
@ConceptandCoding Год назад
Vertical Sharding means increasing more spaces. Do you mean horizontal Sharding?
@harishaseri
@harishaseri Год назад
​@@ConceptandCoding I think there is a little confusion here . Sharding is an implementation of Horizontal scaling and this can be Horizontal Sharding or vertical Sharding . correct me if I am wrong.
@harishaseri
@harishaseri Год назад
@@ConceptandCoding I think vertical scaling is increasing more spaces right ?
@arishtajain8372
@arishtajain8372 4 месяца назад
It is not entirely correct to say that SQL databases cannot be used when high availability and high performance are required. Distributed databases like Cassandra, Google Spanner are designed to scale SQL databases and offer high availability by replication, redundancy, and failover mechanisms. The most important determinant is the kind of data to be stored, and the relationship between the data. Modern day software solutions offer scalability options for both SQL and noSQL databases.
@BeyondTheFamiliar_2023
@BeyondTheFamiliar_2023 Год назад
Few videos are showing locked, why? How will I complete the playlist then? for eg, key value store video is locked. Is there any membership to access it? If not please make it accessible to everyone.
@ConceptandCoding
@ConceptandCoding Год назад
Yes some are member only videos buddy.
@mridul1075
@mridul1075 Год назад
sir can i access member only content by choosing join for appreciation option...ie 59 rupees?
@ConceptandCoding
@ConceptandCoding Год назад
with 159Rs one JAVA playlist will get open and Rs199 everything LLD, HLD and JAVA get open.
@hariommewada3768
@hariommewada3768 9 месяцев назад
hey shreyansh you have done marketiing by telling that your vedios are free. but you have made most important vedios private.
@amitbansal7754
@amitbansal7754 4 месяца назад
True bhai. Sabko paisa chahiye.
@PradeepKumarIIITD
@PradeepKumarIIITD Месяц назад
bhai 20k ka course 199 m mil rha h karlo and padhlo and aage badho thank him later.
@PradeepKumarIIITD
@PradeepKumarIIITD Месяц назад
@@amitbansal7754 netflix ko nhi bola bhai apne ye..
@amitbansal7754
@amitbansal7754 Месяц назад
@@PradeepKumarIIITD I have no problem in him selling his courses. He is devoting his time and putting in effort so he should get money for this. But the point stands that he was marketing the course as free and now making it as paid for the essential videos required to understand system design. He could've simply created a v2 with better or more content and marked it completely as paid rather than making most of the videos of the current course for members only.
@happygamerroe8072
@happygamerroe8072 Месяц назад
Dude why have you made these important videos in the series private. Can you please make them accessibile to everyone. Thanks
@niharikavallambatla8301
@niharikavallambatla8301 Год назад
@Concept && Coding i payed for membership two days back. still iam unable to access members-only videos
@ConceptandCoding
@ConceptandCoding Год назад
To access the playlist you need "unlock LLD, HLD and Java" membership access buddy
@harshitagarwal2682
@harshitagarwal2682 3 месяца назад
👍👍
@princeraheja8737
@princeraheja8737 Год назад
15:29 Previous video is only for members only , thats very sad.
@VIJAYMAMORIA-c8m
@VIJAYMAMORIA-c8m 5 месяцев назад
You can turn sadness to happiness just by paying 200Rs for a month.
@tanvighildiyal8068
@tanvighildiyal8068 Год назад
Nice video, I want to participate in Tata Steel TomorrowLab challenge, can u please make a video on that. I heard they are giving good prizes.
@Prashantkumar-pn6qq
@Prashantkumar-pn6qq Год назад
First view :)
@ConceptandCoding
@ConceptandCoding Год назад
Hope you find the content useful
@Prashantkumar-pn6qq
@Prashantkumar-pn6qq Год назад
@@ConceptandCoding Yes, sure i did!
@Traveler99
@Traveler99 Год назад
Hi Shreyansh can you please help me get referral in PayPal.
@HA-ky5vd
@HA-ky5vd 4 месяца назад
kyun tu uksa rishtedar lgta hai, jhaatu ?
@mrprime557
@mrprime557 Год назад
i love u nature preet singh ....
Далее
SQL vs NoSQL | What's the Difference?
5:55
Просмотров 60 тыс.
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
Просмотров 1,1 млн
Flipping Robot vs Heavier And Heavier Objects
00:34
Просмотров 36 млн
САМАЯ ТУПАЯ СМЕРТЬ / ЧЕРНЕЦ
1:04:43
WHICH SODA CAN FLY THE HIGHEST?
00:48
Просмотров 8 млн
Database Sharding and Partitioning
23:53
Просмотров 90 тыс.
Which Database Model to Choose?
24:38
Просмотров 57 тыс.
Systems Design in an Hour
1:11:00
Просмотров 14 тыс.
Introduction to NoSQL databases
26:18
Просмотров 779 тыс.
The Birth of SQL & the Relational Database
20:08
Просмотров 203 тыс.
ТИПИЧНОЕ ПОВЕДЕНИЕ МАМЫ
00:21
Просмотров 1,1 млн