Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> SQL optimization method issue
Hi,
I'm running the following query on two databases, and gets different
optimization
method, therefor different performance:
SELECT c.ID, c.USERCODE, c.FIRSTNAME,
c.LASTNAME, c.ADDR, c.TEL, c.COMPID, c.PROVIDERCODE, p.NAME, c.TRFCODE, c.REGDATE, c.LOTNUMBER, c.EMAIL, c.CYCLECODE, d.ACCOUNTBALANCE, d.NEWCALLSCHARGE, d.CREDITLIMIT, d.ACCOUNTSTATUS , d.STATUSREASON, y.SHORTDESC, t.SHORTDESC , d.STATUSDATE, d.CUSTANI
AND p.ID (+) = c.COMPID AND y.CODE (+) = d.custtype AND t.CODE (+) = d.ACCOUNTSTATUS
I'm trying to understand the differences, and to find what can be change
(parameters
or other definition) so the query will get immediate results even with no
hints (as
it is in the development database).
Any help will be most appreciated.
Thanks,
Maoz
Received on Wed Dec 15 1999 - 00:56:51 CST
![]() |
![]() |