To find how many users are on the database issue the following:
Show what users are running:
SQL> SELECT username FROM v$session;
Show what users are running:
SQL> SELECT a.sid
, a.serial#
, b.sql_text
FROM v$session a
, v$sqlarea b
WHERE a.sql_address=b.address AND a.username = '<username>';
No comments:
Post a Comment