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

Home -> Community -> Usenet -> c.d.o.misc -> Need an alternate - SYNONYMS

Need an alternate - SYNONYMS

From: rohikesh <rohit.parvatikar_at_gmail.com>
Date: 27 Oct 2005 05:54:09 -0700
Message-ID: <1130417649.439089.113720@g44g2000cwa.googlegroups.com>


Hi All,
I have a synonym x for a remote database table y. Something like "create synonym x for y_at_remote_dblink".

With the change in design, my requireent is to have a similiar synonym representing the UNION of two tables y and Z from the remote database. Tables Y and Z are on the same instance but on different schema. I have created two db links for the same.

Can anyone suggest me as to how do I do that without affecting the performance??

I tried one method, wherein I created a view on the union of 2 remote tables and then created a synonym with the same name x on this view. But this design gives me serious performance issues when the synonym is used in subqueries at multiple levels.

Please advise me on this.

Regards,
rp Received on Thu Oct 27 2005 - 07:54:09 CDT

Original text of this message

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