Key lookup and RID lookup in sql server execution plans

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

КОМЕНТАРІ • 78

  • @sanchitvaid7017
    @sanchitvaid7017 Рік тому +12

    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 роки тому +12

    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.

  • @ashajyothi06
    @ashajyothi06 3 роки тому +15

    Mr.kudvenkat is a super hero😎

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

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

  • @shuvo9131
    @shuvo9131 3 роки тому +3

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

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

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

  • @mgstar6041
    @mgstar6041 3 роки тому +2

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

  • @vishaljhaveri7565
    @vishaljhaveri7565 10 місяців тому

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

  • @bitsandbeatsofficial
    @bitsandbeatsofficial 27 днів тому

    I am gonna like his video and then watch. You blow my mind every time.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    This is a great demo. Truly enjoyed your video.

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

    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!

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

    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.

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

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

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

    I really enjoying while watching your videos Excellent

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

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

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

    Please do continue to post more videos.

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

    Very good video series. Thanks a lot.

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

    Next level. You are superb sir.

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

  • @nehakesari7190
    @nehakesari7190 3 роки тому +2

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

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

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

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

    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.

  • @ThanhPhamTien-vr4gf
    @ThanhPhamTien-vr4gf 9 місяців тому

    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 ?

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

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

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

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

    I am waiting for more videos of optimization

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

    Thank you sir for everything 🙏

  • @viveksingh-xl2ut
    @viveksingh-xl2ut 2 роки тому

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

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

    Nicely explained. Thank you

  • @vinish.maurya
    @vinish.maurya 3 роки тому

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

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

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

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

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

    why explicitly create a new clustered index on the PK?

  • @justvenkyy...3423
    @justvenkyy...3423 3 роки тому

    can you post on sql sharding and partitioning difference

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

    Good explanation 👍

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

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

  • @OmkarNandgaonkar
    @OmkarNandgaonkar 6 місяців тому

    The best!

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

    please explain column store index

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

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

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

    Awesome !!

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

    really super bro

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

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

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

    nice and great

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

    Thanks sir

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

    waiting for Execution plan video

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

    🙏

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

    Very nice

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

    🙏