How to Easily Find Out What SQL Statement a Process is Running at Any Given Time (Doc ID 1528467.1)

Last updated on MAY 02, 2013

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.3 [Release 11.1 to 11.2]
Information in this document applies to any platform.

Goal

These simple steps can be useful when you need to find exactly what sql statement a process is running at any particular time. This could be useful in different scenarios such as trying to easily and quickly find out what a specific user is doing for whatever reason. Maybe a user is running a program that is using a lot OS resources, for example. This feature is only available starting with Oracle 11i.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms