Table of Contents

DBMS_APPLICATION_INFO to manage long-running operation

oracle debug

About

Long running operation is defined as longer than three to five seconds.

If you execute a long-running command, a dynamic performance view VSESSION_LONGOPS will be populated with information with the following information :

DBMS_APPLICATION_INFO can help to answer this question :

DBMS_APPLICATION_INFO allows you to set up to three columns in your row of the VSESSION table :

The value you set in the V$ tables are immediately visible. You do not need to commit them to see them, making them very useful for communcating with the outside world

You can use :

Reference