Clustered and nonclustered indexes in sql server Part 36

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

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

  • @TopHatdudeman
    @TopHatdudeman 3 года назад +18

    Once again I have been saved by random indian guy on youtube. I am on my final interview at my dream job because of you. I really appreciate the help sir!

    • @arunjohny
      @arunjohny 6 месяцев назад

      Did you get the job?
      Tomorrow is my interview

  • @jurianbraham3386
    @jurianbraham3386 4 года назад +44

    Man!... you have taught me so much and it's not just the quantity but the quality of your content is priceless!

  • @kanyagudipati8605
    @kanyagudipati8605 9 лет назад +90

    Hi Venkat
    You are gifted and talented teacher. I think people who want to learn SQL they first open your videos.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад +32

    Thank you very much for taking time to give feedback. In the description of this video, I have included the link for ASP .NET, C#, and SQL Server playlists. All the videos are arranged in logical sequence in these playlists, which could be useful to you. Please share the link with your friends who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video. For email alerts, when new videos are uploaded, you may subscribe to my channel.

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

      Thank You! How do you highlight an entire line at once in sql server?

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

      @@abdullahmohammad5613 ctrl+shift+End key

  • @prateekrocks25
    @prateekrocks25 9 лет назад +4

    I got tired searching through internet to find a simple explanation clustered and non clustered index. And my search ended with this video. Couldn't expect better. Kudos !

  • @georgewu5512
    @georgewu5512 9 лет назад +17

    You are the best!! This is the easiest way to learn SQL that I have found. You are very clear, concise, and give real examples on how to use SQL. Thanks so much.

  • @Salty_Matter
    @Salty_Matter 4 года назад +12

    Many links, videos, teachers explain these concepts in such a complicated way, maybe because they want to show off their knowledge or intelligence by making it complicated and then explaining it.
    But you Venkat have made it so simple to understand and Digest, that I love watching all these videos. I think this world is a better place because of people like you who make complicated stuff easy.

  • @wenyizhang3942
    @wenyizhang3942 8 месяцев назад +2

    Thank you so much, your tutorial from 11 years ago still teaches me a lot!

  • @ChristianJensen-gu8ne
    @ChristianJensen-gu8ne Год назад +2

    This is the best explanation I've found so far for this subject. Thank you so much for all your tutorials, they've really help me a lot.

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

    Thanks.... Today first time I have been able to understand this topic... Properly.... Thanks a lot...u r a boon to students....

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

    You are generating lights in each home and family of a software guy... Because of Your explanation which we are living life right now... Thankyou so much.. Expecting many more videos from you

  • @Mr__B.
    @Mr__B. 2 года назад +3

    Brilliant explanation! I've read dozen of pages and still had question, but you explained everything in 15 minutes!

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

    One of the best explanation about indexes. For non clusters index Christian song book, songs are ordered alphabetical order wher you can find the page number of the songs. Since songs are printed in topic order.

  • @funjoyvlog
    @funjoyvlog 9 лет назад +71

    sir i think there is a mistake in slide on time 15:57 ,there should be ..the NON clustered index has to refer back to the table as u explained on 15:05 to 15:35

    • @asthatripathi9211
      @asthatripathi9211 6 лет назад +1

      thats what i thought

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

      I was about to mention the same. Thanks.

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

      I agree. It should be changed. I thought I was going mad...

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

      I did not catch the mistake, has that been fixed?

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  12 лет назад +2

    1. Yes, it is suggested to create a clustered index on a column that will be queries the most.
    2. The column in the where clause should be included in the index.
    3. SQL server uses unique index to enforce the primary key. So, if you already have a clustered index on a column other than the primary key, then a unique non-clustered index needs to be created on the primary key column to enforce the uniqueness.

  • @perfectgaming788
    @perfectgaming788 6 лет назад +1

    Best Explanation on RUclips by far. Great Job!

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

    it's the best tutorial for clustered index and non-clustered index I've ever seen. I can totally understand the definition through your lecture. thanks!!!

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад +12

    Yes, we can think it that way. Smart thinking. Thanks for taking time to leave your thoughts.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад +1

    Hi Kunal, the PPT's are available on my blog. You can find the link to my blog in the description of this video.

  • @shreyajaiswal81
    @shreyajaiswal81 12 лет назад

    Excellent explanation of the concept of how Indexes are used in SQL.
    Appreciate you sharing this video free for the entire community.

  • @rameshbevara3111
    @rameshbevara3111 10 лет назад +1

    This is a superb video which helps the people who doesn't have any idea about indexs

  • @schnitzle
    @schnitzle 10 лет назад +1

    That was so clear and easy to understand! I love seeing the examples of the actual sql code to create the clustered index table. Thanks so much :D

  • @manojpasumarthi
    @manojpasumarthi 7 лет назад +1

    Simply superb. I have been struggling to learn about this from long time & u made it clear with in 15 min.

  • @suchiravig
    @suchiravig 9 лет назад +1

    Dear Venkat,
    as usual, all your videos are very clear and to the point. THANK YOU so much for all your efforts to make this happen.

  • @anuragvashishtha6660
    @anuragvashishtha6660 11 лет назад +1

    Great explanation. I had a few issues with this topic so far, but your teaching has eliminated those doubts. The examples you consider are very easy to replicate and the way you describe is really awesome. Again a big thanks for the excellent work which you have undertaken.

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

    Excellent teaching sir!! Great ! my pranams to you

  • @sivakumar-cs4ji
    @sivakumar-cs4ji 11 лет назад

    Hi venkat, Thanku very much for this vedio,I have searched so many articals about non clusterd indexes but still not understood.But this day after watch u r video, I have been understood fully about indexes,and it would be helpfull to me to go furthure into sql.once again thanku very much

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

    Hello Venkat, great tutorials ! and You are such a great teacher !

  • @JATR1X
    @JATR1X 11 лет назад +4

    you're my favorite online programming tutor, thank you very much and keep it up, you help a lot of people!

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

    Love your way for clarification of the concepts..

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

    you clear the concepts of why and how both theory and in use case. This 7th video i watched on topic and finally understood the topic

  • @krismaly
    @krismaly 11 лет назад

    Differences were explained well. I enjoyed watching this video. I recommend to watch this video by anybody. Thanks

  • @priyankarora3461
    @priyankarora3461 8 лет назад +32

    Hi Venkat, In the differences slide, in point 2, could you please correct the statement "clustered index has to refer back to table" to "non clustered index has to refer back to the table." Thank you!

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

      Yes this statement is incorrect and is very misleading

  • @martingrey738
    @martingrey738 9 лет назад +2

    Mr Venkat im very impressed, that you made this videos. Thank you a lot, you are great guy.
    Greetings from Poland.

  • @krismaly
    @krismaly 11 лет назад

    I enjoyed watching this video and I would suggest others to watch since topic has been clearly explained and also at the end there is an interview question was mentioned, which I experienced in my interview. Thanks a lot for educating the community.

  • @sudhanshu7507
    @sudhanshu7507 8 лет назад

    lucid, clear and to the point! Learning is fun. Thanx and Regds. Sudhanshu

  • @hellofriend2012
    @hellofriend2012 10 лет назад +3

    My most favorite online tutor!!!!!!!!!!

  • @ganeshpoojary6753
    @ganeshpoojary6753 8 лет назад

    Can't find better explanation than this. Simple and understandable. Thanks a lot :)

  • @walidkadhim1337
    @walidkadhim1337 10 лет назад +2

    You managed to explain a subject that I really was struggling with. Thank you very much!!

  • @AshisRaj
    @AshisRaj 7 месяцев назад

    I was just wandering for this and my searching finished here. Thanks for the wonderful content Mr. Author. Best wishes

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

    As usual, this topic was well explained. Not all smart people can teach. Thank you, Venkat.

  • @prakashsarraff3393
    @prakashsarraff3393 9 лет назад +2

    Explained in the best possible manner.

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

    You are telling the thing for which we are looking . Excellent 👍

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

    Hey man , i never thought any one can explain this in clear and easy way . Thank youuuuuuuu

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад +1

    Hi Shiva, sorry for the delayed response. You are 100% correct. Thank you very much for offering to help answer questions posted by others. May I ask you for a favour. I want these tutorials to be helpful for as many people as possible. Please feel free to share the link with your friends and family who you think would also benefit from them. If you like these videos, please click on the THUMBS UP button below the video.

  • @phyllisthomas4464
    @phyllisthomas4464 8 лет назад

    Your explanation of clustered and nonclustered indexes was a GREAT help.

  • @Star-lighting-A
    @Star-lighting-A 5 лет назад

    Thank you for taking the time to explain this so clearly. Using your videos to support my SQL Server classes all the time!

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  5 лет назад

      Hello Rahiel - Thank you very much for the feedback. Means a lot. I have included all the SQL Server tutorial videos, slides and text articles in sequence on the following page. Hope you will find it useful.
      www.pragimtech.com/courses/sql-server-tutorial-for-beginners/
      If you have time, can you please leave your rating and valuable feedback on the reviews tab. It really helps us. Thank you. Good luck and all the very best with everything you are doing.

  • @tuelimishane
    @tuelimishane 11 лет назад

    Fantastic video my friend. I was struggling to understand this concept until I found your video. Well done! I owe you for creating this video.

  • @knubbigfluffigkatt3972
    @knubbigfluffigkatt3972 5 лет назад +1

    You explain stuff really well. Thanks for making me understand SQL.

  • @קרןלוי-ל8ש
    @קרןלוי-ל8ש 8 лет назад

    This tutorial is very helpful i've tried studying this but didn't completely understand the difference between the indexes , your examples really helped me understand thanx!

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

    especially you used a textbook as an example to explain the non-clustered index. really vivid and awesome!!!

  • @bernardwadding
    @bernardwadding 8 лет назад

    Fantastic explanation, couldn't really get to grips with indexing before watching this video, thanks very much for posting

  • @trinadhkadari1213
    @trinadhkadari1213 9 лет назад +2

    Thank you venka..for explaining in clear manner..

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

    Hi Venkat,
    very detailed explanation , it really helped me and cleared all my doubts. U r a gifted teacher.

  • @hrvooje
    @hrvooje 5 лет назад

    I always come back to your tutorials ...SQL, c#... Very easy to follow and good explanations by example. Thank you!

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

    Now only I got perfect idea about indexes. Thank you so much

  • @ventorero28
    @ventorero28 11 лет назад

    Thank you for dedicating the time to educate on this topic. its a very detailed and clear.

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

    great videos and explained in details, keep it up the good work as you are helping a lot people.

  • @Csharp-video-tutorialsBlogspot
    @Csharp-video-tutorialsBlogspot  11 лет назад

    Hi, it depends on the execution plan that is generated by the sql server. Hope this answers your question.

  • @breeze0n
    @breeze0n 10 лет назад +1

    Thank you so much for this video ! It explains the concept very clearly. Thanks a lot !

  • @TwinkleStar999
    @TwinkleStar999 5 лет назад

    All videos are superb..👌. Thanks a lot Venkat.

  • @TraxxStudios
    @TraxxStudios 9 лет назад +1

    Im pretty sure that couldn't be explained better. Thank you so much :)

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

    Thank you very much sir for u r kind information.This information is very useful to me..

  • @those1kidds
    @those1kidds 5 лет назад +1

    your videos are awesome man. You're a great teacher, and that's coming from another fellow teacher who is trying hard to find good SQL materials that actually teach the content well. Your videos are just that. Great job sir!

  • @di.vineapple
    @di.vineapple 9 лет назад +1

    Very clear, to the point. Thanks Venkat.

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

    Thankyou Venkat. we are so thankful for your videos

  • @dergimorka6126
    @dergimorka6126 5 лет назад

    hi venkat ,thank u very much for ur time and clear explanation about the clustered and non clustered index i been learn a lot of thing from ur video thanks again

  • @MahmutEKara
    @MahmutEKara 7 лет назад

    I really appreciate such content! It is amazing, please keep it up and be the one of the most awesome guys in YT!

  • @parijatbandyopadhyay8057
    @parijatbandyopadhyay8057 5 лет назад

    Venkat thanks for the lecture. it's very lucid and to-the-point.

  • @GauravSharma-rx7pl
    @GauravSharma-rx7pl 4 года назад

    Love your accent. Content is also top-notch.

  • @pankaushik
    @pankaushik 6 лет назад

    You explained well... thanks... finally I understood indexes 😊

  • @Jaipur-Green-Energy
    @Jaipur-Green-Energy 11 лет назад +1

    Thanks a lot, for this nice explanation of Clustered Index and Non-Clustered Index.

  • @sarikabiwalkar4037
    @sarikabiwalkar4037 7 лет назад

    Really nice explanation for clustered and non clustered indexes. Thank you Venkat Sir!

  • @Krishna-pk9up
    @Krishna-pk9up 5 лет назад

    Voice is so sweet . U seem to be so gentle and good....

  • @ibknl1986
    @ibknl1986 11 лет назад

    Thanks, the way you explained and video is really great, I understood the concept very clearly. Hope you keep making such great videos. Also I have subscribed to your channel after seeing your videos.

  • @rajivraghu9857
    @rajivraghu9857 9 лет назад +1

    Awesome! Very Clear n Crisp!

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

    was ignoring this video, as it was long, but after watching many videos, and reading articles, i came here, and my search is finally over.

  • @64090sayan
    @64090sayan 8 лет назад

    Thank you Kudvenkat sir...Awesome explanation...May God bless you..

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

    This was REALLY excellent!

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

    Brilliant explanation I have ever seen.

  • @YoeXCheneguein
    @YoeXCheneguein 9 лет назад +17

    Owww amazing explanation bro. it´s help me a lot, thanks you so much. :D

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  9 лет назад +2

      +YT LWT Thank you for taking time to give us your feedback. This means a lot. I am very glad you found the videos useful.
      Free Dot Net & SQL Server video tutorials to help you become a web developer
      ruclips.net/user/kudvenkatplaylists?view=1&sort=dd
      DVDs with all the videos and slides for offline viewing
      www.pragimtech.com/Order.aspx
      Slides and Text Version of the videos can be found on my blog
      csharp-video-tutorials.blogspot.com
      Tips to effectively use my youtube channel.
      ruclips.net/video/y780MwhY70s/видео.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ruclips.net/user/kudvenkat
      If you like these videos, please click on the THUMBS UP button below the video.
      May I ask you for a favor. I want these tutorials to be helpful for as many people as possible. Please share the link with your friends and family who you think would also benefit from them.
      Best Regards
      Venkat

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

    This is explained clearly and perfectly.

  • @tamilwargod
    @tamilwargod 11 лет назад

    very good video helped me with my mcipt sql 2008 , thanks bro fro your community offering

  • @Ex-Introverts
    @Ex-Introverts 3 года назад

    What a noble man 👏🏻

  • @malharjajoo7393
    @malharjajoo7393 8 лет назад +2

    More info for those interested -
    The keys of the index are internally stored as a structure ( B - tree ) that is associated with a table/view

  • @BoxerDogs
    @BoxerDogs 6 лет назад

    @4:02 you talk about inserting rows of data where the ID is out of sequence. You mentioned that the table in the data is stored in sequential order by the ID. But how does SQL do that?
    1. Does SQL do a sort on the ID field, after each row of data in the INSERT INTO statement?2. Does SQL insert all rows of the INSERT statement, then do a sort on the ID field?3. Does SQL insert each row of the INSERT INTO statement into the proper row of the table (thereby not using a sort on the ID field)?

  • @djb5255
    @djb5255 8 лет назад

    Great content. This and part 35 really helped a lot. Thank you!!

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

    Brilliant. Highly appreciate it!

  • @zheng-guangwang5112
    @zheng-guangwang5112 11 лет назад +16

    Hi, there might be a typo in the slide that summarizes the "Difference" between Clusterred and NonClusterred. Non clustered index has to refer back to the data table if the column is not found in the index. In the slide, it reads that clustered index has to refer back... is that correct?
    Thanks.

  • @shaileshgande3875
    @shaileshgande3875 5 месяцев назад +1

    There's a mistake at 15:58 point no.2
    "Because the non clustered index has to refer back to table"**

  • @anujnimkar2732
    @anujnimkar2732 7 лет назад

    Very clear explanation brother, thanks a lot!

  • @zoehyang
    @zoehyang 5 лет назад

    Now I finally undertand! Thank you Venkat

  • @krishnanaasevagar2345
    @krishnanaasevagar2345 6 лет назад

    Super super super super
    You are a genious
    Love you

  • @dhanaNehru
    @dhanaNehru 7 лет назад

    Clear Explanation. Thankyou so much!!!!

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

    Your explanations are great, THANK YOU for this quality content

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  4 года назад

      Hello Alm - Thank you very much for the feedback. Means a lot. I have included all the sql tutorial videos, slides and text articles in sequence on the following page. Hope you will find it handy.
      www.pragimtech.com/courses/sql-server-tutorial-for-beginners/
      When you have some time, can you please leave your rating and valuable feedback on the REVIEWS tab. It really helps us. Thank you. Good luck and all the very best with everything you are doing.

  • @christianeriksson7281
    @christianeriksson7281 8 месяцев назад +2

    Where are the index rows of a clustered index stored? Together with the data rows in the same data pages?

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

    This is great, thanks Venkat!

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

    Very good teaching. Can you post a playlist about advanced sql server.

  • @TheUndeservedlove
    @TheUndeservedlove 7 лет назад

    Enjoyed your presentation...Gratitude.

  • @jonathankun1
    @jonathankun1 11 лет назад +1

    Thanks..... from Peru.