8 Key Data Structures That Power Modern Databases

Поделиться
HTML-код
  • Опубликовано: 19 янв 2025

Комментарии • 94

  • @ByteByteGo
    @ByteByteGo  Год назад +16

    Subscribe to our weekly newsletter to learn something new every week: bit.ly/3JFtDUK

    • @vamsyrraju
      @vamsyrraju Год назад +2

      What software is used to create these presentations :)

  • @ejm110
    @ejm110 Год назад +6

    after a minute, I do not understand anymore but still watched because of simple cool animation and concise short explanation on each one.

    • @markgreen2170
      @markgreen2170 Год назад +1

      yes, each graphic is probably, at least a month of study ...for me at for me anyway, lol!

  • @jonathangamble
    @jonathangamble Год назад +232

    Would like to see more on how these are implemented!

    • @clem_grim
      @clem_grim Год назад +25

      I recommend the book "Database internals" for this

    • @alexgregory5583
      @alexgregory5583 Год назад

      This professor is amazing for explaining a lot of these: ruclips.net/video/aZjYr87r1b8/видео.html&ab_channel=AbdulBari

    • @ilonachan
      @ilonachan Год назад +2

      that'd probably be a whole lecture, and I'm here for it

    • @experiment0003
      @experiment0003 Год назад +1

      @@ilonachan That'd be more than a lecture. That would be a 4-month course, at the least! And that is assuming you have a solid handle on CS fundamentals and data structures.

    • @woolfel
      @woolfel Год назад +1

      like other commenter stated, that would be a multi-month course to get started. To really understand it each of the indexes and how to implement it efficiently, you'd have to spend 1-2 years. If you're short on time, one way to learn how to implement these is to read the source code for postgres, mongodb, cassandra, derby, or sqlite. You can look at the history of those files to see how the implementation evolved.

  • @samirelzein1095
    @samirelzein1095 Год назад +2

    Amazing job, concise, well presented, right to the point...

  • @ViktosB
    @ViktosB Год назад +12

    Amazing source of tech insights. Thank you for your effort.

  • @anuzis
    @anuzis Год назад +37

    Really appreciate the effort that goes into making these videos so concise and informative. Glad I found the channel & looking forward to your next episode!

  • @revenez
    @revenez Год назад +1

    Amazing visual representations, thank you!

  • @jinrivers9834
    @jinrivers9834 Год назад +1

    These animations are really awesome. I'm very curious about how they were created

  • @big6226
    @big6226 Год назад +2

    Thank you, sir
    Your presentation is great.

  • @chrisliewjy
    @chrisliewjy Год назад +2

    Amazing stuff as always

  • @boolve
    @boolve Год назад

    I live those graphics. Not boring to look at, when listening is boring.

  • @DigitalAlligator
    @DigitalAlligator Год назад +2

    Comment section as expected, all appreciated the wonderful work

  • @daydrivver2074
    @daydrivver2074 Год назад +3

    Gotta be honest your content is rock solid already ordered a copy of your book, can we get a video on the solid design pattern? Kinda like the way your animations explain these highly difficult to learn pattern. Thanks!

  • @DK-ox7ze
    @DK-ox7ze Год назад +31

    It will be great if you can come up with a video which maps use cases to DBs. Like which type of DB is best suited for which use cases? Covering popular DBs like RDBMS, Document DB, Key value, Column family DBs, colum oriented DBs, Map reduce, and so on.

    • @LawZist
      @LawZist Год назад

      He already did this kind of video ;)
      ruclips.net/video/kkeFE6iRfMM/видео.html

    • @faroukfaiz8396
      @faroukfaiz8396 Год назад

      He already did: "How To Choose The Right Database?".

    • @DK-ox7ze
      @DK-ox7ze Год назад +7

      @@faroukfaiz8396 Yes but it doesn't cover which database to choose for which scenario. He has only outlined the pros and cons of migrating to a new db

  • @Openspeedtest
    @Openspeedtest Год назад +7

    How do you animate your videos?
    Your animations are super cool!

  • @richardjohnson8009
    @richardjohnson8009 Год назад

    Very well presented! Thanks

  • @Pradeepch21
    @Pradeepch21 Год назад +2

    Please add detailed videos for these algorithms

  • @mpateltech4127
    @mpateltech4127 Год назад

    We would like see detail level video on each item….. with wonderful presentation

  • @ThePiyushD
    @ThePiyushD Год назад +2

    Like the animations you create. Can you share what tools you use ? Probably make a video on that :)

  • @dibll
    @dibll Год назад +2

    Would like to see more details on these data structures!

  • @erfannariman
    @erfannariman Год назад +3

    These video's are amazing, anyone got a clue which program is used to make them?

  • @Pikachu-oo5ro
    @Pikachu-oo5ro Год назад

    I wish your videos had 38 million views.

  • @ReflectionOcean
    @ReflectionOcean Год назад +4

    !. Skiplist (probabilistic data structure to implement a Sorted Set for efficient lookup, insertion and deletion) ~ B-Tree
    2. Hash index: key - hash function -> bucket
    3+4. SSTable + LSM Tree (NoSQL)
    5. B-Tree (Balanced Tree): Internal nodes to store keys and leave nodes to store actual data (DBMS)
    6. Inverted Index: word -> document (Elastic Search)
    7. Suffix Tree (Trie): search box
    8. R-tree

  • @sandybeaches
    @sandybeaches Год назад

    I LOVE your videos. This is blowing my mind. I'm even an app developer and security specialist and I've never heard of these data structures. This is why I subscribe to ByteByteGo.

  • @Cyberfoxxy
    @Cyberfoxxy Год назад

    Love the visuals

  • @MisFakapek
    @MisFakapek Год назад +2

    Nice one, but would really like to see some additional videos in this topic - potentially with more exotic algo and data structures.

  • @yoshiakisano3920
    @yoshiakisano3920 9 месяцев назад

    What kind of software was used to make the animation? so fascinating

  • @clef6167
    @clef6167 Год назад

    Skiplist, hash index, SSTable, LSM tree, B-tree, Inverted index, Suffix tree, R-tree

  • @hamodeyDooba
    @hamodeyDooba Год назад +2

    Great content
    What tools do you use to create this content and the animations
    Thanks❤

    • @catfishdiver2518
      @catfishdiver2518 Год назад

      I am interested in this as well. The Visual aspects of your presentations are just as insightful as your concise verbiage!

  • @mohammedesmail2655
    @mohammedesmail2655 Год назад

    Thank you. Can you tell what tool you are using to do this presentation 😊

  • @TruSktr
    @TruSktr Год назад +1

    Can you please cover r-trees and spatial databases? That would be awesome!

  • @SingaraveluS
    @SingaraveluS Год назад +1

    Great videos that helps me to understand and enables to further understand what my developers explaining to me. I am from financial services. Curious to know what animation tools are being used, will be useful for our financial services presentations.

  • @plasmaguy5
    @plasmaguy5 Год назад

    Awesome video thanks

  • @tomgates316
    @tomgates316 Год назад

    Would like to see info on hierarchical databases and the various implementations. HIDAM, HDAM, Logical Linking. How HDAM is a 1 I/O access.

  • @nkbuaa
    @nkbuaa Год назад

    would like to see videos on big data, like spark, hdfs, hive etc..

  • @rajvis16
    @rajvis16 Год назад

    Please do a video on inverted index

  • @sortof3337
    @sortof3337 Год назад

    Can you also make videos on wavelet trees?

  • @sumonmal009
    @sumonmal009 10 месяцев назад

    very important concepts

  • @pedrojesusrangelgil5064
    @pedrojesusrangelgil5064 Год назад

    Nice video! what about in memory databases like sap hana? thks for sharing!

    • @romannasuti25
      @romannasuti25 Год назад

      Those typically use modified forms of B-tree, R-tree, and structures like red-black trees commonly used as the memtable for LSMs. The in-memory approach either focuses on extreme OLTP performance like the SILO research database and resulting LineairDB embedded database by NTT Data, or in the case of SAP HANA, uses efficiently compressed in-memory columnar B-tree storage for blisteringly fast columnar reads for extremely fast-processing aggregations.

    • @romannasuti25
      @romannasuti25 Год назад

      Unless tied to the SAP ecosystem, I'd say stay away from HANA and use a more fitting system: A great open source fault-tolerant OLTP system like FoundationDB, YugabyteDB, or DGraph with modification streaming to a columnar fast-response OLAP system like Apache Druid, previously memory-only but now works on disk too.

  • @dianpriyambudi
    @dianpriyambudi Год назад

    Thank you! ❤

  • @reromsp
    @reromsp Год назад

    Looking for more videos from you on Data structures and Algorithm

  • @harirambj
    @harirambj Год назад

    Can you please explain all 8 Types in detail video

  • @cloudfumes7367
    @cloudfumes7367 Год назад

    Can u please create video how you do animations helpful for many you tubers

  • @bhadrakshbhargavaiiitt742
    @bhadrakshbhargavaiiitt742 11 месяцев назад

    I want to create my own DBMS. How can I go about it?

  • @sridevavkb
    @sridevavkb Год назад +7

    What ever it is we are happy.

  • @ksb2112
    @ksb2112 Год назад

    I would be interested in seeing what data structures graph databases such as Neo4J, etc. use.

  • @johannjohannes7214
    @johannjohannes7214 Год назад +2

    While this is a starting point to research those data structures, it's hardly more than that

  • @qsquared8833
    @qsquared8833 Год назад

    Which one is used in MS SQL? B-Tree?

  • @prasantkumar7693
    @prasantkumar7693 Год назад

    Thank you,👏

  • @Wingly113
    @Wingly113 Год назад

    Which category does the Vertica Analytic database falls into? And what do you think about the architecture of Vertica database? The concept of logical and physical schema in Vertica is truly unique and beneficial for performance and availability.

    • @romannasuti25
      @romannasuti25 Год назад

      Vertica, as far as I'm aware, uses a modified per-column B-tree setup along with bitmap indexes. The column orientation allows for efficient compression and resultant fast bulk reading for analytics workloads, but makes OLTP-type modification and access impractical. An attempt at an HTAP database on these same principles is SAP HANA, which increases the aggressiveness of compression with smaller "chunked" columns residing in memory with a Postgresql-like pending write hold which gets flushed during dips in workload or when many writes are pending on one chunk.

  • @gus473
    @gus473 Год назад

    👍 1,000th "Like!" Thanks! 😎✌️

  • @bazoo513
    @bazoo513 Год назад +2

    Well, you merely _mentioned_ those structures. You cannot call this "discussing" them.

  • @alquinn8576
    @alquinn8576 Год назад

    Al Quinn keeps his data in the best of all databases: MS Paint 🖌

  • @johnmancini3080
    @johnmancini3080 Год назад

    Does anyone know what software he uses to build these videos?

  • @Bob94390
    @Bob94390 Год назад +2

    I assume that these data structures are important. The presentation was almost useless, though; far too little was said about how to use these structures, what advantages they have, how they are implemented and so on.

  • @theVtuberCh
    @theVtuberCh Год назад

    No Hash Mapped Array Tries?

  • @llothar68
    @llothar68 Год назад

    And the implementation hell opens its gate once we can't use this structures in memory but have disk based representations.

  • @SreekanthVarma7
    @SreekanthVarma7 8 месяцев назад

    Awesome

  • @DK-ox7ze
    @DK-ox7ze Год назад

    Redis is a key value DB, so Hash index makes perfect sense. But I am wondering why Skip list is used in it?

    • @DK-ox7ze
      @DK-ox7ze Год назад

      @@sansmoraxz Why is sorting required when we can access key values in O(1) time?

    • @krajekdev
      @krajekdev Год назад

      Redis can hold a data structure (for example mentioned sorted under a key) and allows to operate on these data structures without downloading them. That is when other data structures come it, they implement the data structures(lists, sets etc).

    • @DK-ox7ze
      @DK-ox7ze Год назад

      @@krajekdev The values associated with a key are user defined, so it's up to the user to choose what data structure it wants in the key's value. Why should Redis dictate that?

    • @krajekdev
      @krajekdev Год назад

      @@DK-ox7ze Because we are talking about Redis data structures. As an example, take a look at the SADD command. It operates on a set (internal Redis data structure, not user-defined structure). Other commands operate on lists, hashes etc.

  • @gillall4828
    @gillall4828 Год назад +2

    10/10

  • @adorinadorin
    @adorinadorin Год назад

    I need more details. Here it is too short and shallow. Could be just a matrix instead without sacrificing content.

  • @jaime7295
    @jaime7295 Год назад

    Make a video of rtrees

  • @ivanborsuk1110
    @ivanborsuk1110 Год назад

    i doubt anything of this powers modern databeses
    database table is just unsorted array of c structs
    if you create an array of pointers to rows of table, you can qsort that array of pointers by writing appropriate comparators
    now you have indexes
    bsearch them
    thats all you need to have fun

    • @irrelevant_noob
      @irrelevant_noob Год назад

      That might've been the case some time ago, but the video seems to include cases like document storage and analysis, and high-volume tables (millions of rows)... Your approach doesn't seem to be able to handle those needs. 🤓

  • @kishoreytc
    @kishoreytc Год назад

    You don't have to flex like that.....

  • @developer_hadi
    @developer_hadi Год назад

    cool

  • @BronkoBanane
    @BronkoBanane Год назад +2

    Without use cases and time complexity comparsion the Video is useless:/

  • @kevinsmirnov264
    @kevinsmirnov264 Год назад +1

    useless

  • @Kyoz
    @Kyoz 10 месяцев назад

    🤍