A lot of people have posted messages like: "I have
several applications in my DB, but I can't create new public synonyms for my new
app, because public synonym with that name already exists!".
So, this should be one major reason why not to use
public synonyms,
But yes, check ixora, there is a very good
explanation about impact of synonyms.
Generally, public synonums are worst performance
wise, private synonyms aren't that good either, referencing to tables directly
in your SQL would be the fastest way (talking about parsing speed). Since from
developers point of view hardcoding the schema names would be quite bad, there's
an alternate solution of not hardcoding schema names to SQL, but using alter
session set currecnt_schema in your application to set which schema should be
used (of course in multi-schema environments you won't get away with that
easily).
Tanel.
|
Title: RE: Security, private vs. public synonyms and contention data dictionary
- RE: Security, private vs. public synonyms and contentio... Paula_Stankus
- RE: Security, private vs. public synonyms and conte... Stephane Paquette
- Re: Security, private vs. public synonyms and conte... Tanel Poder
- Re: Security, private vs. public synonyms and conte... Jared Still