Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Using fully qualified table_name.database_object in application code?
The best answer to your question is probably on Steve Adams' website - search for the word 'synonym'.
On high-concurrency systems with large numbers of users, the use of public synonyms leads to lots of overhead and contention handling negative dependency checking. (When I reference DUAL, I have to know that I don't own an object called DUAL that over-rides the public synonym called DUAL - so the library cache gets filled with lots of 'non-existent' objects of the same name - which adds to the length of time that it takes to search a chain for something that should exist).
Regards
Jonathan Lewis
http://www.jlcomp.demon.co.uk
Coming soon one-day tutorials:
Cost Based Optimisation
Trouble-shooting and Tuning
Indexing Strategies
(see http://www.jlcomp.demon.co.uk/tutorial.html )
____UK_______March 19th
____USA_(FL)_May 2nd
Next Seminar dates:
(see http://www.jlcomp.demon.co.uk/seminar.html )
____USA_(CA, TX)_August
The Co-operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html
>
> I would like to know if it is advocated to use fully qualified
table_name.database objects in application code.
>
> Example would be schema.table_name in a PL/SQL code.
>
> I would like to know the Pros/Cons if there are any?
>
> Thanks in advance.
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jonathan Lewis INET: jonathan_at_jlcomp.demon.co.uk 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 Mon Feb 24 2003 - 13:40:05 CST