Key lookup and RID lookup in sql server execution plans

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

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

  • @sanchitvaid7017
    @sanchitvaid7017 Год назад +10

    I did multiple certifications on SQL from reputed online learning platforms and even bought advance SQL courses on Udemy but even they do not teach these things. Hats off to you, it's because of your videos I go super confident in my interviews now.

  • @sarfarazmakandar4684
    @sarfarazmakandar4684 3 года назад +11

    I will pray for you in my whole life whenever I write index. Huge respect sir, can't explain what you have given to me.

  • @ninaddesai8846
    @ninaddesai8846 2 года назад +3

    You are best sir.
    Completely different level of teaching.
    I have watched all your SQL videos.
    And got a good job.👏👏👏👌👌👌

  • @ashajyothi06
    @ashajyothi06 3 года назад +14

    Mr.kudvenkat is a super hero😎

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

    This is the best explanation I've ever seen. Thanks a ton Sir.
    Requesting you to kindly complete the series for SQL Server Performance Tuning Videos

  • @adorebeauty6539
    @adorebeauty6539 3 года назад +9

    Sir, please make video on INCLUDE(columns) along with non clustered index and why we don ot use it on clustered index. That is very important operation while optimizing query cuz large description(nvarchar(max)) colums slows down non clustered indexes too when they are in the select

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

    you are the best Venkat. I am loving this series, waiting for the next one bro

  • @vishaljhaveri7565
    @vishaljhaveri7565 9 месяцев назад

    Thank you so much, Sir. The Perforformance Tuning Playlist is amazing. Really learnt a lot, appreciate your efforts.

  • @CK-bu5wh
    @CK-bu5wh Год назад +2

    Hi Kudvenkat, I wonder if this series will be continued? or if the continued series is moved to other platform because I found your tutorial is very easy to understand and very helpful. Will looking for buy a online course regarding this topic if you're going to publish one

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

    I love this video. Thank you so much! In fact, a lot of BI developers don't event know what RID lookup, Key lookup and parameter sniffing are.

  • @mgstar6041
    @mgstar6041 3 года назад +2

    I would like to thank you for all the effort I have learned so much from you.

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

    Thanks Venkat for valuable information in simple way. I love and learned. Keep making valuable videos.

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

    Excellent explanation of these key concepts of sql server indexes and analyzing query execution plans. I am looking for more videos about other query plans such as nested lookups.

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

    Super expert in explaining the tutorial to beginners keep it up and keep going venkat appreciate your efforts 👍

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

    Really Great! Thank you! God will bless you more because you are helping all.

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

    Hi Sir, I have been waiting for more videos of yours on this playlist.

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

    Hello Venkat,
    Nice videos you have in all your playlists.
    I have a little confusion though.
    Like you explained that data rows get stored in leaf nodes in Clustered index, where do actual data rows get stored in Non clustered index ? All I see are row locators on leaf nodes which I am guessing are row ID based on which RID lookups get created. Also need little elaboration on key values.
    Thanks.

  • @jasonngan5747
    @jasonngan5747 Год назад +1

    Hi Venkat, thanks for the great content! Can I clarify with you, if there's no clustered index key, how does SQL do a row ID look up? Since the heap is not sorted in any particular order, when doing a row ID look up, does it imply a full table scan?

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

    What an explanation you are such an inspiration sir, today all my doubts are clear. Thank you

  • @adityasethi9794
    @adityasethi9794 2 года назад +1

    when we don't provide a clustered index. RID lookup happens because the engine by default creates a RID for all rows and stores them by increasing order of RID. But if we have clustered index on Id, then data is already stored in increasing order of id. Now key lookup happens. Key point is that, lookup has to happen on ordered data. RID/KEY fulfills the same purpose.

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

    Excellent explanation. Thank you for creating and sharing these great videos with the world! I also like length of the videos. 5-7 minutes is perfect.

  • @gagandeepsingh6126
    @gagandeepsingh6126 3 года назад +5

    Hi Kudvenkat,
    I've been waiting for your series on SQL Server performance tuning for a long time. And you are doing awesome work on this. Please try to make this series for each physical operator of the execution plan and explain the reason behind them and what changes on SQL queries can avoid these heavy operators.

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

    Nice Explanation Venkat ,Thanks For come Back with New Topics....

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

    This is a great demo. Truly enjoyed your video.

  • @TheUjjwalpandey
    @TheUjjwalpandey 5 месяцев назад

    Appreciate your quality content. Thanks

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

    very easy to learn. Learnt a lot from your videos.

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

    Thanks so much for the break down!

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

    Thank you so much your vedios are very helpful than any other vedios

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

    Hello Sir, Thank you for the detailed explanation. Quick query, please?
    The non-clustered index has been created based on the "Name" column only. How is the RowId column been stored in the index as a key-value pair, please? The RowId column is not even a column in the table. Also, this is table doesn't have a Primary Key column defined, then how does the RowId column has been stored in the non-clustered index, please?
    Could we expect more videos related to SQL Queries tuning, please?

  • @karthik1090
    @karthik1090 3 года назад +2

    So the RID is kind of like a primary key which is internally created by sql server for indexing purposes only as there is no primary key given by the user in the table, Right?.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  3 года назад +1

      Absolutely. Spot on. It would have been good if I mentioned this. Thank you. You summarised it really well. Thank you for sharing.

    • @karthik1090
      @karthik1090 3 года назад +2

      @@Csharp-video-tutorialsBlogspot if you could do some videos explaining about what is table partitioning and how it is done, that would be really helpful.

    • @vinish.maurya
      @vinish.maurya 3 года назад

      @@karthik1090 yes I am also waiting

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

    I really enjoying while watching your videos Excellent

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

    Very good video series. Thanks a lot.

  • @ankuranandwc
    @ankuranandwc 2 года назад +1

    HI SIR, ARE WE GOING TO HAVE MORE VIDEOS ON THIS SERIES, LOOKING FORWARD TO SOME EXCELLENT QUALITY CONTENT FROM YOUR SIDE

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

    another best serie turtorial thank you , you are my best teacher

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

    Please do continue to post more videos.

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

    Is it a good practice to include the pk value in the section INCLUDE of a nonclustered index? Sometimes we want to know which is the table’s id for a certain indexed column and to avoid a key lookup we could read it from the index itself, is it a good idea?

  • @ThanhPhamTien-vr4gf
    @ThanhPhamTien-vr4gf 7 месяцев назад

    I have question: if we only use nonclustered-index , then data is not sorted in the leaf node, then we use RID to look up , do we have to go to each page to know which data row in which page is equal to the RID that we use in the index tree ?

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

    Next level. You are superb sir.

  • @mohamedasem6523
    @mohamedasem6523 11 месяцев назад

    we hope you can continue this playlist

  • @dp-bhatt
    @dp-bhatt 2 года назад

    Excellent videos. Thank you so much.

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

    Thanks a Ton Venkat Sir.

  • @abdogebril3525
    @abdogebril3525 3 года назад +2

    You are an awe-inspiring🤗
    Can you teach us how to analyze a system and convert requirements to ERD 🌟 or anyone recommend me any source to understand this topic well.

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

    This is very nice. Can you create a video with composite index? Like how the data is seek/scan when you have composite index on (col1, col2) but you’re only searching by col2.

  • @vinish.maurya
    @vinish.maurya 3 года назад

    Hi sir,
    We are waiting for partition table concept in sql query performance.
    Thanks you sir

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

    I am waiting for more videos of optimization

  • @viveksingh-xl2ut
    @viveksingh-xl2ut 2 года назад

    Sir Please Please Make series for SQL Server performance tuning ! we are obliged to you

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

    Thank you sir for everything 🙏

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

    Hi,
    Please help with difference between In and Exists. And its impact on performance

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

    Nicely explained. Thank you

  • @nehakesari7190
    @nehakesari7190 3 года назад +2

    This mean for small table we don't have to worry sql engine will handle by its own.

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

    why explicitly create a new clustered index on the PK?

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

    Venkat why don't you update your excellent playlist on C# to reflect the updates for version 9.0 of the language?

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  3 года назад +2

      Hello Luigi - Great. Suggestion. Thank you. Sure I will update it soon with all the latest and latest stuff.

  • @OmkarNandgaonkar
    @OmkarNandgaonkar 5 месяцев назад

    The best!

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

    really super bro

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

    Good explanation 👍

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

    Hi Bro Please help us on How to get a best execution plan

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

    Awesome !!

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

    I can not show the green text of the missing index .. any one can help?

  • @justvenkyy...3423
    @justvenkyy...3423 3 года назад

    can you post on sql sharding and partitioning difference

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

    Very nice

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

    Sir please upload crystal report and report viewer series.. Thanks a lot

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

    Hi, Venkat I have registered for few courses on your website but none of courses have been started yet. I even dropped a mail regarding the same but no response from your end.

    • @Csharp-video-tutorialsBlogspot
      @Csharp-video-tutorialsBlogspot  3 года назад +1

      Hello YIC - Very sorry, there are just too many emails and did not get time to get to them yet. Sorry, did not mean to ignore. Thank you for understanding. Can you please share the course page URL here and I will be able to help. Hope you are finding our videos useful.

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

    Wow 😍

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

    Thanks sir

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

    please explain column store index

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

    🙏

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

    waiting for Execution plan video

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

    nice and great

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

    🙏