dbms_output.put_line

前端 未结 5 1266
旧时难觅i
旧时难觅i 2020-11-28 15:23

Does dbms_output.put_line decrease the performance in plsql code?

5条回答
  •  清酒与你
    2020-11-28 15:47

    You can look into conditional compilation so that the DBMS_OUTPUT.PUT_LINE are only in the pre-parsed code if the procedure is compiled with the appropriate option.

    One question is, has DBMS_OUTPUT.ENABLE been called. If so, any value in a DBMS_OUTPUT.PUT_LINE will be recorded in the session's memory structure. If you continue pushing stuff in there and never taking it out (which might be the case with some application server connections) you might find that after a few days you have a LOT of stuff in memory.

提交回复
热议问题