RE: Accessing views across a db link

2002-07-03 Thread Martin, Alan
Title: Accessing views across a db link



Great 
hint. I didn't know that one existed. However, our local DB is V7.3.3 connecting 
to our remote DB V8.1.7. That hint didn't exist back then. Oh well, I guess 
we'll burn some DASD for a snapshot.
 
Thanx,
Alan

  -Original Message-From: Khedr, Waleed 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 02, 2002 11:08 
  PMTo: Multiple recipients of list ORACLE-LSubject: RE: 
  Accessing views across a db link
  Try 
  this:
   
  select --+ DRIVING_SITE(rv) 
   *
  from 
  view_name@remotedb rv
  where 
  columnA = '...';
   
  -
  Regards,
   
  Waleed
  
-Original Message-From: Martin, Alan 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 02, 2002 5:28 
PMTo: Multiple recipients of list ORACLE-LSubject: 
Accessing views across a db link
Accessing a view across a db link takes a while 
(fetch phase) when a *local* select statement uses a "where" clause (e.g. 
select * from view_name@remotedb where columnA = '...';). Does anyone know a 
way (other than a snapshot or materialized view of the remote data on the 
local db) to force the result set of data (due to the "where" clause) to be 
resolved on the remote side?
Thanx, 
Alan Martin 
Defense Logistics Information 
Service Battle Creek, 
Michigan 


RE: Accessing views across a db link

2002-07-02 Thread Khedr, Waleed
Title: Accessing views across a db link



Try 
this:
 
select 
--+ DRIVING_SITE(rv) 
 *
from 
view_name@remotedb rv
where 
columnA = '...';
 
-
Regards,
 
Waleed

  -Original Message-From: Martin, Alan 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, July 02, 2002 5:28 
  PMTo: Multiple recipients of list ORACLE-LSubject: 
  Accessing views across a db link
  Accessing a view across a db link takes a while 
  (fetch phase) when a *local* select statement uses a "where" clause (e.g. 
  select * from view_name@remotedb where columnA = '...';). Does anyone know a 
  way (other than a snapshot or materialized view of the remote data on the 
  local db) to force the result set of data (due to the "where" clause) to be 
  resolved on the remote side?
  Thanx, 
  Alan Martin 
  Defense Logistics Information 
  Service Battle Creek, 
  Michigan 


Re: Accessing views across a db link

2002-07-02 Thread Jared . Still

Alan,

This query should be resolved at the remote end.  I forget which
version of Oracle was the first to know enough to do that.

Which version are you on?

Have you traced the SQL?

Jared





"Martin, Alan" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
07/02/2002 02:28 PM
Please respond to ORACLE-L

 
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
cc: 
Subject:Accessing views across a db link


Accessing a view across a db link takes a while (fetch phase) when a 
*local* select statement uses a "where" clause (e.g. select * from 
view_name@remotedb where columnA = '...';). Does anyone know a way (other 
than a snapshot or materialized view of the remote data on the local db) 
to force the result set of data (due to the "where" clause) to be resolved 
on the remote side?
Thanx, 
Alan Martin 
Defense Logistics Information Service 
Battle Creek, Michigan 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).