dbms_output.put_line [英] dbms_output.put_line

查看:85
本文介绍了dbms_output.put_line的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

dbms_output.put_line是否会降低plsql代码中的性能?

Does dbms_output.put_line decrease the performance in plsql code?

推荐答案

每个额外的一行代码都会降低代码的性能.毕竟,这是一条额外的要执行的指令,至少要消耗一些CPU.因此,是的,dbms_output.put_line会降低性能.

Every extra line of code decreases the performance of code. After all, it is an extra instruction to be executed, which at least consumes some CPU. So yes, dbms_output.put_line decreases the performance.

真正的问题是:这额外的代码行的好处是否超过性能损失?只有您可以回答这个问题.

The real question is: does the benefit of this extra line of code outweigh the performance penalty? Only you can answer that question.

关于,
罗布.

Regards,
Rob.

这篇关于dbms_output.put_line的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆