cursor_sharing用法
1,oracle 測(cè)試版本
SQL> select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE??? 10.2.0.1.0????? Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
EXACT是cursor_sharing參數(shù)的默認(rèn)選項(xiàng),表示含義是不進(jìn)行SQL條件自動(dòng)綁定變量替換
SQL> show parameter cursor_sharing;
NAME???????????????????????????????? TYPE??????? VALUE
------------------------------------ ----------- ------------------------------
cursor_sharing?????????????????????? string????? EXACT
在cursor_sharing為EXACT的情況下,只要SQL字面值存在差異,就不會(huì)進(jìn)行任何SQL shared cursor。
http://space.itpub.net/?uid-17203031-action-viewspace-itemid-705196
轉(zhuǎn)載于:https://www.cnblogs.com/alang85/archive/2011/09/03/2165297.html
總結(jié)
以上是生活随笔為你收集整理的cursor_sharing用法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: R做并行计算
- 下一篇: [Silverlight入门系列]使用M