Clustered and nonclustered indexes in sql server Part 36

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 324

  • @TopHatdudeman
    @TopHatdudeman 3 роки тому +17

    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

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

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

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

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

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

  • @wenyizhang3942
    @wenyizhang3942 8 місяців тому +2

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

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

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

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

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

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

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

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

  • @rameshbevara3111
    @rameshbevara3111 10 років тому +1

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

  • @perfectgaming788
    @perfectgaming788 6 років тому +1

    Best Explanation on UA-cam by far. Great Job!

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

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

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

  • @arturoprepotente9837
    @arturoprepotente9837 3 роки тому +1

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

  • @sevendong7830
    @sevendong7830 3 роки тому

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

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

  • @alaasalameh8029
    @alaasalameh8029 3 роки тому

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

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

  • @phyllisthomas4464
    @phyllisthomas4464 8 років тому

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

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

  • @sudhanshu7507
    @sudhanshu7507 8 років тому

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

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

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

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

  • @AshisRaj
    @AshisRaj 7 місяців тому

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

  • @djjiang3718
    @djjiang3718 4 роки тому +1

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

  • @nimeshambalalpatel3032
    @nimeshambalalpatel3032 4 роки тому +1

    Excellent teaching sir!! Great ! my pranams to you

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

  • @ganeshpoojary6753
    @ganeshpoojary6753 8 років тому

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

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

  • @hellofriend2012
    @hellofriend2012 10 років тому +3

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

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

  • @קרןלוי-ל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!

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

  • @walidkadhim1337
    @walidkadhim1337 10 років тому +2

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

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

  • @decostarkumar2562
    @decostarkumar2562 3 роки тому

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

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

  • @hrvooje
    @hrvooje 5 років тому

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

  • @deeptinirwal9672
    @deeptinirwal9672 4 роки тому

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

  • @bernardwadding
    @bernardwadding 8 років тому

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

  • @krismaly
    @krismaly 11 років тому

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

  • @Novideosposted
    @Novideosposted 4 роки тому +1

    Love your way for clarification of the concepts..

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

  • @knubbigfluffigkatt3972
    @knubbigfluffigkatt3972 5 років тому +1

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

  • @prakashsarraff3393
    @prakashsarraff3393 9 років тому +2

    Explained in the best possible manner.

  • @telugudevotionalspeeches8971
    @telugudevotionalspeeches8971 2 роки тому

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

  • @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 років тому +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.

  • @TwinkleStar999
    @TwinkleStar999 5 років тому

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

  • @sarikabiwalkar4037
    @sarikabiwalkar4037 7 років тому

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

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

  • @trinadhkadari1213
    @trinadhkadari1213 9 років тому +2

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

  • @satyanarayana8320
    @satyanarayana8320 3 роки тому +1

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

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

  • @parijatbandyopadhyay8057
    @parijatbandyopadhyay8057 5 років тому

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

  • @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"**

  • @Jaipur-Green-Energy
    @Jaipur-Green-Energy 11 років тому +1

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

  • @breeze0n
    @breeze0n 10 років тому +1

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

  • @bhavyasinha6684
    @bhavyasinha6684 4 роки тому

    Thankyou Venkat. we are so thankful for your videos

  • @di.vineapple
    @di.vineapple 9 років тому +1

    Very clear, to the point. Thanks Venkat.

  • @TraxxStudios
    @TraxxStudios 9 років тому +1

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

  • @Krishna-pk9up
    @Krishna-pk9up 5 років тому

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

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

  • @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)?

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

  • @GauravSharma-rx7pl
    @GauravSharma-rx7pl 4 роки тому

    Love your accent. Content is also top-notch.

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

  • @murugesankgm1297
    @murugesankgm1297 4 роки тому +1

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

  • @pankaushik
    @pankaushik 6 років тому

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

  • @ventorero28
    @ventorero28 11 років тому

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

  • @muhammadabuhuraira2407
    @muhammadabuhuraira2407 Рік тому

    Brilliant explanation I have ever seen.

  • @64090sayan
    @64090sayan 8 років тому

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

  • @Nicky411
    @Nicky411 4 роки тому +1

    This was REALLY excellent!

  • @rajivraghu9857
    @rajivraghu9857 9 років тому +1

    Awesome! Very Clear n Crisp!

  • @syedrehanahmad7897
    @syedrehanahmad7897 7 років тому

    Hey great work @kudvenkat.
    Guess what... i'm working for a database company and manager suggested me to see your videos to clear my basics of SQL Server. :)

  • @djb5255
    @djb5255 8 років тому

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

  • @Bnat36
    @Bnat36 3 роки тому

    This is explained clearly and perfectly.

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

  • @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 👏🏻

  • @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
      ua-cam.com/users/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.
      ua-cam.com/video/y780MwhY70s/v-deo.html
      If you want to receive email alerts, when new videos are uploaded, please subscribe to my youtube channel.
      ua-cam.com/users/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

  • @jeetbarot7629
    @jeetbarot7629 2 роки тому

    Brilliant. Highly appreciate it!

  • @MrMotorboot
    @MrMotorboot 4 роки тому

    This is great, thanks Venkat!

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

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

  • @stephaandsouza
    @stephaandsouza 8 місяців тому

    Good explanation of concepts with examples

  • @zoehyang
    @zoehyang 5 років тому

    Now I finally undertand! Thank you Venkat

  • @anujnimkar2732
    @anujnimkar2732 7 років тому

    Very clear explanation brother, thanks a lot!

  • @IndianHeartsinEurope
    @IndianHeartsinEurope 5 років тому

    Thankyou so much Venkat for such a clear Explanation..

  • @krishnanaasevagar2345
    @krishnanaasevagar2345 6 років тому

    Super super super super
    You are a genious
    Love you

  • @Fcb447
    @Fcb447 7 років тому +1

    really well explanation, thanks alot.

  • @aham-mumukshu-asmi
    @aham-mumukshu-asmi 6 років тому

    to the point and crisp explanation. Thanks. wish you covered examples for design patterns too in recent versions.