Quantcast
Channel: Question and Answer » oracle
Viewing all articles
Browse latest Browse all 717

Can we Audit Synonym Usage in Oracle?

$
0
0

When Auditing is enabled in Oracle, is there a way to differentiate Private Synonyms access from actual object access?

For example If I have

  • Table: S1.My_TABLE
  • Private Synonym: S2.My_TABLE (pointing to S1.My_TABLE)
  • Public Synonym: MY_TABLE (pointing to S1.My_TABLE)

When I query the table using any of this 3 approaches I always seem to get the same data in the Sys.AUD$ table.

Is there a way to difference entries generated on the Audit table when using the private synonym from the others?


Viewing all articles
Browse latest Browse all 717