- 最后登录
- 2015-10-10
- 在线时间
- 4 小时
- 威望
- 0
- 金钱
- 29
- 注册时间
- 2015-2-13
- 阅读权限
- 10
- 帖子
- 6
- 精华
- 0
- 积分
- 0
- UID
- 2297
|
1#
发表于 2015-3-11 11:54:12
|
查看: 5043 |
回复: 2
在执行完oracle自动优化任务后,在接受产生的sql profile的时候产生如下报错:
SQL> execute dbms_sqltune.accept_sql_profile(task_name => 'tuning_sql_test',task_owner => 'POSP', replace => TRUE);
BEGIN dbms_sqltune.accept_sql_profile(task_name => 'tuning_sql_test',task_owner => 'POSP', replace => TRUE); END;
*
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "SYS.DBMS_SQLTUNE_INTERNAL", line 16446
ORA-06512: at "SYS.PRVT_SQLPROF_INFRA", line 31
ORA-06512: at "SYS.DBMS_SQLTUNE", line 7544
ORA-06512: at "SYS.DBMS_SQLTUNE", line 7568
ORA-06512: at line 1
请大神看看是什么原因造成的,感谢
|
|