Mysql Index Tutorial | [Simple Explanation] [2020]

Поділитися
Вставка
  • Опубліковано 7 лип 2024
  • In this video, we'll see how basic Mysql Index concept works. We'll see how Mysql B-Tree index concept works with a simple example.
    Power of Mysql Index: • Mysql Index Tutorial |...
    Mysql Index works similar to how an index in a Book works. Mysql Indexes stored indexed column data in a separate storage in an Ordered List. When we search for a value, Mysql searches in the index column using the B-tree concept.
    Mysql B-tree index works by first checking the middle value in the ordered indexed column, if the value is greater, it will continue to search on the right side of the column. If the value is lesser than the the middle value, it will search to left of the column. This method of search continues till it matches the value. This way, indexed columns need not scan all the rows of the table.
    SUBSCRIBE: / @technotrax
  • Наука та технологія

КОМЕНТАРІ • 57

  • @davidbierman5717
    @davidbierman5717 2 роки тому +7

    Perfect explanation. The index converts a linear search O(n) to a binary search O(logn).

  • @nelsonalva
    @nelsonalva 3 роки тому +30

    So sad you stopped making videos. Your explanations are so clear. You should have much more subscribers. Thanks for everything.

    • @gattoalaparato
      @gattoalaparato 3 роки тому +3

      The King that everyone needs but we don't deserve...

  • @growtogether8014
    @growtogether8014 Рік тому +4

    This is exactly what I was searching for. So, in layman terms it creates a new table with column on which index has been created and memory pointer locations of each associated record. Then it sorts it and applies the Binary search algorithm to search the requested column value and there by fetches the associated pointer location, which in turn takes us directly to that memory location and presents the record to user.

  • @myelibrary
    @myelibrary 2 роки тому +6

    This is a fantastic explanation of how MySQL indexes work , the key is how binary indexes work- great job

  • @mohdramees09
    @mohdramees09 2 роки тому +1

    The explanation was too good, better than others out there.

  • @legacyblob5385
    @legacyblob5385 2 роки тому +3

    I clearly understand this concept after watched your video. Clearly explained. ❤️

  • @Alexander-ns9yv
    @Alexander-ns9yv 2 роки тому

    The best explanation of MySQL indexes.

  • @colibri-n7g
    @colibri-n7g 2 роки тому +2

    Great explanation. Helped me to get how indices work. Thank you!

  • @__hazelnut
    @__hazelnut Рік тому +1

    This explanation is extremely clear. Thank you so much!

  • @urwashikeshari8148
    @urwashikeshari8148 3 роки тому +1

    I understand this concept very well only on this video thankyou

  • @slitheriotrollingman3101
    @slitheriotrollingman3101 3 роки тому +1

    this video is so clear, many many thank u

  • @clickbaitpolice9792
    @clickbaitpolice9792 3 роки тому +1

    the book analogy was crispy

  • @dehumanizer668
    @dehumanizer668 2 роки тому +1

    Exactly what I needed. Thanks for both the videos. 😄👍🏼

  • @vasurupolia9481
    @vasurupolia9481 Рік тому +1

    What an explanation! Too good.

  • @SanjayKumar-un7xf
    @SanjayKumar-un7xf 2 роки тому +2

    Excellent explanations !

  • @CarlLovesTopps
    @CarlLovesTopps Рік тому

    Fantastic video. Really helped me conceptualize how Indexing works.

  • @ujwalakuramdasu9533
    @ujwalakuramdasu9533 2 роки тому

    Sir, Crystal clear explanation.

  • @kirikcritic3769
    @kirikcritic3769 3 роки тому

    Thanks for the effective example!

  • @geniushomwetv9793
    @geniushomwetv9793 11 місяців тому

    Straight forward thank you

  • @ps5clipx
    @ps5clipx Рік тому +1

    Thank you for this

  • @thoughts2313
    @thoughts2313 5 місяців тому

    Excellent explanation . God bless !!

  • @achmadjulian741
    @achmadjulian741 Рік тому

    Clear explanation, Thank you!
    4:40

  • @spuckhafte
    @spuckhafte Рік тому

    omg, it was so neat!

  • @smikkelbeer7890
    @smikkelbeer7890 2 роки тому

    Thank you. Very good explanation.

  • @theodoregolob4191
    @theodoregolob4191 2 роки тому

    Thanks for the explanation and video. I appreciate it very much!

  • @meocute6807
    @meocute6807 3 роки тому

    Great video. Thank you so much

  • @kanipanama
    @kanipanama 2 роки тому

    the best explanation. thanks :)

  • @shreyaslakshminarayan1683
    @shreyaslakshminarayan1683 3 роки тому +10

    Great video! Really well explained.

  • @theidanking
    @theidanking 10 місяців тому

    Great video, explained very good!

  • @heshamghoniem4604
    @heshamghoniem4604 2 роки тому

    thanks for the great and simple explanation :)

  • @mislavcrnkovic2352
    @mislavcrnkovic2352 2 роки тому

    Fantastic explanation! Please create more content

  • @amrextracoding
    @amrextracoding 27 днів тому

    An AMAZING explanation.
    it was really helpful.
    Thanks for great efforts

  • @anthonyviniciusdossantosmu3062
    @anthonyviniciusdossantosmu3062 3 роки тому +2

    best video I found about the subject

  • @huboohubert5299
    @huboohubert5299 Рік тому

    Thanks! :)

  • @anurajms
    @anurajms Рік тому

    thank you

  • @lorettashekleton5868
    @lorettashekleton5868 Рік тому

    That was a perfect explanation - many thanks

  • @azizbekkhushvakov2407
    @azizbekkhushvakov2407 2 роки тому

    Great video

  • @greenzone1127
    @greenzone1127 3 роки тому

    Thanks alot

  • @ayushgairola5570
    @ayushgairola5570 3 роки тому

    make a video on clustered and non clustered index too.
    awesome videos

  • @el_joker_2243
    @el_joker_2243 4 місяці тому

    thanks alot

  • @fineas4
    @fineas4 Рік тому +1

    This has to be standard solution for sql querries, to be done automatically by the database software you use

  • @nikhilchhabra4564
    @nikhilchhabra4564 3 роки тому

    short and crisp.

  • @mrx-qi8th
    @mrx-qi8th 2 роки тому +1

    Hi thank you for ur amazing video
    It really helped and i really appreciate it
    But do you plan to make video for other indexes?unique fulltext?
    I mean i got the idea but i wanna know would new memory still be allocated for unique index?
    And how unique index inbmemory work cuz its no longer about sorting offcourse
    Could you plz make a video on that

  • @narendrasingh-di8tl
    @narendrasingh-di8tl 2 роки тому

    awesome

  • @fridayfirstshowtamil5177
    @fridayfirstshowtamil5177 Рік тому

    Can u please...Upload a video for Keys...ur Awesome..really

  • @jessadelacruz2079
    @jessadelacruz2079 3 роки тому

    So, we need to create indexes to all columns that will be using as filter or category, right?

  • @abd_el_ouahab3824
    @abd_el_ouahab3824 3 роки тому

    thanks too much

  • @ltybc425
    @ltybc425 Рік тому

    Can you get access to that index table from MySQL console? Where is this B-tree stored?

  • @InfantTree
    @InfantTree 2 роки тому

    This video is used to teach software engineering students in a dutch University

  • @karthicknk2827
    @karthicknk2827 2 роки тому

    Great, good explanation , can you explain for views, etc like this

  • @erensrtky
    @erensrtky 2 роки тому

    Great explanation, but i didn't understand how mysql orders that list by byte value though.

  • @umeshdangi123
    @umeshdangi123 2 роки тому

    thank you