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