Ask the Expert

Identifying the user who submits a query

If you create a DBLink between a Unix server and a mainframe database how do you identify the actual user who submits a query to the Oracle mainframe database via the DBLink? The mainframe security group is concerned that we have no accountability as to who actually used the DBLink to view mainframe Oracle data.

    Requires Free Membership to View

If you're going from Oracle RDBMS to Oracle RDBMS, this question doesn't make sense since the DBLink would use whatever user you used when creating the link (connect to <username> identified by <password>). If you left out the "connect to" clause, it would be a current user link and would connect to the remote side using the same login credentials used to login to the local database.

If you're talking about connecting to a remote database that is non-Oracle via a gateway, I'm not sure since the remote side would use authentication mechanisms proprietary to that database vendor.

This was first published in April 2005

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: