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: Problem querying remote table through a synonym

RE: Problem querying remote table through a synonym

From: Nelson, Allan <anelson_at_midf.com>
Date: Thu, 04 Sep 2003 10:19:27 -0800
Message-ID: <F001.005CECBD.20030904101927@fatcity.com>


8.1.7.4

Allan

-----Original Message-----

[mailto:Murali_Pavuloori/Claritas_at_claritas.com] Sent: Thursday, September 04, 2003 12:55 PM To: Multiple recipients of list ORACLE-L

What version of Oracle are you running?

Murali.  

                    "Nelson,

                    Allan"               To:     Multiple recipients of
list ORACLE-L <ORACLE-L_at_fatcity.com>                     
                    <anelson_at_midf.       cc:

                    com>                 Subject:     Problem querying
remote table through a synonym                            
                    Sent by:

                    ml-errors_at_fatc

                    ity.com

 

 

                    09/04/2003

                    01:19 PM

                    Please respond

                    to ORACLE-L

 

 





I'm confused, has anyone ever seen something like this before?

This query works as you can see:

select count(*)
from markview.mv_user_enabled_doc_type_privs_at_mv_apps2sup_mi.world;

  COUNT(*)


    275375

We execute the following DDL:

DROP SYNONYM MV_USER_ENABLED_DOC_TYPE_PRIVS; CREATE SYNONYM MV_USER_ENABLED_DOC_TYPE_PRIVS    FOR MARKVIEW.MV_USER_ENABLED_DOC_TYPE_PRIVS_at_MV_APPS2SUP_MI.WORLD; We run the following query:
select count(*)
from mv_user_enabled_doc_type_privs;

The query hangs for over an hour before being killed. When traced it shows it is waiting for the other side to respond.

On the other hand, if I do this you can see it works!

  1* select count(*) from user_tables_at_mv_apps2sup_mi.world SQL> /   COUNT(*)


         0

SQL> create synonym mine for user_tables_at_mv_apps2sup_mi.world;

Synonym created.

SQL> select count(*) from mine;

  COUNT(*)


         0

The hanging behavior is true for every table in the markview schema.

     Allan L. Nelson
     Oracle DBA
     M-I L.L.C.
     (832) 295-2238 office
     (832) 351-4180 fax
     anelson_at_midf.com <mailto:anelson_at_midf.com>






________________________________________________________________________

This email is intended solely for the person or entity to which it is addressed and may contain confidential and/or privileged information. Copying, forwarding or distributing this message by persons or entities other than the addressee is prohibited. If you have received this email in error, please contact the sender immediately and delete the material from any computer. This email may have been monitored for policy compliance. [021216]

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: 
  INET: Murali_Pavuloori/Claritas_at_claritas.com

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). -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Nelson, Allan INET: anelson_at_midf.com 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 Thu Sep 04 2003 - 13:19:27 CDT

Original text of this message

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