Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: trace sql without session_id and serial#
Steve Robin <ocmaman_at_gmail.com> wrote:
> My current database so many users are connected. SQL trace is off. I
> need to trace a developer session. I just have osname and username.
> Session is not connected right now. As soon as he connects some sql
> fired from that session. I know how trace it after he connects I can
> see session info from v$session but without knowing session id and
> serial#, how can I trace with osuser and username only.
>
> I cann't restart database, because so many people are working on it.
You could turn on tracing for this session in a login trigger.
Yours,
Laurenz Albe
Received on Thu Jul 26 2007 - 03:10:41 CDT