Removing SORT Operator - SQL Server Execution Plans (by Amit Bansal)

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

КОМЕНТАРІ • 8

  • @robh115
    @robh115 11 місяців тому +1

    thanks for the video. However, sounds like you're creating an index to remove the sort operator. But, is it really worth the extra overhead of maintaining the extra index?

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

    Amazing Video!

  • @patelnayan1622
    @patelnayan1622 2 місяці тому

    If we have more column in table and in UI we display that all column and user can sort any column from the UI so how to design index for that kind of scenario.

  • @minnushortsandvideos2719
    @minnushortsandvideos2719 2 роки тому +1

    Thank you sir, wonderful technique 👏

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

    Agree. I’ll have to experiment on larger queries where you need a different index to seek, but if there are other columns to Order By, maybe a secondary index specifically on the sort column would get picked up to knock out both issues, similar to OR conditions using multiple indexes.

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

    Thanks for your valuable share. I have a question, is it necessity to order for include columns?

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

    Nice video sir.

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

    What's the impact on page reads and execution time?