- 最后登录
- 2015-3-31
- 在线时间
- 14 小时
- 威望
- 5
- 金钱
- 52
- 注册时间
- 2012-12-3
- 阅读权限
- 10
- 帖子
- 35
- 精华
- 0
- 积分
- 5
- UID
- 745
|
7#
发表于 2013-8-27 16:28:35
谢谢提醒,version_rpt3_22脚本采集内容如下。不知道跑对了没
SQL> select b.* from v$sqlarea a ,table(version_rpt(a.sql_id,null,'Y')) b where loaded_versions >=100;
COLUMN_VALUE
--------------------------------------------------------------------------------
Version Count Report Version 3.2.2 -- Today's Date 27-aug-13 16:22
RDBMS Version :10.2.0.4.0 Host: p780a Instance 1 : cdld1
==================================================================
Addr: 0700001743F0E4F8 Hash_Value: 55932549 SQL_ID 5mw0ksn1paxn5
Sharable_Mem: 7468277 bytes Parses: 143050
Stmt:
0 INSERT INTO tmp_ic04i5 ( YAB281, AAE001,
1 AAE041, AAE042, AIC020, AAA
2 042, AAA041, BJ, AIC072, LX,
3 AIC075, HJ, AIC041, YAD110,
4 AIC079, AAA043, AAE013) VALUES ( :1,
COLUMN_VALUE
--------------------------------------------------------------------------------
5 :2, :3, :4, :5,
6 :6, :7, :8, :9, :10,
7 :11, :12, :13, :14,
8 :15, :16, :17)
9
Versions Summary
----------------
BIND_MISMATCH :256
OPTIMIZER_MODE_MISMATCH :257
COLUMN_VALUE
--------------------------------------------------------------------------------
Total Versions:256
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursor_sharing = EXACT
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Plan Hash Value Summary
-----------------------
Plan Hash Value Count
=============== =====
0 257
COLUMN_VALUE
--------------------------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Details for BIND_MISMATCH :
Consolidated details for :
BIND_MISMATCH,USER_BIND_PEEK_MISMATCH,BIND_UACS_DIFF and
BIND_EQUIV_FAILURE (Mislabled as ROW_LEVEL_SEC_MISMATCH BY bug 6964441 in 11gR1)
from v$sql_bind_capture
COUNT(*) POSITION MIN(MAX_LENGTH) MAX(MAX_LENGTH) DATATYPE (PRECISION,SCALE)
======== ======== =============== =============== ======== ================
COLUMN_VALUE
--------------------------------------------------------------------------------
14 1 32 32 1 (,)
243 1 22 22 2 (,)
9 2 32 32 1 (,)
248 2 22 22 2 (,)
36 3 32 32 1 (,)
221 3 22 22 2 (,)
41 4 32 32 1 (,)
216 4 22 22 2 (,)
73 5 32 32 1 (,)
184 5 22 22 2 (,)
107 6 32 32 1 (,)
COLUMN_VALUE
--------------------------------------------------------------------------------
150 6 22 22 2 (,)
82 7 32 32 1 (,)
175 7 22 22 2 (,)
115 8 32 32 1 (,)
142 8 22 22 2 (,)
140 9 32 32 1 (,)
117 9 22 22 2 (,)
154 10 32 32 1 (,)
103 10 22 22 2 (,)
163 11 32 32 1 (,)
94 11 22 22 2 (,)
COLUMN_VALUE
--------------------------------------------------------------------------------
89 12 32 32 1 (,)
168 12 22 22 2 (,)
126 13 32 32 1 (,)
131 13 22 22 2 (,)
8 14 32 32 1 (,)
249 14 22 22 2 (,)
257 15 32 32 1 (,)
180 16 32 32 1 (,)
77 16 22 22 2 (,)
257 17 32 32 1 (,)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
COLUMN_VALUE
--------------------------------------------------------------------------------
Details for OPTIMIZER_MODE_MISMATCH :
153 versions with CHOOSE
104 versions with ALL_ROWS
####
To further debug Ask Oracle Support for the appropiate level LLL.
alter session set events
'immediate trace name cursortrace address 55932549, level LLL';
To turn it off do use address 1, level 2147483648
================================================================
87 rows selected. |
|