My Oracle Support Banner

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

Last updated on AUGUST 10, 2020

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.1 to 11.2]
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Information in this document applies to any platform.


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.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.