SQL Server Query Tuning Best Practices - Part 1

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ • 23

  • @shanem6891
    @shanem6891 8 років тому +1

    A great resource for the community to share. As a small contribution CXPACKET stands for class (as in C++ class) exchange packet and not context extension packet as mentioned at 20:11.

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

      Thanks Shane for the kind words and thanks for the catch!

  • @briangalebmg002
    @briangalebmg002 9 років тому +1

    very good video. Learned a lot about queries. I know where I work, cursors are used. The majority of the time, I think that they are being used properly, but from my testing, I find that storing stuff in temp tables is faster than a cursor. With SSIS though, sometimes that isn't a good or valid option.
    Definitely going to be grabbing the tools you mentioned. The timing couldn't be better. We have recently had a few queries eating up a lot of CPU and/or high number of waiting tasks and high number of batch requests per second (IIRC, it got up to 250 today). Watching the activity monitor, it got filled with cursors.
    So I'd like to run your tool against one of our test DB's and see what it tells me.

  • @ArshakNorsoyan
    @ArshakNorsoyan 9 років тому +1

    You, Guys are just awesome. This is so useful. Thank you so much to share this video! .

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

    Great video, thanks

  • @fUjiMaNia
    @fUjiMaNia 10 років тому +2

    good stuff and thanks for the upload

  • @JaiVikasSingh
    @JaiVikasSingh 10 років тому +2

    thanks for the demo...

  • @Joe_DeSantis
    @Joe_DeSantis 8 років тому +1

    @SQLSentry is there a link to where I can find the queries used in the first 30 minutes of the presentation?

    • @ritvikshandilya
      @ritvikshandilya 8 років тому +2

      Check out my new video about sql query tuning in 15 mins.

    • @mauroldanr
      @mauroldanr 7 років тому

      sorry, but I cannot find that video. could you link it? thanks

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

      There are matching blog posts on sqlperformance.com for each of the techniques described in the video. The full scripts are available there.

  • @vukovicmario
    @vukovicmario 9 років тому +1

    Interview with Greg Gonzalez, President and CEO of SQL Sentry: www.superbcrew.com/sql-sentry-helps-companies-improve-the-performance-of-ms-sql-server-environments/

  • @arunkumarg21
    @arunkumarg21 10 років тому +1

    Thanks kevin and aaron may i know where can i get sqlsentry sample database pls help me

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

      There is not a specific database, aside from the normal AdventureWorks database available on Github, for the general demos. The code that you're looking for are available in matching blog posts on sqlperformance.com for each of the techniques described in the video. The full scripts are available there.

  • @sid5201
    @sid5201 8 років тому +1

    So we can use Wait stats in Production?

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

      Yes, absolutely, for troubleshooting and performance tuning.

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

    last ports are goood

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

    very usefull

  • @elenelenaelena8846
    @elenelenaelena8846 9 років тому +21

    first 7 min 15 sec - empty bla- bla- bla

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

      TANSTAAFL, as they say. The real content starts afterwards.

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

    clearly not done by someone who knows how to keep the watcher hooked. so much talk omg

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

    Lots of talking less learning

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

    very very BAD analysis