Application Engine ReUse Statement in PeopleSoft
发布日期:2021-10-24 14:20:44 浏览次数:3 分类:技术文章

本文共 1002 字,大约阅读时间需要 3 分钟。

The ReUse in Application Engine was brought to my attention by a great blog that I follow regularly.  The original post can be found at http://peoplesofttipster.com/2007/07/31/reuse-in-app-engines/

The ReUse statement setting on an Application Engine is a great way to increase performance. It’s useful when you have a SQL object that is called multiple times, for instance when you have a DoSelect that runs a SQL Step repeatedly, substituting different Bind variables in each time.

The default setting for ReUse is ‘No’, which means that each time the SQL Step is called it is recompiled and new execution plan generated, bad news if the SQL has to run a large number of times. If the ReUse setting is ‘Yes’ then any %Binds in the SQL statement are converted into ‘:1’, ‘:2’ etc. This means the statement can just be compiled once and the same plan used each time, resulting in really quite dramatic improvements in processing time.

转载于:https://www.cnblogs.com/GoDevil/archive/2008/08/26/1276670.html

转载地址:https://blog.csdn.net/weixin_30791095/article/details/98007828 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:Sandcastle+SandcastleHelpFileBuilder生成说明文档
下一篇:网站设计的三个“中国式设计”方向

发表评论

最新留言

很好
[***.229.124.182]2024年03月29日 11时17分57秒