How can a regular developer, without admin privileges on the database, see active db connections – particularly the ones “owned” by them? Not sure if that is the right db terminology. (Application written in Java with JDBC, Oracle, and SQL Plus).
How can a regular developer, without admin privileges on the database, see active db
Share
You don’t need admin privileges but you would need to have permission to query the
V$SESSIONtable (GV$SESSIONif you happen to be using RAC). Your DBA can grant you the privilege to query just that tableor the DBA can grant your user the
SELECT ANY DICTIONARYprivilege or theSELECT_CATALOG_ROLErole.If you have one of those grants, you should be able to query
V$SESSIONto see all the sessions in the database.will show all the sessions in the database opened by a particular user.