Have PL/SQL Outputs in Real Time

前端 未结 6 1822
陌清茗
陌清茗 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:40

    you could use autonomous transactions (as suggested in this SO for example).

    This would allow you to write and commit in a log table without commiting the main transaction. You would then be able to follow what happens in your main script while it is running (incidentally, it will also allow you to time/tune your batch).

提交回复
热议问题