| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: This same query - diffrerent time to execute...
It would be appropriate to tell us how much difference - 3 seconds to 15 minutes is worth looking at 0.5 seconds to 0.51 seconds is not.
First step in your investigation - check the execution path. It is possible that by forcing Oracle to do ANSI comparison instead of binary comparison you are effectively disabling and index which helps to accelerate the BINARY path.
-- Jonathan Lewis http://www.jlcomp.demon.co.uk Author of: Practical Oracle 8i: Building Efficient Databases Next Seminar - Australia - July/August http://www.jlcomp.demon.co.uk/seminar.html Host to The Co-Operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html Ariel wrote in message ...Received on Thu Apr 25 2002 - 02:59:34 CDT
>Hello!
>
>I got this by using statements before "select" query.
>
>ALTER SESSION SET NLS_COMP = ANSI (does slower execute)
>ALTER SESSION SET NLS_COMP = BINARY (does faster execute)
>
>Why?
>
>I use 8.1.7 EE.
>
>
>
![]() |
![]() |