Mysql Index Tutorial | [Simple Explanation] [2020]

Поделиться
HTML-код
  • Опубликовано: 8 фев 2025
  • 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

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

  • @nelsonalva
    @nelsonalva 3 года назад +34

    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...

    • @makarsh29
      @makarsh29 5 месяцев назад

      @@gattoalaparato om pho

    • @makarsh29
      @makarsh29 5 месяцев назад

      @@gattoalaparato om pho

    • @SiphoMkhwanazi
      @SiphoMkhwanazi 2 месяца назад

      I just subscribed now for the reasons you stated.

  • @davidbierman5717
    @davidbierman5717 2 года назад +7

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

  • @myelibrary
    @myelibrary 3 года назад +6

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

  • @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.

  • @justinabosco2763
    @justinabosco2763 4 месяца назад

    After watching 5 other videos, finally I understand what indexing is. Thank you

  • @mohdramees09
    @mohdramees09 3 года назад +1

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

  • @helalabboud2193
    @helalabboud2193 4 месяца назад

    To be honest
    I swear you are an amazing person
    And a creative teacher
    You deserve all respect 🙏
    I hope you continue creating useful videos

  • @Alexander-ns9yv
    @Alexander-ns9yv 2 года назад

    The best explanation of MySQL indexes.

  • @legacyblob5385
    @legacyblob5385 3 года назад +3

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

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

    This explanation is extremely clear. Thank you so much!

  • @kunaljain-l8l
    @kunaljain-l8l 2 месяца назад

    crisp explanation for a relatively difficult topic to understand/visualise

  • @colibri-n7g
    @colibri-n7g 3 года назад +2

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

  • @shreyaslakshminarayan1683
    @shreyaslakshminarayan1683 4 года назад +10

    Great video! Really well explained.

  • @vasurupolia9481
    @vasurupolia9481 2 года назад +1

    What an explanation! Too good.

  • @dehumanizer668
    @dehumanizer668 2 года назад +1

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

  • @clickbaitpolice9792
    @clickbaitpolice9792 3 года назад +1

    the book analogy was crispy

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

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

  • @anthonyviniciusdossantosmu3062
    @anthonyviniciusdossantosmu3062 4 года назад +2

    best video I found about the subject

  • @CarlLovesTopps
    @CarlLovesTopps 2 года назад

    Fantastic video. Really helped me conceptualize how Indexing works.

  • @SanjayKumar-un7xf
    @SanjayKumar-un7xf 3 года назад +2

    Excellent explanations !

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

    That was a perfect explanation - many thanks

  • @achmadjulian741
    @achmadjulian741 2 года назад

    Clear explanation, Thank you!
    4:40

  • @slitheriotrollingman3101
    @slitheriotrollingman3101 3 года назад +1

    this video is so clear, many many thank u

  • @ps5clipx
    @ps5clipx 2 года назад +1

    Thank you for this

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

    Excellent explanation . God bless !!

  • @urwashikeshari8148
    @urwashikeshari8148 4 года назад +1

    I understand this concept very well only on this video thankyou

  • @spuckhafte
    @spuckhafte 2 года назад

    omg, it was so neat!

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

    Great video, explained very good!

  • @ujwalakuramdasu9533
    @ujwalakuramdasu9533 3 года назад

    Sir, Crystal clear explanation.

  • @theodoregolob4191
    @theodoregolob4191 2 года назад

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

  • @fridayfirstshowtamil5177
    @fridayfirstshowtamil5177 2 года назад

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

  • @kirikcritic3769
    @kirikcritic3769 3 года назад

    Thanks for the effective example!

  • @smikkelbeer7890
    @smikkelbeer7890 2 года назад

    Thank you. Very good explanation.

  • @kanipanama
    @kanipanama 3 года назад

    the best explanation. thanks :)

  • @fineas4
    @fineas4 2 года назад +1

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

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

    Straight forward thank you

  • @mislavcrnkovic2352
    @mislavcrnkovic2352 3 года назад

    Fantastic explanation! Please create more content

  • @heshamghoniem4604
    @heshamghoniem4604 3 года назад

    thanks for the great and simple explanation :)

  • @meocute6807
    @meocute6807 3 года назад

    Great video. Thank you so much

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

    Thanks! :)

  • @mrx-qi8th
    @mrx-qi8th 3 года назад +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

  • @makarsh29
    @makarsh29 5 месяцев назад

    amazing

  • @azizbekkhushvakov2407
    @azizbekkhushvakov2407 2 года назад

    Great video

  • @ayushgairola5570
    @ayushgairola5570 4 года назад

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

  • @theDan_YT
    @theDan_YT 2 года назад

    thank you

  • @InfantTree
    @InfantTree 2 года назад

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

  • @ltybc425
    @ltybc425 2 года назад

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

  • @jessadelacruz2079
    @jessadelacruz2079 3 года назад

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

  • @karthicknk2827
    @karthicknk2827 3 года назад

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

  • @greenzone1127
    @greenzone1127 3 года назад

    Thanks alot

  • @erensrtky
    @erensrtky 2 года назад

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

  • @narendrasingh-di8tl
    @narendrasingh-di8tl 3 года назад

    awesome

  • @nikhilchhabra4564
    @nikhilchhabra4564 3 года назад

    short and crisp.

  • @abd_el_ouahab3824
    @abd_el_ouahab3824 3 года назад

    thanks too much

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

    thanks alot

  • @anurajms
    @anurajms 2 года назад

    thank you