Database Design 39 - Indexes (Clustered, Nonclustered, Composite Index)

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ธ.ค. 2024

ความคิดเห็น • 183

  • @jw11432
    @jw11432 6 ปีที่แล้ว +84

    First 3 mins I got what I needed. Why are so many people averse to solid, clear examples? Phone book and book index very clearly defining how each index works. Thank you for this explanation, you are the man!

  •  2 ปีที่แล้ว +9

    Wow... we need more people like YOU in this world! - You actually KNOW what you are talking about, and WANT TO MAKE IT CLEAR to your audience. Man, THANKS! (I'm your new subscriber)

  • @derekthomas1623
    @derekthomas1623 7 ปีที่แล้ว +179

    Very clear explanations with great examples. Better than the college professors I pay for.

    • @codebreakthrough
      @codebreakthrough  7 ปีที่แล้ว +14

      Thank you very much! :)

    • @alungiletshangela3051
      @alungiletshangela3051 6 ปีที่แล้ว

      You can say that again dud

    • @scribbleguy3657
      @scribbleguy3657 4 ปีที่แล้ว

      i agree lol

    • @josecastanhas3497
      @josecastanhas3497 3 ปีที่แล้ว +2

      TRUE, i was looking at their power points for an hour with a friend and couldnt understand shit and now i understand it with just this video

  • @benreg5953
    @benreg5953 9 ปีที่แล้ว +112

    Bro...Yours is probably the best I could find so far. Good work !!

    • @HenrySpivy
      @HenrySpivy 6 ปีที่แล้ว

      agreed... and he didn't even have to use any fancy animations, just straight up used 2 books.

  • @rvscootin3457
    @rvscootin3457 7 ปีที่แล้ว +26

    P.S. The great part about this video is that I will NEVER again forget the difference between Clustered and Non-Clustered Indexes.

  • @krishanudev7573
    @krishanudev7573 7 ปีที่แล้ว

    mate, you give the most summarized, simplified and elaborated lecture in entire youtube database.

  • @MMABeijing
    @MMABeijing 8 ปีที่แล้ว

    Caleb, I have to comment one more time and tell you how impressed I am about your teaching style, I am impressed. Is it because I was brought in an area where teachers wrote on black-board? No it;s more than the noise of the chalk-piece, you just have a strange mix of enthusiasm, youth mixed with principled precision. Everybody is special but you are just a level higher, thank you!

  • @realjackofall
    @realjackofall 11 หลายเดือนก่อน

    It took me 4-6 videos before I landed on this one while trying to understand clustered and non-clustered indexes. This is all I needed. Thanks.👍

  • @shawnhu8150
    @shawnhu8150 3 ปีที่แล้ว +4

    Thanks so much man! Even after 6 years, your video is still the best out there

  • @JayeSonia
    @JayeSonia 8 ปีที่แล้ว +8

    These are great. I could see a whole series called "Caleb Explains Stuff" (seriously though, you nailed it on clustered indexes, as well as on normalization). Good job sir.

  • @MrTreshev
    @MrTreshev 8 ปีที่แล้ว +48

    The best explanation which I have ever seen. Thank a lot, man.

  • @GuitarreroDaniel
    @GuitarreroDaniel 4 ปีที่แล้ว +1

    Hands down to the best index explanation that I've ever seen in my life. Thanks Caleb!

  • @k333ys2
    @k333ys2 ปีที่แล้ว

    Maaaan this video is great! Took me 10 videos to understand this concept. Appreciate the knowledge being taught in a NON BORING WAY!!! Great job

  • @johnaugust6414
    @johnaugust6414 9 ปีที่แล้ว

    I have an interview later today and this topic will surely be a part of the interview. You are the best, thank you so much!

  • @LexKul
    @LexKul 7 ปีที่แล้ว +1

    Man, I've tried to understand this sh*t for three days now, and you explain it for like 13 minutes :) THANK YOU!

  • @ahmadbahrami9437
    @ahmadbahrami9437 4 ปีที่แล้ว +2

    I've been searching for the differences between Clustered and Nonclustered for half an hour and understood nothing until I watched your explanation. Thank you

  • @nigelmtb
    @nigelmtb 7 ปีที่แล้ว +2

    What everyone else said - excellent definitions and examples. I will be back for more as I am studying databases at the moment. You are doing a much better job than the lecture from a certain Irish university! (Yes, we have those. Don't mock!)

  • @munshiverma8990
    @munshiverma8990 6 ปีที่แล้ว

    I loved the analogy of the book index and a phone book to explain the Non-Clustered and Clustered indexes respectively. Good job dear Caleb!

  • @burropoco
    @burropoco ปีที่แล้ว

    This plain English explanation just made so much sense to my 40 odd year old brain. Thanks

  • @jbryant789
    @jbryant789 7 ปีที่แล้ว

    The best explanation I've seen re: cluster/noncluster. 1:42 says it all. Just got a new subscriber!

  • @siddharthj82
    @siddharthj82 9 ปีที่แล้ว

    very good video , your pronunciation is very clear..I am Indian and whenever I refer any tutorial I only understand around 75% of words because of accent, but in your tutorial I have not missed a single word..what a great crystal clear accent :) .........create more videos I am very bad in database :)

  • @jittenddra
    @jittenddra 5 ปีที่แล้ว +2

    clustered - Key are sorted
    unclustered - Key-value pairs are in a Hash Map

  • @amanriaz1769
    @amanriaz1769 6 ปีที่แล้ว

    Brilliant! You seem so young, still explained better than most old professors...

  • @JoaoRCastro5
    @JoaoRCastro5 5 ปีที่แล้ว +1

    This is the first video of yours that I watch and I have to say I really liked it.
    Thanks very much for the explanation.

  • @lexus99cl
    @lexus99cl 2 ปีที่แล้ว

    First video I've seen that finally explains this well. Must have seen about 7 or 8 ,still didn't have a clue until now. Thnx

  • @omarmiah7496
    @omarmiah7496 4 ปีที่แล้ว

    I wish all of my professors explained things the way you do, good work.

  • @MadForCs16
    @MadForCs16 4 ปีที่แล้ว

    One of the best explanations I have heard for a topic.

  • @ILoveMyFrau
    @ILoveMyFrau 9 ปีที่แล้ว +31

    Dude.. you are awesome!

  • @ink5473
    @ink5473 8 ปีที่แล้ว

    The best, I must have looked at 10 videos on this topic and you just nailed it
    1) video is not in 480p
    2) visual examples
    3) SQL explanation
    But how do you use them in a query SELECT statement?

  • @christophersanders7483
    @christophersanders7483 5 ปีที่แล้ว

    Great video great explanation. Better than anything I have seen. Explained and understood in seconds.

  • @SisiraSomaratne
    @SisiraSomaratne 9 ปีที่แล้ว +3

    You are a very good intelligent teacher.

  • @ladedadedaschlobonmeknob7850
    @ladedadedaschlobonmeknob7850 8 ปีที่แล้ว +9

    who needs college when we have CalebTheVideoMaker

  • @logarathinam1782
    @logarathinam1782 7 ปีที่แล้ว

    I run this complete day by just watching your video...And my book is nearby sleeping..lol..so helpful!!! THANK YOU...This is last video I watched today...I am ending my preparations with this...

  • @nthn135
    @nthn135 9 ปีที่แล้ว

    Best beginners explanation I've seen so far. Thanks man

  • @kunaldeokar6666
    @kunaldeokar6666 9 ปีที่แล้ว

    You are the worlds best teacher...

  • @merickax
    @merickax 5 ปีที่แล้ว

    Hi Caleb;
    You are honestly a very good teacher!

  • @robertpreston7272
    @robertpreston7272 2 ปีที่แล้ว

    Great video. This coupled with studying the syntax yourself is a great learning method. Very focused on the 'why?' of it all. Well done.

  • @davestorm6718
    @davestorm6718 2 ปีที่แล้ว

    best explanation - think "clustered index" as being "clustered" with the actual data(this is the way I had to think of it). Therefore, non-clustered would simply be a pointer to the actual data (it's NOT "clustered" with the data). funny, I've done DBs for 20 years and intuitively setup databases/relationships (hands on), but still get tripped up, now and then, on the theory (and lexicon) - as I found out the hard way in an interview.

  • @rajkaransingh4770
    @rajkaransingh4770 4 ปีที่แล้ว

    the best explanation ever I got on this topic

  • @oscararmandocisnerosruvalc8503
    @oscararmandocisnerosruvalc8503 5 หลายเดือนก่อน

    The best video ever created !!!

  • @surajkumarsingh4857
    @surajkumarsingh4857 ปีที่แล้ว

    Very nice explanation of Clustered and Non clustered index

  • @chanvanber9857
    @chanvanber9857 8 ปีที่แล้ว +9

    can't stop watching your Database related videos..you are the best I could find so far !

  • @petraslobodova4979
    @petraslobodova4979 2 ปีที่แล้ว

    Very good explanation, the only one I understood, did not get the one from my paid course.. thank you!

  • @chinmayravindran286
    @chinmayravindran286 9 ปีที่แล้ว

    Great video!
    1 small thing you missed : 05:52 forgot to add a "FROM " after SELECT and before WHERE.

    • @meetdave33
      @meetdave33 4 ปีที่แล้ว

      Bhavnao ko samjho!!

  • @mak.ak.uk.
    @mak.ak.uk. 4 ปีที่แล้ว

    I'm not a developer, but occasionally dabble in data analysis and database development.
    I always end up coming back here to get a primer on indexes. DON'T EVER REMOVE THIS VIDEO!

  • @harmonicaman79
    @harmonicaman79 8 ปีที่แล้ว

    Very good. I really like the comparison of the two metaphors of a book index (non-clustered) vs. a phone book (clustered). When you compared the two, it all clicked. Thanks!

  • @colinrhee98
    @colinrhee98 3 ปีที่แล้ว

    I find your educational videos extremely elucidating! Also, I love the traditional chalkboard setup!

  • @PurdueBrad61
    @PurdueBrad61 7 ปีที่แล้ว +1

    Great video! This really helps breakdown a somewhat complicated subject in a way that is easy to picture and understand. Thanks!

  • @beltek01
    @beltek01 4 ปีที่แล้ว

    amazing explanation..crisp precise and very easy to grasp

  • @lynndemarest1902
    @lynndemarest1902 6 ปีที่แล้ว

    Back in the olden days, news reporters and others used cross indexes that sorted the phone book by phone number -- so if you knew the number you could find out who it belonged to and what their address was.
    There was also an address index book, so you could get the phone number (and name) from the address.

  • @Max-my6rk
    @Max-my6rk 5 ปีที่แล้ว +1

    Wow subbed u need to do more advanced stuff on dB... like btrees hashing sorting query optimization

  • @ianchui
    @ianchui 4 ปีที่แล้ว

    LOL 4:34
    forEVER!!
    Great video! Very helpful, and I love this more relaxed style of lecture. Actually makes it fun to learn.

  • @ruiluo7848
    @ruiluo7848 8 ปีที่แล้ว +8

    Best tutorial I've ever seen! Thank you!

  • @htetmyomyint2365
    @htetmyomyint2365 7 ปีที่แล้ว

    Thank you for your explanation. I'm new to index although I knew about database. You explanation is clear and it's easily understandable by providing. examples.

  • @rikep.479
    @rikep.479 5 ปีที่แล้ว

    Thank you! You're a lifesaver. Best video about indexes I could find.

  • @dima8832
    @dima8832 3 หลายเดือนก่อน

    Very clear explanation ! Thank you

  • @hank91918
    @hank91918 4 ปีที่แล้ว

    excellent explanations, thanks Caleb!

  • @ganeshhegde4049
    @ganeshhegde4049 3 ปีที่แล้ว

    That was really well explained!

  • @awallaustin
    @awallaustin 6 ปีที่แล้ว

    most amazing explanation i've found thus far. thank you

  • @amacdougal1
    @amacdougal1 6 ปีที่แล้ว +1

    So well explained. Thanks mate.

  • @SiyamandRashid
    @SiyamandRashid 7 ปีที่แล้ว

    thanks a lot, now I know why use index and what is difference between clustered and non clustered index

  • @nehajaiswal21
    @nehajaiswal21 9 ปีที่แล้ว

    very simple explanation & to the point

  • @drpankaja369
    @drpankaja369 7 ปีที่แล้ว

    this is awesome .... superb explanation.. 😃😊👌👍👏✌ .... your tutorials special is, you explain the concepts with examples . it makes the students to get the practical
    knowledge ..rather than ... roaming around the books .... really good explanation.... it helped

  • @raghavkandubai7865
    @raghavkandubai7865 3 ปีที่แล้ว

    thank you, great explanation. keep teaching!

  • @godfathermikal
    @godfathermikal 5 ปีที่แล้ว

    Very good analogies. Spot on.

  • @mrginn
    @mrginn 6 ปีที่แล้ว

    You're such a great teacher. Thank you so much dude!

  • @hubertpiatek4805
    @hubertpiatek4805 6 ปีที่แล้ว

    Man.. absolutely amazing! Thanks a million. This is what I wanted to structure in my head for a long time shown in easy, friendly and funny way. Carry on! will go thru others

  • @angelriera4970
    @angelriera4970 8 ปีที่แล้ว

    always a simple and clear explanation. thanks man

  • @UpYours101
    @UpYours101 6 ปีที่แล้ว

    Great video, helped me understand quite a bit.

  • @Connie.346
    @Connie.346 7 ปีที่แล้ว

    very best video i have seen thus far

  • @shupesmerga4694
    @shupesmerga4694 4 ปีที่แล้ว

    the sound of the chalk ... ughhhhh ... I got goosebumps and I feel like my teeth are going to fall off but GREAT JOB MAN!

  • @hoonbae244
    @hoonbae244 7 ปีที่แล้ว

    This has been such a helpful explanation of indexes. Thank you so much!

  • @noahpineda3419
    @noahpineda3419 7 ปีที่แล้ว

    Keep it up! So easy to understand.

  • @rvscootin3457
    @rvscootin3457 7 ปีที่แล้ว

    Seriously!!! This is a great video! I love the simplistic analogies. AAA+++

  • @djnihal2
    @djnihal2 9 ปีที่แล้ว

    like everybody said.. job well done bro..

  • @robertgaudreau2520
    @robertgaudreau2520 5 ปีที่แล้ว

    Greatly explained, bravo.

  • @Yacoobee
    @Yacoobee 7 ปีที่แล้ว

    seriously you explain very well
    thank you for the video

  • @leoliu8546
    @leoliu8546 8 ปีที่แล้ว

    best DB tutorial Ever!!! Thanks a lot

  • @Zelakus
    @Zelakus 7 ปีที่แล้ว +2

    This is what i was looking for. Thanks bro 😁

  • @robertoenriquechavezrodrig731
    @robertoenriquechavezrodrig731 5 ปีที่แล้ว

    Awesome video bro, thank you so much! Much love to you from Innopolis, Russia :) Thursday, July 11th, 2019.

  • @niteshyadav2112
    @niteshyadav2112 5 ปีที่แล้ว

    1.Hi can you explain if i have table employee there is three col,empid,empname,address, if i use without index and with index which is more faster and why?
    2.cluster index and non cluster which index performance faster and why ?

  • @burnt3436
    @burnt3436 5 หลายเดือนก่อน

    this is actual gold

  • @NehaGupta-lf1sr
    @NehaGupta-lf1sr 8 ปีที่แล้ว

    Loved the explanation . Thanks for clearing my doubts

  • @catsarereallycool
    @catsarereallycool 8 ปีที่แล้ว

    Excellent video. Thank you!

  • @ashokkumarjami3997
    @ashokkumarjami3997 8 ปีที่แล้ว

    Good work. Really appreciated.

  • @RandomVideos-ll6jz
    @RandomVideos-ll6jz 5 ปีที่แล้ว +1

    Caleb, I want to buy Database Design book, what book do you recommend?

  • @Ifeoma-v2s
    @Ifeoma-v2s 18 วันที่ผ่านมา

    Thanks a lot sir this was really helpful 😊.And to think I was struggling with something that easy all this while 😅

  • @komlanagbote7100
    @komlanagbote7100 2 ปีที่แล้ว

    Well I love this… Thank you sooo much

  • @fernandoarce804
    @fernandoarce804 ปีที่แล้ว

    Sublime explanation, thanks

  • @sangeetasahu4134
    @sangeetasahu4134 7 ปีที่แล้ว

    Very nice explanation. You are really great..

  • @hanneslpd5034
    @hanneslpd5034 6 ปีที่แล้ว

    You answered all my questions in the first three sentences :D

  • @data_dave
    @data_dave 7 ปีที่แล้ว

    this guy is the man

  • @Tattysnuc
    @Tattysnuc 7 ปีที่แล้ว

    Those are really great analogies - ref: Index vs a phone book- thank you for sharing :)

  • @pauldechampignon2287
    @pauldechampignon2287 5 ปีที่แล้ว

    Very well explained. Thanks

  • @karinaigolnikov3946
    @karinaigolnikov3946 8 ปีที่แล้ว

    It's a great video, but I wish you'd cover syntax. I need to know how to create/edit/delete an index.

  • @paolotin6785
    @paolotin6785 5 ปีที่แล้ว

    Really helpful man! Thank you for this!

  • @chridal
    @chridal 9 ปีที่แล้ว

    You're awesome. Great teaching! Thanks!

  • @shingyau2
    @shingyau2 9 ปีที่แล้ว

    Interesting teaching, keep on!

  • @pavanpothuganti7627
    @pavanpothuganti7627 2 ปีที่แล้ว

    I have one doubt. Suppose we have employee table with columns ID , Name, Age, Gender. I have created clustered index on Age. Now I want to run a query1 (select * from employee where age='20' and gender='male') and query2(select * from employee where age='20' and gender='male')
    ;
    how it works??

  • @saintmark3979
    @saintmark3979 9 ปีที่แล้ว

    Thanks for your video buddy, I learn so much from that