補充:小心設定cursor_sharing=force引數
轉載自:http://www.itpub.net/351520,2.html
摘自:expert one-on-one oracle (P554)
設定cussor_sharing=force之後,會有以下的情況:
• Optimizer related issues – CURSOR_SHARING will remove all character string
and numeric constants from the query; the optimizer will have less information to
work with. This may very well result in different query plans.
• Query output related issues – The lengths of columns that your query fetches will
unexpectedly change. Queries that used to return a VARCHAR2(5) and a
NUMBER(2), might start returning a VARCHAR2(30) and a NUMBER(5). The
actual size of the data returned wonʹt change, but the application will be told the
potential for a 30 byte column is there – reports and other related applications may
be affected.
• Query plans are harder to evaluate – This is due to the fact that EXPLAIN PLAN
will ʹseeʹ a different query than the database does. This makes query tuning more
difficult. Features like AUTOTRACE in SQL*PLUS are unreliable with
CURSOR_SHARING.
摘自:expert one-on-one oracle (P554)
設定cussor_sharing=force之後,會有以下的情況:
• Optimizer related issues – CURSOR_SHARING will remove all character string
and numeric constants from the query; the optimizer will have less information to
work with. This may very well result in different query plans.
• Query output related issues – The lengths of columns that your query fetches will
unexpectedly change. Queries that used to return a VARCHAR2(5) and a
NUMBER(2), might start returning a VARCHAR2(30) and a NUMBER(5). The
actual size of the data returned wonʹt change, but the application will be told the
potential for a 30 byte column is there – reports and other related applications may
be affected.
• Query plans are harder to evaluate – This is due to the fact that EXPLAIN PLAN
will ʹseeʹ a different query than the database does. This makes query tuning more
difficult. Features like AUTOTRACE in SQL*PLUS are unreliable with
CURSOR_SHARING.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-82784/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 小心設定cursor_sharing=force引數
- cursor_sharing : exact , force , similarMILA
- Oracle升級中的引數補充Oracle
- oracle引數-cursor_sharingOracle
- Oracle 的 cursor_sharing引數Oracle
- innodb_force_recovery設定
- ORACLE中Cursor_sharing引數詳解Oracle
- 【補充】送給你們的小心心之css偽元素CSS
- vsftpd設定引數FTP
- RAC 特定引數設定
- 兩個引數設定
- cursor_sharing=force導致sql profile部分hint失效SQL
- Metasploit設定LHOST引數技巧
- Metasploit設定VERBOSE引數技巧
- pandas引數設定小技巧
- Metasploit設定HttpTrace引數技巧HTTP
- tomcat vm 引數設定Tomcat
- JVM常見引數設定JVM
- JVM引數設定大氣JVM
- SAP系統引數設定
- SAP 系統引數設定
- ORACLE JOB INTERVAL引數設定Oracle
- chrome啟動引數設定Chrome
- 設定NLS_LANG引數
- oracle實驗記錄 (cursor_sharing(1)exact&force)Oracle
- Oracle一些引數的理解 cursor_sharingOracle
- 有關引數cursor_sharing=similar的測試MILA
- 『動善時』JMeter基礎 — 25、JMeter引數化補充練習JMeter
- Swift語言中為外部引數設定預設值可變引數常量引數變數引數輸入輸出引數Swift變數
- cursor_sharing設定為similar 的弊端MILA
- cursor_sharing=force強制繫結變數不會把變數值預設當成varchar2型別的理解變數型別
- Oracle CSS的引數設定 心跳時間設定OracleCSS
- [20150513]函式索引與CURSOR_SHARING=FORCE函式索引
- 【SQL 效能優化】引數設定SQL優化
- SAP 系統引數設定(zt)
- DBReplicator設定setpath.bat引數BAT
- javascript為函式設定預設引數JavaScript函式
- AIX7.1 VMO 引數預設設定AI