cursor_sharing = similar , exact 區別
cursor_sharing=similar exact 的區別:
若存在object_id的 histograms ,則每次是不同的值的時候都產生硬解析 ,若不存在 histograms,則不產生硬解析。換句話說,當表的欄位被分析過存在histograms的時候,similar 的表現和exact一樣,當表的欄位沒被分析,不存在histograms的時候,similar的表現和force一樣。這樣避免了一味地如force一樣轉換成變數形式,因為有histograms的情況下轉換成變數之後就容易產生錯誤的執行計劃,沒有利用上統計資訊。而exact呢,在沒有histograms的情況下也要分別產生硬解析,這樣的話,由於執行計劃不會受到資料分佈的影響(因為沒有統計資訊)重新解析是沒有實質意義的。而similar則綜合了兩者的優點。 備註: cursor_sharing=force or similar時,在9205以下的版本BUG不少 。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-613906/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- cursor_sharing : exact , force , similarMILA
- CURSOR_SHARING=SIMILARMILA
- 關於 cursor_sharing = similarMILA
- cursor_sharing=similar深度剖析MILA
- 關於cursor_sharing=similarMILA
- 關於cursor_sharing = similar(ZT)MILA
- ANNOUNCEMENT: Deprecating the cursor_sharing = ‘SIMILAR’MILA
- 關於cursor_sharing = similar (zt)MILA
- cursor_sharing=similar 與 直方圖MILA直方圖
- cursor_sharing設定為similar 的弊端MILA
- Cursor_sharing=SIMILAR取值與直方圖(上)MILA直方圖
- Cursor_sharing=SIMILAR取值與直方圖(下)MILA直方圖
- oracle實驗記錄 (cursor_sharing(2)SIMILAR)OracleMILA
- oracle實驗記錄 (cursor_sharing(1)exact&force)Oracle
- 有關引數cursor_sharing=similar的測試MILA
- [20140802]cursor_sharing=similar.txtMILA
- Oracle 11g 中 cursor_sharing 設定為SIMILAR 導致的問題OracleMILA
- 10203設定CURSOR_SHARING為SIMILAR導致物化檢視重新整理失敗MILA
- oracle cursor_sharing [轉]Oracle
- oracle引數-cursor_sharingOracle
- Oracle9i,10g,11g 使用繫結變數的區別及與cursor_sharing的關係[final]Oracle變數
- 【Leetcode】800. Similar RGB ColorLeetCodeMILA
- AtCoder Beginner Contest 282 G - Similar PermutationMILA
- Oracle 的 cursor_sharing引數Oracle
- 和區別
- #include <> ““區別
- lamplnmplnamp區別LAMPLNMP
- LeetCode之Leaf-Similar Trees(Kotlin)LeetCodeMILAKotlin
- NJUST 1746 Similar Number(南京邀請賽 J題)MILA
- 繫結變數和cursor_sharing變數
- cursor_sharing和substr函式索引函式索引
- Exact Steps To Migrate ASM Diskgroups To Another SAN Without DowntimeASM
- __weak與__block區別,深層理解兩者區別BloC
- MyISAM InnoDB 區別
- ??與?:的區別
- save() create()區別
- 蜂蜜的區別
- if …if 和if …else if 區別