-- Description : Displays information on all database session waits.
-- Requirements : Access to the V$ views.
-- Call Syntax : @session_waits
-- -----------------------------------------------------
SET LINESIZE 200
SET PAGESIZE 1000
COLUMN username FORMAT A20
COLUMN event FORMAT A30
COLUMN wait_class FORMAT A15
SELECT NVL(s.username, '(oracle)') AS username,
s.sid,
s.serial#,
sw.event,
sw.wait_class,
sw.wait_time,
sw.seconds_in_wait,
sw.state
FROM v$session_wait sw,
v$session s
WHERE s.sid = sw.sid
ORDER BY sw.seconds_in_wait DESC;
Database Session Waits Scripts
Subscribe to:
Post Comments (Atom)
ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%'
This MySQL error — ERROR 1396 (HY000): Operation ALTER USER failed for 'Mysql'@'%' — means that MySQL cannot find the user ...
-
Key Tables in Oracle Inventory Here is a brief description of the key tables in Oracle Inventory. Table Descriptio...
-
CONCURRENT MANAGER ISSUES IN APPS R12 Status code and Phase code for Concurrent requests Here is what the abbreviation for ...
-
Try To Apply Prepayment To Invoice Receive Error 'APP-SQLAP-10000' [ID 984524.1] Applies to: Oracle Payables - Version: 12....
No comments:
Post a Comment