Problem solve Get help with specific problems with your technologies, process and projects.

PUBLIC versus PRIVATE synonyms

I had a DBA tell me that a PUBLIC synonym is much more expensive than a PRIVATE synonym. Is using a public over private really going to make a difference in system performance?

There is no definitive answer to this question. The answer is "it all depends". Well known Oracle expert Steve Adams talks about this on his Web site.

In the article at this link, there is a case where a public synonym actually performs better than a private synonym. But in the article at this link, Steve explains that public synonyms require some dependency tracking that private snyonyms do not. This can cause a performance problem, but only as the application scales. In most cases, the performance between a public and a private synonym will be negligable. Only you can tell for sure in testing your specific application in your specific environment.

For More Information

Dig Deeper on Oracle database design and architecture