Statistics 01: A Tale of Two Plans

Sdílet
Vložit
  • čas přidán 17. 02. 2020
  • We look at two SQL Server execution plans for the same query, talk about why they’re different, and figure out which one makes the most sense.
  • Věda a technologie

Komentáře • 8

  • @CharlieArehart1
    @CharlieArehart1 Před 4 lety +10

    Wow, pretty shocked to see that comment from Eric. While Brent is indeed awesome, I am very impressed with even just these first few mins of this first video in the series from Doug. I am sure it will help many, who don't understand statistics, execution plans, parameter sniffing.
    I mean, sure: different strokes for different folks. But I just had to offer a huge thumbs-up and thanks to Doug for this series, and to Brent for hosting it here (and sharing news of it today, at www.brentozar.com/archive/2020/03/a-bunch-of-free-sql-server-videos-on-youtube/).

  • @marcosoliveira8731
    @marcosoliveira8731 Před 4 lety +1

    Today , while trobleshooting a performance issue in production , I remembered this content ( I´ve watched all vídeos from this series ) and I´d like to thank you a lot for the very helpfull content.
    Statistics is quite relevant topic and you did a really great job explain it.

  • @vinayakpaul3577
    @vinayakpaul3577 Před 4 lety +1

    can we have definition for Statistics? when we perform update Statistics what happen internally in that tables

    • @BrentOzarUnlimited
      @BrentOzarUnlimited  Před 4 lety

      Sure, keep watching the class. Enjoy!

    • @mohammedsafiahmed1639
      @mohammedsafiahmed1639 Před rokem

      Metadata of a table. More specifically, the number of rows for each distinct value of a column. You can also create multi column statistics, but those arent very accurate as single column.

  • @zalmar5855
    @zalmar5855 Před měsícem

    I know it's a 4 year old video. You had OPTION (RECOMPILE) in your query, how could the cause for the bad plan be parameter sniffing?

    • @BrentOzarUnlimited
      @BrentOzarUnlimited  Před měsícem

      That's a great question - for more details on that, check out our Fundamentals of Parameter Sniffing class: training.brentozar.com/courses/enrolled/1336969

  • @Xyaran
    @Xyaran Před 4 lety

    Please Brent, keep doing your own videos, you're WAYYYYY better!