Does the PARALLEL hint disable indexes?

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

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

  • @C.Morandini
    @C.Morandini 3 года назад +1

    Always scratching my head on this situation, glad to have it finally explained so nicely ;)

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

    So which one was the fastest? Love the KIWI acronym

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

    @6:08 so true!

  • @roderickdunn2517
    @roderickdunn2517 10 месяцев назад

    Thanks for this explanation, it was helpful! Question - I have a simple SELECT * query similar to yours but when I add index_ffs and parallel_index hints the plan shows that both are unused, and it simply uses an INDEX RANGE SCAN instead (no parallism). Any idea why that would be? For context, the table is huge (6 billion rows), and the WHERE condition filters out all except ~100 million rows.

    • @roderickdunn2517
      @roderickdunn2517 10 месяцев назад

      Figured it out. Its because index_ffs only works when no ROW access is required - but in my case the SELECT * requires row access. TY

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

    Great explanation ! Thank you )

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

    Neat explanation 👌🏻

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

    Nice