Alternative method for OR condition

Asked

Viewed 21 times

0

I would like to know if you have any alternative means to improve the performance of a select without using the expression OR. Running only with an equal operator I get the result in 30min but including more conditions with use of OR there is an absurdly big time to get the result approximately more 10hs.

inserir a descrição da imagem aqui

  • 1

    The fields involved in the merge are properly indexed?

  • I believe that yes más give an example of properly indexed?

  • Either they’re indexed or they’re not, "I believe so" is not an answer.

  • You tried to analyze the query execution plan to check the bottlenecks?

  • how do I analyze?

  • https://docs.oracle.com/cd/B28359_01/server.111/b28274/ex_plan.htm#PFGRF009

  • Try B.nf_vs_cod_pro in ( a.nf_vs_cod_pro01,a. nf_vs_cod_pro02...)

Show 2 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.