How do I tune a SQL statement with the wrong Join Type

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024

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

  • @vishvendradeepak1419
    @vishvendradeepak1419 3 года назад +2

    Awesome 👏 explanation. Many thanks Maria.

  • @aidangmccarthy
    @aidangmccarthy 3 года назад +2

    Thanks Maria. Elegantly explained as always 👍

  • @7895sk
    @7895sk 2 года назад +1

    Very interesting. Thank you. I think there is a misprint at 6.03 min. We should read "STALE_PERCENT" instead of "STALE_PRECENT"

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

    Thanks Maria ..for the detail explanation

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

    Thanks Maria for detailed explanation 👍

    • @SQLMaria
      @SQLMaria  2 года назад

      My pleasure 😊

  • @amfattah2011
    @amfattah2011 3 года назад +1

    Many thanks Maria.

  • @avreddy666
    @avreddy666 2 года назад

    Very nice explanation..

  • @iftikhar8508
    @iftikhar8508 6 месяцев назад

    How do you tune sql for OLTP systems?

  • @Elfcheg
    @Elfcheg 3 года назад +2

    Nice! Thanks for sharing!

    • @SQLMaria
      @SQLMaria  3 года назад +1

      Thanks for watching!

  • @jamsher731
    @jamsher731 2 года назад

    Hi Maria, Can you please make video on Wrong Join Order,

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

    As the table grows larger over the months and years, the "10% staleness" translates to ever increasing absolute numbers.

    • @SQLMaria
      @SQLMaria  2 года назад +1

      Hi Hemant, you are correct. The large the table becomes, the longer it takes to reach the 10% staleness threshold. For many data sets, this works well, as the number of distinct values in each column doesn't change much as the data volume grows. For example, the NDV for product_id won't change as we make more sales as we only sell a fixed number of products. However, the NDV will continue to increase for some columns like sales date. If you have one of those situations, you have several options, as specified in the video.

  • @albertogonzalez5114
    @albertogonzalez5114 3 года назад +1

    Thanks so much!

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

    Could you please explain 10053 trace file ?

    • @SQLMaria
      @SQLMaria  3 года назад +2

      Honestly, Venkat, No one can fully explain every aspect of a 10053 trace. It's not meant to be read from top to bottom. But throughout this SQL Tuning series, I'll point out what keywords or phrases you should search for in the 10053 trace to help you determine the root cause of problems you may see.

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

      Good question and good response from Maria .