Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to get the SQL query of a blocking sid during a lock contention
<darthmind_at_gmail.com> wrote in message
news:1121098211.210719.294000_at_g47g2000cwa.googlegroups.com...
> We need to identify the SQL query a process is executing that's
> creating a lock contention; how do we do that? For example, with MSS
> one can do 'DBCC INPUTBUFFER(spid)'
>
> tia
>
> -t
>
Remember unlike SQL Server in Oracle readers don't block writers and writers
don't block readers. (and readers don't block readers)
Jim
Received on Mon Jul 11 2005 - 20:37:03 CDT