10 Query Tuning Techniques Every SQL Programmer Should Know

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

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

  • @adityaroy452
    @adityaroy452 4 года назад +2

    Great, great watch. I won't say one would materialize on everything told here, but if you are confused on whether you should invest your time in this ~95 mins video, I would definitely recommend it!

  • @anand94087
    @anand94087 9 лет назад +5

    great presentation, very helpful. Thanks

  • @rambokhan7287
    @rambokhan7287 9 лет назад +3

    @31.40 you did not do a dbccdropcleanbuffers, the second time you ran the query it got read from the cache that is why it went from 11sec to 4 sec.

    • @serhiizhadovets819
      @serhiizhadovets819 9 лет назад +1

      First time they also were in buffer pool. Because when you insert rows these pages are put into puffer pool. They might be not on hard drive but definitely they will be in RAM

  • @kenpat5
    @kenpat5 8 лет назад +4

    Great Content! Learned quite a bit...

  • @mendalin123999
    @mendalin123999 5 лет назад

    very nicely explained. do you have something for oracle.. please share

  • @dineshmanoharan2423
    @dineshmanoharan2423 4 года назад

    One thing I disagree is that Checkpoint doesn't clear bufferpool. It just writes the dirty pages to disk and mark them as clean pages in the buffer.

  • @hameed9104
    @hameed9104 7 лет назад +1

    Excellent presentation ,Very Helpful

  • @TheAguydude
    @TheAguydude 8 лет назад +2

    @1:16:22 - SQL 2016 adds STRING_SPLIT. Probably table-valued parameters are still better, though.

  • @jupiterwar
    @jupiterwar 7 лет назад +1

    Great video indeed, I'm even thinking about put some subtitles so I could translate to the language of my Country....

    • @kevinkline2392
      @kevinkline2392 5 лет назад

      If you do, please let me know and I'll spread the word on social media.

  • @yyyyyc
    @yyyyyc 8 лет назад +2

    Great Lecture !!

  • @okeyokafor648
    @okeyokafor648 9 лет назад +1

    So when the estimated # of rows and actual # of rows have a huge difference due to outdated stats, would running UPDATE STATISTICS command take care of this?

  • @SinskariBoi3366three
    @SinskariBoi3366three Год назад

    Advancing career in SE(PLSQL and Oracle, RDBMS) (Bucket list) at 30

  • @PrakashPraaku
    @PrakashPraaku 7 лет назад +1

    Thanks for this great video. Really helpful.

  • @adaylateacoinshort
    @adaylateacoinshort 9 лет назад +2

    Thanks for this. Very useful.

  • @mksktube
    @mksktube 9 лет назад +16

    It's kind of funny seeing the MS SQL guys using the Apple MacBook....

    • @amnindersokhi4817
      @amnindersokhi4817 8 лет назад +5

      You should gain knowledge from them instead of making funn

    • @mksktube
      @mksktube 8 лет назад +2

      When you gain a fraction of my kNNowledge may learn to have some fuNN... Though doubt you'll get ever on my level, so begin learning to have funn... But sure your H1B visa is a prove of the top notch knowledge...

    • @necbranduc
      @necbranduc 8 лет назад

      I think you might need a new keyboard, your N seems to be doubling occasionally in your text. Also, I'd be very curious about your knowledge, I'd like to learn as well. Do you have a blog or somewhere you post your ideas, a fraction of your knowledge?

    • @mksktube
      @mksktube 8 лет назад

      Don't be too curious, I was ordering you in dozens and know exactly what you know...

  • @soarindragon603
    @soarindragon603 4 года назад

    I wonder if a case statement would fix the kitchen sink issue (1:07) if it's even still an issue. Something like this...
    1=case when @CustomerID is null then 1
    when Customer ID = @CustomerID then 1
    Else 0
    end

  • @temesgenneberu2054
    @temesgenneberu2054 6 лет назад +1

    it is realy nice

  • @jasonxu7191
    @jasonxu7191 8 лет назад +1

    Good?

  • @yiyuan6844
    @yiyuan6844 7 лет назад +1

    MARK

  • @americanexe
    @americanexe 7 лет назад +1

    SQL "programmer" LOL!

    • @erwinekkel9676
      @erwinekkel9676 3 года назад

      Sql is harder to get right then Javascript, c# or. Net.