Created
April 1, 2016 14:35
-
-
Save ryanthames/172fbb4c633ce4cfea0e7b9f92a3b79f to your computer and use it in GitHub Desktop.
Find out where logins are coming from in Oracle (https://app.pluralsight.com/library/courses/oracle-performance-tuning-developers/table-of-contents)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select username, osuser, program, module, | |
| machine, process, | |
| count(1) as login_count | |
| from v$session | |
| where type = 'USER' | |
| group by username, osuser, program, module, | |
| machine, process; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment