How do I log/trace Oracle stored procedure calls with parameter values?

后端 未结 4 1578
不思量自难忘°
不思量自难忘° 2020-12-19 14:10

We\'re looking for a way to log any call to stored procedures in Oracle, and see what parameter values were used for the call.

We\'re using Oracle 10.2.0.1

W

4条回答
  •  青春惊慌失措
    2020-12-19 15:00

    You could take a look at the DBMS_APPLICATION_INFO package. This allows you to "instrument" your PL/SQL code with whatever information you want - but it does entail adding calls to each procedure to be instrumented.

    See also this AskTom thread on using DBMS_APPLICATION_INFO to monitor PL/SQL.

提交回复
热议问题