Index Tuning - Memory Grant

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

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

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

    Great video. Something also worth mentioning is that the Memory Grant size depends on the underlying data being sorted. If that table has many nvarchar(large) or nvarchar(max) fields then it can cause havoc. It's often overlooked but the much spoken about "dont put all character fields as large nvarchar or varchar data types anti-pattern"'s main issue can be the memory grant if memory dependant operators are needed. I have seen it take up 80 GB.

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

    Nice video.

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

    Great tip.

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

    Thanks for the demo. However, seems like there’s a little bit of a trade between using less memory and having to maintain an index.

  • @Ali-q4d4c
    @Ali-q4d4c Год назад +1

    Is this technique works on Azure SQL too?