10 Query Tuning Techniques Every SQL Programmer Should Know

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • Presenters:
    Kevin Kline
    Aaron Bertrand

КОМЕНТАРІ • 31

  • @adityaroy452
    @adityaroy452 3 роки тому +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

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

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

  • @hameed9104
    @hameed9104 7 років тому +1

    Excellent presentation ,Very Helpful

  • @kenpat5
    @kenpat5 8 років тому +4

    Great Content! Learned quite a bit...

  • @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.

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

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

  • @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

  • @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.

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

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

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

    Great Lecture !!

  • @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...

  • @okeyokafor648
    @okeyokafor648 8 років тому +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?

  • @temesgenneberu2054
    @temesgenneberu2054 6 років тому +1

    it is realy nice

  • @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

  • @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.