Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

tuning/disabling synonym checking by JDBC driver

kmcharanNov 2 2010 — edited Nov 2 2010
Hi,

We have used oracle object Types heavily in our project to tranfer the data from java layer to database layer. Becuase of security reasons we are referencing our oracle Types using synonyms in the java layer.

Unfotunately this is causing perfomance issues for us. JDBC driver seem to taking lot of database time in finding the appopriate underlying oracle Type object for a given synonym.

Is there anyway to tune jdbc driver synonym checks?

the following SQL is running heavily.

SELECT /*+RULE*/ TABLE_NAME, TABLE_OWNER, DB_LINK INTO
the_table_name, the_table_owner, the_db_link
FROM ALL_SYNONYMS WHERE
OWNER = 'PUBLIC' AND
SYNONYM_NAME = bind_synonym_name;

Thanks for you help in advnace


Regards
Charan
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 30 2010
Added on Nov 2 2010
1 comment
409 views