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

Home -> Community -> Mailing Lists -> Oracle-L -> select via dblink does not use index

select via dblink does not use index

From: Yechiel Adar <adar76_at_inter.net.il>
Date: Wed, 03 Dec 2003 11:49:38 -0800
Message-ID: <F001.005D88DA.20031203114938@fatcity.com>


I did a select like:

select name from local_table , remote_table where local_table.account = remote_table.account.

Remote table is a view with dblink.

I select about 100 records out of about 1M records at the remote db.

I found out that oracle does full table scan at the remote site.

I will welcome ideas how to make oracle use the index on the remote side.

Yechiel Adar
Mehish
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Yechiel Adar
  INET: adar76_at_inter.net.il

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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 Dec 03 2003 - 13:49:38 CST

Original text of this message

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