Databases types: SQL, NoSQL, Column, Search, Key Value | System Design Tutorials | Part 6 | 2020

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 128

  • @sudocode
    @sudocode  Před 3 lety +26

    At 16:38, in the last point about non-relational DB towards the bottom right, read it as - "Different types of non relational DBs are used for different purposes". Thanks. Happy learning :)

    • @myspace9030
      @myspace9030 Před 11 měsíci

      Mam can we use posgress json data type for unstructured data

  • @zahid1909
    @zahid1909 Před 2 lety +6

    In a video when she told.."these are your homework." Like a primary class student my hand was extended unconsciously to grab a piece paper to write the home-tasks on it.
    Later, blissfully she retraced her order like a kind-hearted class-teacher who sometimes grants much loved breaks.
    Bless you, madam. You have a good flair for teaching.

  • @pranjalgusain21
    @pranjalgusain21 Před rokem +3

    This video is GOLD! Save her at any cost.

  • @jabraham08
    @jabraham08 Před 3 lety +17

    This channel is so good! thank you!

  • @sky_kryst
    @sky_kryst Před 2 lety +8

    Hey, thank you so much for being our source of knowledge on SDE. For a self-taught dev like me it is extremely helpful and understandable source before getting into heavy books. One small requests, I'm lazying my way out of this, just watching the videos and grasping the concepts. I can already tell I wont be able to retain all the information. Do you mind making notes or ppt of your points? I don't mind paying for this course from Udemy or something if notes are available.

  • @mostinho7
    @mostinho7 Před 2 lety +1

    Done Thanks for sharing your knowledge
    Types of non relational db
    Key value store
    Document db
    Column db
    Search db

  • @wonderweebwoman
    @wonderweebwoman Před 7 měsíci

    I started this playlist today and I am finding this to be better than a lot of standard materials that were previously suggested to me. I'll surely recommend this channel when asked. Thanks for the quality content!

  • @luispalacios27
    @luispalacios27 Před 2 lety +3

    This can be the best explanation I have seen for the differences between different kinds of databases. Awesome video.

  • @lordbadass4628
    @lordbadass4628 Před 3 lety +7

    Consistency - State of the database before and after the transaction should be maintained.
    This is different from the consistency in CAP theorem and it is not read consistency as you mentioned... Correct me if I'm wrong

    • @switchyard
      @switchyard Před 2 lety +1

      You're right. It's different. In acid, C means before or after transactions, the database integrity will be maintained. For example, your data will be always following constraints you put in there

  • @simranthadani8769
    @simranthadani8769 Před 3 lety +8

    I'm eagerly waiting for the next parts in this series. I have an assignment submission this week and your videos are extremely helpful. Keep creating! I hope you can upload the remaining parts FAST though :3 Thank you

    • @sudocode
      @sudocode  Před 3 lety +2

      Thanks Simran. Yes we will try to increase the frequency. We just don't want to compromise with quality that's why it's taking time. All the best with your assignment 😉🙂

  • @ninonazgaidze1360
    @ninonazgaidze1360 Před rokem +1

    Thanks so much! You are perfect! Everything was explained so simply and logically, just appreciated!

  • @sandeep-kool
    @sandeep-kool Před 10 měsíci

    Wow.. What a video... With lot of information and effective communication.. Thank you for sharing knowledge in youtube.. And the best part is you never asked for likes/shares..it will be informed decision from user.. All the best.. Keep doing like this , you ll be top youtuber..

  • @abhishekmehta2550
    @abhishekmehta2550 Před 2 lety +3

    Hi Mam, 1'st of all thank you very much for all this informative video that you are creating. Really really helpful. I am from NON IT Background and still i can understand all of this.
    Regarding Quiz : We will use search database like S3 or Buckets Beacuse it helps in storing the Audio/Video data.

  • @sujeetbadnale9441
    @sujeetbadnale9441 Před 6 měsíci

    God Has Blessed You Sister. Thank you for the videos especially for starting with absolute basics. It truly helps.😊

  • @rishabhmendiratta6799
    @rishabhmendiratta6799 Před 3 lety +2

    Hi Yogita thanks for the video, there is a minor review at 12:55 - 12:57 it should be heavy writes I think and not heavy reads while you speak. Just a suggestion 🙂

  • @abhinavjain8962
    @abhinavjain8962 Před 2 lety

    I really like that this quality of content which is highly structured is freely available on the internet on System designs. #50k

  • @jessicacabrera4978
    @jessicacabrera4978 Před rokem

    You have saved my life! Very clear explanation! Thank you, teacher! :)
    I'm from Brazil

  • @SachinKumar-qv8fj
    @SachinKumar-qv8fj Před 3 lety +6

    This series on system design I am hoping is going to be amazing and till now I found it amazing. Thanks for sharing your valuable content and knowledge with others, you are helping others to become a better Software Engineer. Can you please suggest a book on system design?

    • @sudocode
      @sudocode  Před 3 lety +1

      One of the books is mentioned i description. Also, planning a video for the same.

  • @rachanaramesh938
    @rachanaramesh938 Před 2 lety +1

    Clear and crisp explanation. Loved it!

  • @ajaytiwary5798
    @ajaytiwary5798 Před 3 lety +2

    First of all,I would like to say concept wise your video is quite good.One suggestion please slow down your pace.Video may be long,but if it is good,then I don't think any body will complain.But based on my experience ,I would like to appreciate you for your splendid video.Wish you all the best for your coming video.Thanks and Good Job!!!

    • @sudocode
      @sudocode  Před 3 lety +2

      Thanks a lot for such detailed and articulate feedback Ajay. I am working on my speed and hope can address this soon 😃. By the time, please consider watching the lectures on reduced speed so that you don't miss anything important in there. Happy learning 😀

  • @jksharma7
    @jksharma7 Před 7 měsíci

    In the beginning I was NOT sure But you delivered a well balance information. Thank you.

  • @usavedileb2201
    @usavedileb2201 Před 2 lety +7

    @yogita - Can you please double check your description of Column DBs. As per Martin Kleppman's book, Column DBs are mainly suitable for data warehouses where large amounts of data needs to be processed but useful information resides in only a few columns. However in your description you highlighted that Column DBs are suited for heavy writes and less reads. I am a little confused. Could you please clarify.
    Having said that, I am really impressed with your videos. You and your team have organized, simplified and presented the content in a highly structured way and easy to understand manner. Thank you very much for your work. I especially liked your video on consistent hashing, and also your analogy of types of DBs with types of rooms in buildings (in another video).

    • @versatilecraft
      @versatilecraft Před 2 lety +5

      Thanks for pointing this out. I checked too and columnar DBs are suitable for heavy reads and now I can't trust the entire course :/ I have trust issues.

    • @TheCuriousCurator-Hindi
      @TheCuriousCurator-Hindi Před 2 lety

      @@versatilecraft good issue to have in fundamentals knowledge.

  • @visionandimage5893
    @visionandimage5893 Před 2 lety

    Clear, Concise, Correct info. Thank you and thanks youtube for enabling people like you.

  • @ankurbhanot496
    @ankurbhanot496 Před 3 lety

    ap padate bht strict teacher jaise ho but end me smile bdi cute si dedete ho .... but thanks for using realy crisp and concrete videos. may be one more point. Relational DB are for faster writes and OLTP and non releation are for faste reads and OLAP.

  • @tahichy9169
    @tahichy9169 Před 2 lety

    Great explanation with a simplied manner. I request you to make another series for advanced topics on system design.

  • @SM-fp9uz
    @SM-fp9uz Před 3 lety +1

    Good explanation. Note: Scylla is a C++ rewrite of Cassandra.

  • @rohan8arora
    @rohan8arora Před 3 lety +1

    Very decent content. Really like this as a refresher course. Personally prefer the no non-sense approach to concepts. Thanks for this!

  • @samiranbanik1224
    @samiranbanik1224 Před 3 lety

    Loved the way u r explaining things with very simple examples which have resemblance with real world entities. Very nice teaching.Thnks a lot.

    • @sudocode
      @sudocode  Před 3 lety +1

      Thanks a lot for your appreciation Samiran 😊

    • @samiranbanik1224
      @samiranbanik1224 Před 3 lety

      @@sudocode Can u suggest how to learn system design as I have experience in machine learning and deep learning and little bit of data science in python.

  • @shivanshvish4879
    @shivanshvish4879 Před rokem

    Clean and crystal clear explaination, keep it up with this consistency.

  • @thesuburbanerrorist9727
    @thesuburbanerrorist9727 Před 3 lety +2

    At 12:52 for Column DBs you are saying column DBs when there's a requirement for heavy reads, at 13:35 video says Column DBs do not support huge number of reads, but they do support special kind of reads, I am a bit confused here.

  • @azimmalpekar9072
    @azimmalpekar9072 Před 2 lety +1

    This series is informative.

  • @soumyadipsaha8904
    @soumyadipsaha8904 Před 3 lety +1

    nice analogy of homes and databases

    • @sudocode
      @sudocode  Před 3 lety +1

      Glad you liked it Soumyadip

  • @manishamulchandani1500
    @manishamulchandani1500 Před 3 lety +3

    Really nice video, you have explained all kinds of DB with examples, applications and Pro-Con list in just 18 minutes 👍
    Regarding Quiz : I think for system like instagram where million of users are continuously posting, liking, commenting, uploading data in that case heavy write operation would be required. To read these frequent events join would be complex and slower. Also, Document Store can not be used as fixed structure is required for instagram to have organized read. I would request to talk about quiz answer in next video as it helps us to understand how to approach such questions.

    • @sudocode
      @sudocode  Před 3 lety +1

      Will definitely talk about quiz answers and instagram design, may be not in next video but soon enough. Make sure your subscribe to get to know about it. ;) Thanks for the good words.

  • @UECAshutoshKumar
    @UECAshutoshKumar Před 23 dny +1

    Thank you 👍

  • @Ashish__Pathak
    @Ashish__Pathak Před 2 lety +3

    Hi Yogita ,
    Is this HLD ??
    Can I take this video as reference to prepare HLD?

  • @rafatmunshi3572
    @rafatmunshi3572 Před 3 lety +1

    Superb! Really appreciate this concise introduction.

  • @AyushKumar-fk5lm
    @AyushKumar-fk5lm Před 2 lety +1

    Simply awesome!!

  • @niveditamestry3338
    @niveditamestry3338 Před rokem

    Ur explaination is very nice and easy

  • @talesbytejaswini
    @talesbytejaswini Před 3 lety +2

    I guess Column based No-sql db is used for instagram / image sharing platform .and since there can be so many results after we open search bar , so I think search db is also used.

  • @vrajdesai1097
    @vrajdesai1097 Před 2 lety

    your videos are really amazing!!!
    Please keep posting regularly.
    India needs more people like you.

  • @SatyamEdits
    @SatyamEdits Před 2 lety

    Hello maam..!! Very impressed with your teaching style and knowledge of the subject... things are getting clearer now.....

  • @AmitRajArtist
    @AmitRajArtist Před 3 lety

    Its great to watch thses contents. Thank u very much.

  • @anilkumar8753
    @anilkumar8753 Před 2 lety

    New MongoDB does have document field constraints and schema support now. Also transaction (ACID) support is available at document level (not at the fields level)

  • @sahilbadkul7130
    @sahilbadkul7130 Před 2 lety +1

    Wonderful explanation 😁☺️

  • @dalskiBo
    @dalskiBo Před 8 měsíci

    Fantastic video - thankyou.

  • @user-fq1fn9ht8z
    @user-fq1fn9ht8z Před 9 měsíci

    cool video)

  • @imranshaikh115
    @imranshaikh115 Před 3 lety

    Just
    Awesome, Keep it up good work Thanks a lot

  • @dplopezSioux
    @dplopezSioux Před 2 lety

    OMG Excellent! just like that

  • @shreneekpatil220
    @shreneekpatil220 Před 3 lety

    Very informative.. Thanks sudoCode.. Keep uploading ✌️

  • @saiprasad84
    @saiprasad84 Před rokem

    Can you please revisit your statement on columnar db's not being good with reads... IN MY HUMBLE OPINION, they are better at reads than writes

  • @justonegoodtrade
    @justonegoodtrade Před 2 lety +1

    Thank you so much!

  • @cooliospeep7047
    @cooliospeep7047 Před 2 lety

    Excellent, thank you.

  • @theotherside4338
    @theotherside4338 Před 3 lety +2

    I wish u taught us in college rather than abhay katiyaar sir 😀

  • @venkatraohyd
    @venkatraohyd Před rokem

    Good and useful. But you could have helped us to digest the columner db how it looks like. But thanks much

  • @subee128
    @subee128 Před 11 měsíci

    Thanks

  • @raghavddps2
    @raghavddps2 Před 3 lety +1

    My Answer to the Quiz
    For an image sharing system like instagram, I will prefer to use a database like Amazon S3, or GCP Buckets.

    • @sudocode
      @sudocode  Před 3 lety +3

      That's one of the most effective ways for image storage and distribution on global scale. :)

    • @raghavddps2
      @raghavddps2 Před 3 lety +1

      @@sudocode Hello Di , Thank you for the Awesome content. Learning about System Design is so much fun now, before this, I was completely lost in the ocean of so many system design videos. Thank you again!! Some days back I had an interview and in last round, interviewer asked me about Book My show system design and I was kind of blank, and Now I am slowly getting a feel, how to go ahead explaining approach, listing down requirements, talking about Database I will use, then the n tier architecture and so on. A big thank you again.

  • @ravirajkakade12
    @ravirajkakade12 Před 3 lety +1

    Your video are really awesome ... subscribed your channel...Thanks

    • @sudocode
      @sudocode  Před 3 lety +1

      Welcome to the fam. Thanks 😊

  • @arjundasgupta658
    @arjundasgupta658 Před 2 lety +2

    I think your explanation of Consistency for ACID is wrong. It should be - All constraints / validations should pass for a successful transaction. It is not same as Consistency referred in CAP theorem.

  • @sukhwinderrahal5116
    @sukhwinderrahal5116 Před rokem

    Great explanation

  • @teemrahb7612
    @teemrahb7612 Před 3 lety

    you teach very well ! thanks

  • @anuragsingh-nn5no
    @anuragsingh-nn5no Před 3 lety

    just try to answer quiz question please correct me if i am wrong
    columns DB would be the right choice because as you explained in the video that this kind db support heavy writes and special query and both the thing we need in systems like instagram.
    Thanks in advance waiting for the next video🙌.

  • @nikhilnambiar7160
    @nikhilnambiar7160 Před 2 lety

    Columnar db is used for heavy read or for heavy write usecase got confused?

  • @raghavenderkuppireddy7158
    @raghavenderkuppireddy7158 Před 11 měsíci

    Nice explanation

  • @rongalikrishna7723
    @rongalikrishna7723 Před 3 lety

    Superb videos

  • @joegoh1968
    @joegoh1968 Před 2 lety

    Nice job .. i am subscribing to it.

  • @sachinjohnsonchirayath8307

    Excellent explanation of DBs.
    Can different types of DBs be used for the same system in the backend?
    e.g. A device that stores user data and at the same time makes use of data sent by ioT device(fitbit) to run analytics in order to recommend a diet which dynamically changes depending upon the calories burnt. Can such a system make use of Relattional DB to store user data and Column DBs to store iOT data and changing preferences of user in the backend?

    • @imtiyazuddin6263
      @imtiyazuddin6263 Před 2 lety

      A system may/ will different databases for different user journey

  • @iamvishalbrahmankar
    @iamvishalbrahmankar Před 2 lety

    The lectures are awesome and really nice chanel to improve knowledge but if you change the presentation ppts will do better to understand and visualize

  • @priyankabadhani4574
    @priyankabadhani4574 Před 2 lety +1

    love you ma'am 😊😊

  • @ScrolltheNature
    @ScrolltheNature Před 2 lety

    Great Work !!

  • @sonisaloni2794
    @sonisaloni2794 Před 3 lety

    Good work sister! Keep it up :)

  • @vikaszv9591
    @vikaszv9591 Před 2 lety

    I thought document and key-value are same type databases .i.e. NOSQL like mongoDB. What's the difference then?

  • @fashionvella730
    @fashionvella730 Před 2 lety

    in reational DB clustering is very difficult

  • @Sksahu_123
    @Sksahu_123 Před 2 lety

    what u meant by heavy read and writes in document db databases

  • @shiwang789
    @shiwang789 Před 2 lety

    Elastic search are used by some companies as their primary datastore as well. If there are not much updates for example, in a e-commerce use case, elasticsearch is sufficient. Also, elasticsearch also ensures durability. Is there any reason why some companies do not use elastic search as their primary datastore?

    • @shivambansal5572
      @shivambansal5572 Před 9 měsíci

      elastic search is expensive and is used only for searching use cases

  • @srinathreddy8690
    @srinathreddy8690 Před 3 lety +1

    can we just stereotype(at high scale) like
    sql serves FinTech purposes and
    no sql serves all other purposes??

    • @sudocode
      @sudocode  Před 3 lety +5

      Not really. If fintech wants to store some analytical data or time series data or images, it might have to go with other data stores. Try to stereotype type of data, volume and how it will be written/read, that will give you pointers to choose right set of data stores.

    • @srinathreddy8690
      @srinathreddy8690 Před 3 lety +1

      @@sudocode Cool, but when I mentioned FinTech, I was talking about table that holds financial transactions (not the entire department, my mistake in framing my question).

  • @mangeshzile4888
    @mangeshzile4888 Před rokem

    Please suggest mongodb Resources

  • @adityagarg9806
    @adityagarg9806 Před 3 lety

    what database you suggest for ecommerce website like myntra???

    • @sudocode
      @sudocode  Před 3 lety +1

      Depends on use case. User data can be kept in relational database, logs can be kept in non relational and so on.

  • @likhithasharma
    @likhithasharma Před 2 lety

    Does KV stores support ACID properties?

    • @sudocode
      @sudocode  Před 2 lety +1

      Not really.

    • @sudocode
      @sudocode  Před 2 lety +1

      Some of them have started supporting transactions though

  • @ismile47
    @ismile47 Před 2 lety

    What about graph databases?

  • @keylazy
    @keylazy Před 2 lety

    A database being column based do not make it fast for read or write automatically. That's just the logical data structure a database exposed to developers, like an API. You won't expect an api being json formatted to be fast for read or write immediately, would you? There are some column based databases are fast for writes (I think that's why she made this conclusion), but they're not fast because of the logical data structure being column based.
    Hbase for example, a column based DB and it's fast for writes. However, the reason it is fast to write is because it is using memory buffer to store the data, and use a write ahead log that's also fast to write to avoid crashes. It flush to disk only every now and then. That's why its writes can be fast. Not because it is column based.

    • @sudocode
      @sudocode  Před 2 lety

      Thanks for sharing your knowledge. You are right. It’s the underlying storage structures that make column based or other data stores optimised for heavier reads or writes.

  • @ConsciousAwakeningByShiva

    Yogita - How to join your slack community, it's not getting searched by your name or sudocode

  • @dvskr1
    @dvskr1 Před 3 lety

    neo4j can be added

  • @wildpandorasbox
    @wildpandorasbox Před 3 lety

    Hi! Did you learn this in your job or you learnt ut out of curiosity?

  • @ramaseshannarasimha5192
    @ramaseshannarasimha5192 Před 3 lety +1

    I am 100th like

  • @theotherside4338
    @theotherside4338 Před 3 lety +1

    👍👍👍👍👍👍

    • @theotherside4338
      @theotherside4338 Před 3 lety +1

      I love the concept of u teaching in the same getup every time , u r gonna leave a long Lasting impact on your viewers 😎

    • @sudocode
      @sudocode  Před 3 lety

      Thanks for such kind words Anchal. 😀

  • @japanboy31415
    @japanboy31415 Před 2 lety

    nosql looks like json basically

  • @abhishekdhillon7110
    @abhishekdhillon7110 Před 9 měsíci

    This content doesn't touch some of the key topics. You haven't explained the factors that should be considered while choosing a DB. People need to know concepts like CAP theorem, horizontal scaling and various tradeoffs beyond what has been explained in this video in order to make a decision on DB choice in system design.

  • @yossischvetz
    @yossischvetz Před 2 lety

    damn she's good

  • @poojabhatia247
    @poojabhatia247 Před 2 lety

    I don't agree with the information you have shared for Column DB, a lot of people are watching and trusting you ma'am, please do a proper research before making videos. I hope you will take this feedback positively. Thank You. Column DD are not made for write intensive load because the data needs to be inserted in each column one by one.

    • @sudocode
      @sudocode  Před 2 lety

      Thanks for catching that. It can be an errata. If not, I will publish a correction. Videos are well researched but sometimes the delivery can contain errors. 🙂

    • @sudocode
      @sudocode  Před 2 lety

      blog.pythian.com/cassandra-use-cases/
      Please check this link. I have explained similar use case. You can share the time stamp you think a wrong claim has been made and also a resource to back up your hypothesis. Columnar databases like cassandra support use cases where writes are very high as compared to reads.