How to Think Like the SQL Server Engine, Part 2: Nonclustered Indexes

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

КОМЕНТАРІ • 15

  • @pritom82bd
    @pritom82bd 5 років тому +2

    You know what? Its an awesomely helpful video. The way you explained absolutely clears doubts in mind. Great job. I don't know how come only 72 people liked this video.

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

      Thanks, glad you liked it!

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

      I just like the video and just subscribed to the channel.

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

      Because SQL Server tuning is hard.

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

    Brent Ozer = 'Awesome' ... Always !!!!

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

    Superb Explanation of Non-ClusterIndex

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

    You had me at "run the narrower query"

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

    A notice: oracle enteprise costs $47000 per processor, not core

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

    Great stuff.

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

    You da man!

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

    Great Video ! i am working with big table and the important it's the response time... in this case the size of the dtabase its not a problem i did create a non-cluster indexes and the performance its increible good ! in this case i have 5 important queries in this table, for example... case 1: selec all from person where age=@age.... i did create a non cluster with the age and the response its great ! but for example i have the sample table but this query selec all from person where age=@age and city=@city... what its the better solution creat a NEW indexes with the TWO fields or only including in the first the two parameters its the better solution ?

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

      For specific question, head on over to DBA.StackExchange.com.

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

    Hi, I have a question. I run query with only nonclusered index on LastAccessDate and Id :
    Select DisplayName, Age
    from dbo.Users
    where LastAccessDate > '7/1/2010'
    Order by LastAccessDate;
    When I look Estimated Execution plan i don't see Index Seek + Key Lookup, but only Idex scan.
    Does it have something to with MS SQL Sever version, version I'm runing is 14.0.1000.169 (X64).

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

      Alekola - keep watching this and part 3 to understand why.