cursor_sharing用法
1,oracle 測試版本
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參數的默認選項,表示含義是不進行SQL條件自動綁定變量替換
SQL> show parameter cursor_sharing;
NAME???????????????????????????????? TYPE??????? VALUE
------------------------------------ ----------- ------------------------------
cursor_sharing?????????????????????? string????? EXACT
在cursor_sharing為EXACT的情況下,只要SQL字面值存在差異,就不會進行任何SQL shared cursor。
http://space.itpub.net/?uid-17203031-action-viewspace-itemid-705196
轉載于:https://www.cnblogs.com/alang85/archive/2011/09/03/2165297.html
總結
以上是生活随笔為你收集整理的cursor_sharing用法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: R做并行计算
- 下一篇: [Silverlight入门系列]使用M