|
|
Re: Is there a way to find out a killed session associated sql [message #652569 is a reply to message #652566] |
Tue, 14 June 2016 03:27 |
cookiemonster
Messages: 13958 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
Unless you've got auditing of selects on a doubt it. Statspack aggregates SQL across sessions so won't be much help.
Really you needed to see what the other session was doing before you killed it.
Also the SQL it was running at the point you killed it might not be the SQL that generated the lock that was blocking you since all locks are held for the duration of a transaction and the transaction may well be multiple SQL statements.
|
|
|
|
|
|
|