Database Indexing for Dumb Developers

  Переглядів 35,204

Laith Academy

Laith Academy

3 роки тому

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

КОМЕНТАРІ: 44
@brianfan715
@brianfan715 9 днів тому
BEST Indexing explanation video on UKposts
@jay_wright_thats_right
@jay_wright_thats_right 2 дні тому
It's good but it's not the best on UKposts. 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.
@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 10 місяців тому
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).
@futhedude4848
@futhedude4848 9 місяців тому
recap: 7:08 full table scan 12:26 binary search 13:56 we shouldn't add index at everything
@hiteshsuthar1097
@hiteshsuthar1097 2 роки тому
Now i understand this system design term... Please make more videos on cool stuffs like this.
@stratboy2
@stratboy2 4 місяці тому
Finalyy a tut that really explains what indexes are... The only one till now. Than you!
@satyajeetsahu5270
@satyajeetsahu5270 2 місяці тому
This video explained indexing so simply that I can't forget it ever!!!
@futhedude4848
@futhedude4848 9 місяців тому
Great explaination, can you do B-tree and Hash in DB Indexing?
@javohir307
@javohir307 2 роки тому
great tutorial bro, keep it up, good luck to your channel !!
@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
@hank91918
@hank91918 3 роки тому
whoa! fantastic lesson! More content please!
@MONTI2710
@MONTI2710 5 місяців тому
Hands down the best tutorial on index❤
@sarahharb6773
@sarahharb6773 3 роки тому
Super informational! Thank you.
@lukechopper22
@lukechopper22 2 роки тому
Very good tutorial. Thank you.
@user-fd3yr5eo4g
@user-fd3yr5eo4g 6 місяців тому
Very well explained. Thanks for that
@AndrewKlem
@AndrewKlem Місяць тому
This was so helpful. Thank you!
@sakshichadha9410
@sakshichadha9410 8 місяців тому
best video so far
@hiteshsuthar1097
@hiteshsuthar1097 2 роки тому
Now i understand this system design term... Please make more videos on cool stuffs like this. also Tsm
@victorhaynes508
@victorhaynes508 2 місяці тому
Wow you made this easy. Great video
@rokibulhasan2005
@rokibulhasan2005 Місяць тому
Quality lecture. Thanks...
@gadgetboyplaysmc
@gadgetboyplaysmc Місяць тому
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?
@dawid_dahl
@dawid_dahl 2 роки тому
Awesome, thank you.
@_indrid_cold_
@_indrid_cold_ 15 днів тому
Fantastic. Thank you very much.
@seriouslyiknowhowtoread
@seriouslyiknowhowtoread 3 місяці тому
Hands down best video
@stefankyriacou7151
@stefankyriacou7151 6 місяців тому
This was a solid explanation
@vodapramod
@vodapramod 2 роки тому
Laith, Please do a course on Database Please. Please. PLEASE
@als5321
@als5321 3 роки тому
can you do something like this for mongoDB?
@tymo3391
@tymo3391 2 роки тому
great tutorial!
@user-yj9vu2sd1b
@user-yj9vu2sd1b 4 місяці тому
Amazing!!!😍
@babayaga6871
@babayaga6871 Місяць тому
Thank you !
@eudaimonia2120
@eudaimonia2120 11 днів тому
Excellent🥳
@shivamtodwal9117
@shivamtodwal9117 10 місяців тому
Best video on Indexing
@hamed9327
@hamed9327 11 місяців тому
thank you so much
@ukaszkiepas57
@ukaszkiepas57 5 днів тому
thank you very much :)
@tpa3437
@tpa3437 2 місяці тому
Is this somehow how it works in Windows when it indexes files for file search?
@tamaratayler
@tamaratayler Місяць тому
You explained the unexplainable, that calls for the glock glock 3000
@mohammedg485
@mohammedg485 2 роки тому
i was watching happily till i read the title
@SB-ew4ve
@SB-ew4ve Рік тому
But you don’t have to call me dumb though this is already enough 😞
@manmeetkaur7130
@manmeetkaur7130 2 місяці тому
If i understand by this video, am i dumb ?
@zdravkobeykov
@zdravkobeykov 2 роки тому
I don't usually subscribe, but ...
@mannixd752
@mannixd752 14 днів тому
DUMP? Well,....
@overtonwindows
@overtonwindows 14 днів тому
As a dumb developer I must say I didnt understand.
@0sliter0
@0sliter0 2 місяці тому
I hate that you couldn't cut a wait from the animation...
How do indexes make databases read faster?
23:25
Arpit Bhayani
Переглядів 44 тис.
Learn Database Normalization - 1NF, 2NF, 3NF, 4NF, 5NF
28:34
Decomplexify
Переглядів 1,6 млн
Stray Kids "Lose My Breath (Feat. Charlie Puth)" M/V
02:53
JYP Entertainment
Переглядів 19 млн
😱СНЯЛ СУПЕР КОТА НА КАМЕРУ⁉
00:37
OMG DEN
Переглядів 1,8 млн
Major Components of an Integrated Strategic Plan
2:15:46
Basket One Consulting and Advisory Ltd
Переглядів 8
Database Indexing Explained (with PostgreSQL)
18:19
Hussein Nasser
Переглядів 286 тис.
Premature Optimization
12:39
CodeAesthetic
Переглядів 745 тис.
ACID Properties in Databases With Examples
4:57
ByteByteGo
Переглядів 74 тис.
Faster than a regular database index
13:39
PlanetScale
Переглядів 19 тис.
SQL Indexes - Definition, Examples, and Tips
12:14
Database Star
Переглядів 65 тис.
How To Choose The Right Database?
6:58
ByteByteGo
Переглядів 272 тис.
SQL Index |¦| Indexes in SQL |¦| Database Index
9:57
Socratica
Переглядів 601 тис.
Stray Kids "Lose My Breath (Feat. Charlie Puth)" M/V
02:53
JYP Entertainment
Переглядів 19 млн