Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: select user from dual - performance issue

Re: select user from dual - performance issue

From: Billy Verreynne <vslabs_at_onwe.co.za>
Date: Thu, 19 Jun 2003 11:16:48 +0000
Message-ID: <bcrv67$97g$1@ctb-nnrp2.saix.net>


Uwe Wiedl wrote:

> select * from xy where name in (select user from dual)
> this is up to 10 times slower then
>
> select * from xy where name = user
>
> But this is not for every user in the database the case.

Does not make sense to me.. (no big surprise there)

What does the explain plans say?

What does v$session_wait say when it is slow?

--
Billy
Received on Thu Jun 19 2003 - 06:16:48 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US