- 最后登录
- 2015-6-28
- 在线时间
- 14 小时
- 威望
- 78
- 金钱
- 483
- 注册时间
- 2011-12-27
- 阅读权限
- 50
- 帖子
- 28
- 精华
- 0
- 积分
- 78
- UID
- 127
|
4#
发表于 2012-6-26 14:27:28
取不到AWR,要求输入DBID,重开一个终端查DBID又报错。
SQL> conn / as sysdba
Connected.
SQL> @awrrpt
Current Instance
~~~~~~~~~~~~~~~~
select d.dbid dbid
*
ERROR at line 1:
ORA-04031: unable to allocate 3896 bytes of shared memory ("shared
pool","select d.dbid dbi...","sga heap(1,0)","kglsim object batch")
begin
*
ERROR at line 1:
ORA-04031: unable to allocate 3896 bytes of shared memory ("shared pool","begin
:rpt_options := 0;
end;","sga heap(1,0)","kglsim object batch")
Specify the Report Type
~~~~~~~~~~~~~~~~~~~~~~~
Would you like an HTML report, or a plain text report?
Enter 'html' for an HTML report, or 'text' for plain text
Defaults to 'html'
Enter value for report_type: text
select 'Type Specified: ',lower(nvl('text','html')) report_type from dual
*
ERROR at line 1:
ORA-04031: unable to allocate 3896 bytes of shared memory ("shared
pool","select 'Type Specified: ',lo...","sga heap(1,0)","kglsim object batch")
ERROR:
ORA-04031: unable to allocate 3896 bytes of shared memory ("shared pool","BEGIN
DBMS_OUTPUT.ENABLE(NUL...","sga heap(1,0)","kglsim object batch")
Instances in this Workload Repository schema
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
from dba_hist_database_instance wr, v$database cd, v$instance ci
*
ERROR at line 13:
ORA-04031: unable to allocate 4064 bytes of shared memory ("shared
pool","select distinct
(case...","sga heap(1,0)","kglsim heap")
Enter value for dbid:
附查DBID的报错:
SQL> conn / as sysdba
Connected.
SQL> select dbid from v$database;
select dbid from v$database
*
ERROR at line 1:
ORA-04031: unable to allocate 3896 bytes of shared memory ("shared pool","unknown object","sga heap(1,0)","kglsim object batch")
SQL> select dbid from v$database;
select dbid from v$database
*
ERROR at line 1:
ORA-04031: unable to allocate 3896 bytes of shared memory ("shared pool","select dbid from v$database","sga heap(1,0)","kglsim object batch")
[ 本帖最后由 tsx197 于 2012-6-26 16:08 编辑 ] |
|