Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

6

主题
1#
发表于 2013-6-4 16:46:17 | 查看: 5285| 回复: 6
环境win2003
oracle 10g
内存参数如下:
SQL> show parameter sga

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------
sga_max_size                         big integer 1552M
sga_target                           big integer 1552M
SQL> show parameter pga

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------
pga_aggregate_target                 big integer 500M
SQL> show parameter process

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------
processes                            integer     150
SQL> show parameter session

NAME                                 TYPE        VALUE
------------------------------------ ----------- --------
sessions                             integer     170

最近系统总报ora-04030 错误:

Sat Jun 01 15:45:39 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mman_2976.trc:
ORA-04030: out of process memory when trying to allocate  bytes (,)

Sat Jun 01 15:45:39 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_lgwr_3048.trc:
ORA-04030: out of process memory when trying to allocate  bytes (,)

Sat Jun 01 15:45:39 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_dbw0_2996.trc:
ORA-04030: out of process memory when trying to allocate  bytes (,)

Sat Jun 01 15:45:40 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_psp0_2960.trc:
ORA-04030: out of process memory when trying to allocate  bytes (,)

Sat Jun 01 15:46:09 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_q001_4120.trc:
ORA-04030: out of process memory when trying to allocate  bytes (,)

Sat Jun 01 15:47:02 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_reco_3088.trc:
ORA-04030: out of process memory when trying to allocate  bytes (,)

Sat Jun 01 15:47:02 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_smon_3080.trc:
ORA-04030: out of process memory when trying to allocate  bytes (,)

Mon Jun 03 15:00:43 2013
Errors in file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m001_5180.trc:
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 40972 bytes (koh-kghu sessi,static frame of inst)
ORA-06512: at "SYS.PRVT_HDM", line 112
ORA-04030: out of process memory when trying to allocate 40972 bytes (koh-kghu sessi,static frame of inst)
ORA-06512: at line 1

附orcl_m001_5180.trc
Dump file e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_m001_5180.trc
Mon Jun 03 15:00:43 2013
ORACLE V10.2.0.1.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
Windows Server 2003 Version V5.2 Service Pack 2
CPU                 : 32 - type 586, 4 Physical Cores
Process Affinity    : 0x00000000
Memory (Avail/Total): Ph:63471M/65535M, Ph+PgF:64519M/66984M, VA:20M/2047M
Instance name: orcl

Redo thread mounted by this instance: 1

Oracle process number: 81

Windows thread id: 5180, image: ORACLE.EXE (m001)


*** ACTION NAME:(Auto ADDM Slave Action) 2013-06-03 15:00:43.562
*** MODULE NAME:(MMON_SLAVE) 2013-06-03 15:00:43.562
*** SERVICE NAME:(SYS$BACKGROUND) 2013-06-03 15:00:43.562
*** SESSION ID:(64.491) 2013-06-03 15:00:43.562
KSV 604 error in slave process
*** 2013-06-03 15:00:43.562
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 40972 bytes (koh-kghu sessi,static frame of inst)
ORA-06512: at "SYS.PRVT_HDM", line 112
ORA-04030: out of process memory when trying to allocate 40972 bytes (koh-kghu sessi,static frame of inst)
ORA-06512: at line 1
OPIRIP: Uncaught error 447. Error stack:
ORA-00447: fatal error in background process
ORA-00604: error occurred at recursive SQL level 1
ORA-04030: out of process memory when trying to allocate 40972 bytes (koh-kghu sessi,static frame of inst)
ORA-06512: at "SYS.PRVT_HDM", line 112
ORA-04030: out of process memory when trying to allocate 40972 bytes (koh-kghu sessi,static frame of inst)
ORA-06512: at line 1

请问:Memory (Avail/Total): Ph:63471M/65535M, Ph+PgF:64519M/66984M, VA:20M/2047M 怎么解读呢?
是什么原因造成总是内存不足啊?
2#
发表于 2013-6-4 16:50:31
上传完整的  e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mman_2976.trc 、alert.log和 近期的AWR

回复 只看该作者 道具 举报

3#
发表于 2013-6-5 01:41:28
select * from v$vession 贴出来结果 (看是否是32位)

回复 只看该作者 道具 举报

4#
发表于 2013-6-7 10:44:24

附件已经上传~感谢

awrrpt_1_1978_1987.html

260.31 KB, 下载次数: 677

alert_orcl (1).txt

272.17 KB, 下载次数: 659

回复 只看该作者 道具 举报

5#
发表于 2013-6-7 10:44:54
xifenfei 发表于 2013-6-5 01:41
select * from v$vession 贴出来结果 (看是否是32位)

是32位的

回复 只看该作者 道具 举报

6#
发表于 2013-6-7 17:07:46
1、文件不压缩 不打包
2、 要求上传的 e:\oracle\product\10.2.0\admin\orcl\bdump\orcl_mman_2976.trc  不上传
3、32bit +windows

由于以上原因,此问题不再继续看下去

回复 只看该作者 道具 举报

7#
发表于 2013-6-8 00:27:11
lonnyhe 发表于 2013-6-7 10:44
是32位的

是不是超过了sga+pga等超过2G,导致无法分配

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-12-29 01:32 , Processed in 0.051522 second(s), 23 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569