Oracle Database / Sessions, Locks & Transactions
ORA-00028: investigate why a session was terminated
A session-killed error can follow an administrator action, resource enforcement or another managed operation. Preserve the time and account context.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT sid, serial#, username, status, service_name FROM v$session WHERE username = 'APP_USER';
What the results mean
Remaining sessions describe current state only. The terminated session may already have disappeared, so this query cannot establish who ended it.
Fix the cause and check again
Correlate available audit, administrator change and application logs. Repair the pool's handling of dead connections and confirm whether unfinished work requires rollback or business reconciliation.
Before you make a change
Do not assume a disconnected transaction committed or that the same SID now represents the original session.