Have PL/SQL Outputs in Real Time

前端 未结 6 1872
陌清茗
陌清茗 2021-01-03 02:37

Is it possible to have Outputs from PL/SQL in real time? I have a pretty huge package that runs for more than an hour and I\'d like to see where the package is at a particul

6条回答
  •  南笙
    南笙 (楼主)
    2021-01-03 02:52

    I don't know if this is exactly what you want but I use dbms_application_info.set_module to see where my package is.

    dbms_application_info.set_module(module_name => 'Conversion job',
                                     action_name => 'updating table_x'); 
    

    A query on v$session will show you which part of the procedure is running.

提交回复
热议问题