Step-by-step guide to database indexes - Advanced SQL

Поділитися
Вставка

КОМЕНТАРІ • 4

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

    Great video

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

    Perfect video for indexes

  • @krikukiks
    @krikukiks 3 місяці тому +1

    10:00 How do I find that 7 though?
    7 is larger than 3 so I go right, 7 is larger than 5 so I go right again
    and 7 is larger than 6 but there is no leaf node, therefore row is not found
    I think the adding is done the same way we search, so it would be added to right of node 6 and then rebalanced if needed
    And probably that rebalancing is what takes most time? So if you're lucky the insert is fast but in some cases it is a bit slower?