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 JANUARY 09, 2025

Applies to:

Oracle Database - Enterprise Edition - Version 11.1.0.6 to 11.2.0.3 [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.

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

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
Goal
Solution
References

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