Database Indexing for Dumb Developers

This video explains what happens under the hood when indexing a database and explains why it can lead to performance benefits.

Пікірлер: 52

  • @brianfan715
    @brianfan715Ай бұрын

    BEST Indexing explanation video on KZread

  • @jay_wright_thats_right

    @jay_wright_thats_right

    26 күн бұрын

    It's good but it's not the best on KZread. There are plenty of videos that all can be the BEST. You just understand this video because you lacked knowledge or understanding of words used in other videos.

  • @futhedude4848
    @futhedude484810 ай бұрын

    recap: 7:08 full table scan 12:26 binary search 13:56 we shouldn't add index at everything

  • @FreeTheFresh
    @FreeTheFresh Жыл бұрын

    This is far and away the best indexing video I have watched. Every other one barely goes into how indexing works under the hood, or use analogies that don't really make sense. Keep up the awesome content!

  • @Garentei

    @Garentei

    11 ай бұрын

    It’s not that accurate though. He used binary search instead of a B tree (though he did briefly mention it) but I think that misguides the viewer into thinking that’s also what is happening. It also fails to explain the importance of avoiding reading from disk (the whole point of using B trees over AVL or red black trees for example).

  • @stratboy2
    @stratboy25 ай бұрын

    Finalyy a tut that really explains what indexes are... The only one till now. Than you!

  • @santoshpoudel1853
    @santoshpoudel18535 күн бұрын

    i have looked up to many videos and just came across this detailed best explanation

  • @williamse.barreras.2325
    @williamse.barreras.2325 Жыл бұрын

    Study it tooo long ago, recently my boss put me on the spot with ‘what is an index in db’ haha. Now I know, thanks mate. Good video

  • @satyajeetsahu5270
    @satyajeetsahu52703 ай бұрын

    This video explained indexing so simply that I can't forget it ever!!!

  • @hiteshsuthar1097
    @hiteshsuthar10972 жыл бұрын

    Now i understand this system design term... Please make more videos on cool stuffs like this.

  • @MONTI2710
    @MONTI27106 ай бұрын

    Hands down the best tutorial on index❤

  • @javohir307
    @javohir3073 жыл бұрын

    great tutorial bro, keep it up, good luck to your channel !!

  • @futhedude4848
    @futhedude484810 ай бұрын

    Great explaination, can you do B-tree and Hash in DB Indexing?

  • @hank91918
    @hank919183 жыл бұрын

    whoa! fantastic lesson! More content please!

  • @gadgetboyplaysmc
    @gadgetboyplaysmc2 ай бұрын

    More on the performance hit of indices on WRITES. How does it work? Does it: A. Insert the new row in the TABLE (O(1)). Find where the index should be placed (O(logn)), insert it there (O(1)). Or does it: B. Insert the new row in the TABLE (O(1)). Query the whole TABLE again (constant). Sort it again (O(idk)). Save it in the index (O(1)). --- I'm guessing A, but I'm not even sure if that's possible lol. I guess the "finding where the index should be placed" would be the slow part and most likely it would be equivalent as doing the same SELECT query for that column as well? Since you mentioned that SELECT is O(logn): Essentially writes would be O(logn). Would that be, correct?

  • @sarahharb6773
    @sarahharb67733 жыл бұрын

    Super informational! Thank you.

  • @lukechopper22
    @lukechopper223 жыл бұрын

    Very good tutorial. Thank you.

  • @hiteshsuthar1097
    @hiteshsuthar10972 жыл бұрын

    Now i understand this system design term... Please make more videos on cool stuffs like this. also Tsm

  • @seriouslyiknowhowtoread
    @seriouslyiknowhowtoread4 ай бұрын

    Hands down best video

  • @user-fd3yr5eo4g
    @user-fd3yr5eo4g6 ай бұрын

    Very well explained. Thanks for that

  • @victorhaynes508
    @victorhaynes5083 ай бұрын

    Wow you made this easy. Great video

  • @AndrewKlem
    @AndrewKlem2 ай бұрын

    This was so helpful. Thank you!

  • @stefankyriacou7151
    @stefankyriacou71517 ай бұрын

    This was a solid explanation

  • @_indrid_cold_
    @_indrid_cold_Ай бұрын

    Fantastic. Thank you very much.

  • @vodapramod
    @vodapramod2 жыл бұрын

    Laith, Please do a course on Database Please. Please. PLEASE

  • @shivamtodwal9117
    @shivamtodwal911711 ай бұрын

    Best video on Indexing

  • @CheekySensei
    @CheekySensei10 күн бұрын

    Increase to 1.5x speed for smoother flow

  • @rokibulhasan2005
    @rokibulhasan20052 ай бұрын

    Quality lecture. Thanks...

  • @sakshichadha9410
    @sakshichadha94109 ай бұрын

    best video so far

  • @potaetoupotautoe7939
    @potaetoupotautoe793912 сағат бұрын

    my kind of content

  • @dawid_dahl
    @dawid_dahl2 жыл бұрын

    Awesome, thank you.

  • @als5321
    @als53213 жыл бұрын

    can you do something like this for mongoDB?

  • @tpa3437
    @tpa34373 ай бұрын

    Is this somehow how it works in Windows when it indexes files for file search?

  • @tymo3391
    @tymo33912 жыл бұрын

    great tutorial!

  • @AdrianAngeltveit-mr1nq
    @AdrianAngeltveit-mr1nq14 күн бұрын

    I have a program which is doing a lot of queries against a table. The problem is that the program is too slow, and it's updating many records. How can I speed it up? Can i index columns used in searches that is not getting updated? Or does indexing get slow eitherway if i update records in a table with indexed columns?

  • @babayaga6871
    @babayaga6871Ай бұрын

    Thank you !

  • @eudaimonia2120
    @eudaimonia2120Ай бұрын

    Excellent🥳

  • @user-yj9vu2sd1b
    @user-yj9vu2sd1b4 ай бұрын

    Amazing!!!😍

  • @tamaratayler
    @tamaratayler2 ай бұрын

    You explained the unexplainable, that calls for the glock glock 3000

  • @abdulhamedeid935
    @abdulhamedeid93516 күн бұрын

    what annotation app are you using

  • @ukaszkiepas57
    @ukaszkiepas5729 күн бұрын

    thank you very much :)

  • @mohammedg485
    @mohammedg4852 жыл бұрын

    i was watching happily till i read the title

  • @hamed9327
    @hamed932711 ай бұрын

    thank you so much

  • @MuhammadAli-fn4xb
    @MuhammadAli-fn4xb9 күн бұрын

    Awesome

  • @manmeetkaur7130
    @manmeetkaur71302 ай бұрын

    If i understand by this video, am i dumb ?

  • @SB-ew4ve
    @SB-ew4ve2 жыл бұрын

    But you don’t have to call me dumb though this is already enough 😞

  • @avinashsigarakanti8607
    @avinashsigarakanti86072 күн бұрын

    developers could have explained this in 5 mins in very much better way

  • @zdravkobeykov
    @zdravkobeykov3 жыл бұрын

    I don't usually subscribe, but ...

  • @mannixd752
    @mannixd752Ай бұрын

    DUMP? Well,....

  • @overtronwindows
    @overtronwindowsАй бұрын

    As a dumb developer I must say I didnt understand.

  • @mma-dost
    @mma-dost6 күн бұрын

    the title of the video is pretty much embarrassing to click on. Question to me : Am I Dumb ? No So dont click on the video.

  • @0sliter0
    @0sliter03 ай бұрын

    I hate that you couldn't cut a wait from the animation...