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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: help execution plan changes when using a dblink

RE: help execution plan changes when using a dblink

From: Miller, Jay <JayMiller_at_TDWaterhouse.com>
Date: Wed, 29 Aug 2001 10:04:54 -0700
Message-ID: <F001.0037B8AA.20010829102233@fatcity.com>

Have you tried using a /*+ PUSH_SUBQ */ hint? If I'm interpreting what you say correctly you want the subquery to execute first so this might (or might not) help.

Good luck!

Jay Miller

-----Original Message-----
Sent: Wednesday, August 29, 2001 12:01 PM To: Multiple recipients of list ORACLE-L

Hi,

We face the strange problem that an executionplan is changed recently without
any reason. Now it runs with a full_table scan and it did not do so. The query is executed through a dblink and is part of a batch.

Details: oracle 7.3.4, hp-ux 10.20
Query:
select * from debtor_claims_at_deca_link
where debtor_claim_id =
(
select max(debtor_claim_id)
from debtor_claims_at_deca_link
where res_id = 17777291 and
counter_booking_flag = 'N'
)

Tia,

Jeroen

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jeroen van Sluisdam
  INET: jeroen.van.sluisdam_at_vrijuit.nl

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Miller, Jay
  INET: JayMiller_at_TDWaterhouse.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Aug 29 2001 - 12:04:54 CDT

Original text of this message

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