求助CDC ORA-04030手机内存不足怎么清理

在使用expdp命令时。报ora-04030错误。重要么?
全部答案(共1个回答)
用记事本新建一个文本文件,输入at 10:50 shutdown -s -f,然后保存,文件类型选所有文件,名称为 t就行。
我上传一个吧。
答: 用驱动精灵安装驱动试试
答: 什么是计算机网络技术?
计算机网络技术是通信技术与计算机技术相结合的产物。计算机网络是按照网络协议,将地球上分散的、独立的计算机相互连接的集合。连接介质可以是电...
答: 程序员、高校专业老师、发烧友
大家还关注
Copyright &
Corporation, All Rights Reserved
确定举报此问题
举报原因(必选):
广告或垃圾信息
激进时政或意识形态话题
不雅词句或人身攻击
侵犯他人隐私
其它违法和不良信息
报告,这不是个问题
报告原因(必选):
这不是个问题
这个问题分类似乎错了
这个不是我熟悉的地区
相关问答:123456789101112131415请教oralce11G32位报ora-04030错误原因及解决方法_百度知道
请教oralce11G32位报ora-04030错误原因及解决方法
我有更好的答案
不同的平台下有不同的设置方法。一般情况下,不用修改注册表的手动创建完数据库后,设置一下环境变量oracle_sid试试。这样重新计算机后,启动数据库,应该就好了 ,新建一个系统变量,名称为oracle_sid,值为你创建的实例名称。windows下,在我的电脑属性高级下面有一个环境变量
安装后正常运行几个月应用程序和数据库参数没有做任何改动的情况下前两个星期突然间出现而且最近两个星期每天都出现,现在只能重启db才能暂时解决
为您推荐:
其他类似问题
换一换
回答问题,赢新手礼包
个人、企业类
违法有害信息,请在下方选择后提交
色情、暴力
我们会通过消息、邮箱等方式尽快将举报结果通知您。他的最新文章
他的热门文章
您举报文章:
举报原因:
原文地址:
原因补充:
(最多只允许输入30个字)java.sql.SQLException: ORA-04030: 在尝试分配 64528 字节 (sort subheap,sort key)时进程内存不足?
<span type="1" blog_id="1611985" userid='
分享到朋友圈
好的文章,和好友一起分享查看: 3910|回复: 5
求助 CDC ORA-04030内存不足
论坛徽章:86
测试Oracle change data capture时的问题。
SQL& select * from v$
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE& & 11.2.0.1.0& && &Production
TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL& show sga
Total System Global Area
Fixed Size& && && && && && &1377472 bytes
Variable Size& && && && &
Database Buffers& && && & bytes
Redo Buffers& && && && && & bytes
SQL& show parameter sga
NAME& && && && && && && && && && && &TYPE& && &&&VALUE
------------------------------------ ----------- ------------------------------
lock_sga& && && && && && && && && &&&boolean& &&&FALSE
pre_page_sga& && && && && && && && & boolean& &&&FALSE
sga_max_size& && && && && && && && & big integer 1504M
sga_target& && && && && && && && && &big integer 1504M
SQL& show parameter pool_size
NAME& && && && && && && && && && && &TYPE& && &&&VALUE
------------------------------------ ----------- ------------------------------
_shared_io_pool_size& && && && && &&&big integer 0
global_context_pool_size& && && && & string
java_pool_size& && && && && && && &&&big integer 0
large_pool_size& && && && && && && & big integer 8M
olap_page_pool_size& && && && && && &big integer 0
shared_pool_size& && && && && && && &big integer 0
streams_pool_size& && && && && && &&&big integer 0
SQL& show parameter pga
NAME& && && && && && && && && && && &TYPE& && &&&VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_target& && && && && &&&big integer 1G
SQL& create user cdcpub
用户已创建。
SQL& grant execute_catalog_
授权成功。
SQL& grant select_catalog_
授权成功。
SQL& grant cr
授权成功。
SQL& grant crea
授权成功。
SQL& grant creat
授权成功。
授权成功。
SQL& grant execute on dbms_cdc_
授权成功。
SQL& execute dbms_streams_auth.grant_admin_privilege(grantee=&'cdcpub');
PL/SQL 过程已成功完成。
提交完成。
SQL& conn test/test
表已删除。
SQL& create table t as select * from dba_objects where rownum&100;
表已创建。
SQL& alter table t add constraint pk_t primary key (object_id)
表已更改。
SQL& grant all on test.
授权成功。
SQL& conn cdcpub/
SQL& begin
&&2&&dbms_capture_adm.prepare_table_instantiation(
&&3&&table_name=&'test.t');
PL/SQL 过程已成功完成。
SQL& begin
&&2&&dbms_cdc_publish.create_change_set(
&&3&&change_set_name=&'test_t_hotlog',
&&4&&description=&'hotlog change set for test.t',
&&5&&change_source_name=&'HOTLOG_SOURCE',
&&6&&stop_on_ddl=&'y',
&&7&&begin_date=&sysdate);
PL/SQL 过程已成功完成。
SQL& begin
&&2&&dbms_cdc_publish.create_change_table(
&&3&&owner=&'cdcpub',
&&4&&change_table_name=&'test_t_hotlog',
&&5&&change_set_name=&'test_t_hotlog',
&&6&&source_schema=&'test',
&&7&&source_table=&'t',
&&8&&column_type_list=&'&&OWNER& && && & VARCHAR2(30),
&&9& & OBJECT_NAME& & VARCHAR2(128),
10& & SUBOBJECT_NAME VARCHAR2(30),
11& & OBJECT_ID& && &NUMBER,
12& & DATA_OBJECT_ID NUMBER,
13& & OBJECT_TYPE& & VARCHAR2(19),
14& & CREATED& && &&&DATE,
15& & LAST_DDL_TIME&&DATE,
16& & TIMESTAMP& && &VARCHAR2(19),
17& & STATUS& && && &VARCHAR2(7),
18& & TEMPORARY& && &VARCHAR2(1),
19& & GENERATED& && &VARCHAR2(1),
20& & SECONDARY& && &VARCHAR2(1),
21& & NAMESPACE& && &NUMBER,
22& & EDITION_NAME& &VARCHAR2(30)',
23&&capture_values=&'both',
24&&rs_id=&'y',
25&&row_id=&'n',
26&&user_id=&'n',
27&&timestamp=&'n',
28&&object_id=&'n',
29&&source_colmap=&'n',
30&&target_colmap=&'y',
31&&options_string=&'tablespace users');
PL/SQL 过程已成功完成。
SQL& begin
&&2&&dbms_cdc_publish.alter_change_set(
&&3&&change_set_name=&'test_t_hotlog',
&&4&&enable_capture=&'y');
PL/SQL 过程已成功完成。
SQL& select operation$,count(*) from cdcpub.test_t_hotlog group by operation$;
SQL& conn test/test
SQL& delete from t where rownum&11;
已删除10行。
提交完成。
SQL& select min(object_id)
MIN(OBJECT_ID)& && && && && && && && && && && && && && && && && && && && && && &
--------------& && && && && && && && && && && && && && && && && && && && && && &
& && && && &12& && && && && && && && && && && && && && && && && && && && && && &
SQL& insert into t select * from dba_objects where object_id&12;
已创建10行。
提交完成。
SQL& update t set owner='AAA' where owner='SYS';
已更新99行。
提交完成。
SQL& select operation$,count(*) from cdcpub.test_t_hotlog group by operation$;
OP& &COUNT(*)& && && && && && && && && && && && && && && && && && && && && && &
-- ----------& && && && && && && && && && && && && && && && && && && && && && &
UO& && && &99& && && && && && && && && && && && && && && && && && && && && && &
UN& && && &99& && && && && && && && && && && && && && && && && && && && && && &
D& && && & 10& && && && && && && && && && && && && && && && && && && && && && &
I& && && & 10& && && && && && && && && && && && && && && && && && && && && && &
至此,一切正常
但是,继续再增加change_set
表已删除。
SQL& create table x as select * from dba_objects where rownum&100;
表已创建。
SQL& alter table x add constraint pk_x primary key (object_id);
表已更改。
SQL& grant all on test.
授权成功。
SQL& conn cdcpub/
SQL& begin
&&2&&dbms_capture_adm.prepare_table_instantiation(
&&3&&table_name=&'test.x');
PL/SQL 过程已成功完成。
SQL& begin
&&2&&dbms_cdc_publish.create_change_set(
&&3&&change_set_name=&'test_x_hotlog',
&&4&&description=&'hotlog change set for test.x',
&&5&&change_source_name=&'HOTLOG_SOURCE',
&&6&&stop_on_ddl=&'y',
&&7&&begin_date=&sysdate);
第 1 行出现错误:
ORA-16038: 日志 2 sequence# 1975 无法归档
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1:
'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
ORA-06512: 在 &SYS.DBMS_CAPTURE_ADM_INTERNAL&, line 141
ORA-06512: 在 line 1
ORA-06512: 在 &SYS.DBMS_CDC_PUBLISH&, line 705
ORA-06512: 在 line 2
alert文件:
ALTER SYSTEM ARCHIVE LOG
Tue Jul 27 13:39:05 2010
Thread 1 advanced to log sequence 1976 (LGWR switch)
&&Current log# 3 seq# 1976 mem# 0: C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO03.LOG
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_ora_5536.trc&&(incident=171300):
ORA-04030: 在尝试分配 8389132 字节 (pga heap,redo overflow buffer) 时进程内存不足
Incident details in: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171300\test_ora_.trc
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_ora_5536.trc:
ORA-04030: 在尝试分配 8389132 字节 (pga heap,redo overflow buffer) 时进程内存不足
ARCH: Error 4030 opening/verifying online redo log 2
Tue Jul 27 13:39:10 2010
Trace dumping is performing id=[cdmp_10]
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_ora_5536.trc&&(incident=171301):
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
Incident details in: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171301\test_ora_.trc
Tue Jul 27 13:39:11 2010
LOGMINER: End& &mining logfile for session 14 thread 1 sequence 1975, C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG
Tue Jul 27 13:39:11 2010
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_m001_7192.trc&&(incident=171292):
ORA-04030: 在尝试分配 1049100 字节 (pga heap,log read buffer) 时进程内存不足
Incident details in: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171292\test_m001_.trc
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_ora_5536.trc&&(incident=171302):
ORA-04030: 在尝试分配 1049100 字节 (pga heap,log read buffer) 时进程内存不足
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
Incident details in: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171302\test_ora_.trc
LOGMINER: Begin mining logfile for session 14 thread 1 sequence 1976, C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO03.LOG
Tue Jul 27 13:39:14 2010
Sweep [inc][171300]: completed
Trace dumping is performing id=[cdmp_14]
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_m002_7304.trc&&(incident=171308):
ORA-04030: 在尝试分配 262176 字节 (dbgxutlHeapAll,dbgxutlOra广告lloc:mem) 时进程内存不足
Incident details in: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171308\test_m002_.trc
Tue Jul 27 13:39:16 2010
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171301\test_ora_.trc:
ORA-04030: 在尝试分配 1049100 字节 (pga heap,log read buffer) 时进程内存不足
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
Tue Jul 27 13:39:16 2010
Archived Log entry 883 added for thread 1 sequence 1975 ID 0x7849389b dest 1:
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_ora_5536.trc&&(incident=171303):
ORA-04030: 在尝试分配 1049100 字节 (pga heap,log read buffer) 时进程内存不足
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171301\test_ora_.trc:
ORA-04030: 在尝试分配 1049100 字节 (pga heap,log read buffer) 时进程内存不足
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
Errors in file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_ora_5536.trc:
ORA-16038: 日志 2 sequence# 1975 无法归档
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
Tue Jul 27 13:40:11 2010
Sweep [inc][171308]: completed
Sweep [inc][171303]: completed
Sweep [inc][171302]: completed
Sweep [inc][171301]: completed
Sweep [inc][171292]: completed
Sweep [inc2][171300]: completed
Sweep [inc2][171308]: completed
Sweep [inc2][171302]: completed
Sweep [inc2][171301]: completed
Sweep [inc2][171292]: completed
test_ora_5536.trc:
Trace file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_ora_5536.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning option
Windows NT Version V6.1&&
CPU& && && && && &&&: 2 - type 586, 2 Physical Cores
Process Affinity& & : 0x0x
Memory (Avail/Total): Ph:454M/2042M, Ph+PgF:704M/4085M, VA:61M/2047M
Instance name: test
Redo thread mounted by this instance: 1
Oracle process number: 44
Windows thread id: 5536, image: ORACLE.EXE (SHAD)
13:38:56.055
*** SESSION ID:(31.8)
13:38:56.055
*** CLIENT ID:()
13:38:56.055
*** SERVICE NAME:(SYS$USERS)
13:38:56.055
*** MODULE NAME:(SQL*Plus)
13:38:56.055
*** ACTION NAME:()
13:38:56.055
prvtaqis - Enter
prvtaqis subtab_name upd
prvtaqis sys table upd
13:39:06.331
Symbol file C:\oracle\app\Administrator\product\11.2.0\dbhome_1\BIN\oracommon11.SYM does not match binary.
Symbol TimeStamp=4bb5eaac, Module TimeStamp=0 are different
Symbol file C:\oracle\app\Administrator\product\11.2.0\dbhome_1\BIN\orasnls11.SYM does not match binary.
Symbol TimeStamp=4b72a07e, Module TimeStamp=0 are different
13:39:06.448
Symbol file C:\oracle\app\Administrator\product\11.2.0\dbhome_1\BIN\oraclsra11.SYM does not match binary.
Symbol TimeStamp=4bb4cf99, Module TimeStamp=0 are different
EnumerateLoadedModules64 failed with error -
Symbol file oraclsra11.SYM does not match binary.
Symbol TimeStamp=4bb4cf99, Module TimeStamp=0 are different
Symbol file orasnls11.SYM does not match binary.
Symbol TimeStamp=4b72a07e, Module TimeStamp=0 are different
Symbol file oracommon11.SYM does not match binary.
Symbol TimeStamp=4bb5eaac, Module TimeStamp=0 are different
Incident 171300 created, dump file: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171300\test_ora_.trc
ORA-04030: 在尝试分配 8389132 字节 (pga heap,redo overflow buffer) 时进程内存不足
kcrfrxini: memory allocation exception 4030
ORA-04030: 在尝试分配 8389132 字节 (pga heap,redo overflow buffer) 时进程内存不足
13:39:10.347 4132 krsh.c
ARCH: Error 4030 opening/verifying online redo log 2
DDE rules only execution for: ORA 312
----- START Event Driven Actions Dump ----
---- END Event Driven Actions Dump ----
----- START DDE Actions Dump -----
Executing SYNC actions
----- START DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
Successfully dispatched
----- END DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (SUCCESS, 0 csec) -----
Executing ASYNC actions
----- END DDE Actions Dump (total 0 csec) -----
EnumerateLoadedModules64 failed with error 0
Symbol file oraclsra11.SYM does not match binary.
Symbol TimeStamp=4bb4cf99, Module TimeStamp=0 are different
13:39:10.457
Symbol file orasnls11.SYM does not match binary.
Symbol TimeStamp=4b72a07e, Module TimeStamp=0 are different
Symbol file oracommon11.SYM does not match binary.
Symbol TimeStamp=4bb5eaac, Module TimeStamp=0 are different
Incident 171301 created, dump file: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171301\test_ora_.trc
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
Incident 171302 created, dump file: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171302\test_ora_.trc
ORA-04030: 在尝试分配 1049100 字节 (pga heap,log read buffer) 时进程内存不足
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
13:39:17.489
ORA-16038: 日志 2 sequence# 1975 无法归档
ORA-04030: 在尝试分配&&字节 (,) 时进程内存不足
ORA-00312: 联机日志 2 线程 1: 'C:\ORACLE\APP\ADMINISTRATOR\ORADATA\TEST\REDO02.LOG'
test_m001_7192.trc:
Trace file c:\oracle\app\administrator\diag\rdbms\test\test\trace\test_m001_7192.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning option
Windows NT Version V6.1&&
CPU& && && && && &&&: 2 - type 586, 2 Physical Cores
Process Affinity& & : 0x0x
Memory (Avail/Total): Ph:441M/2042M, Ph+PgF:689M/4085M, VA:41M/2047M
Instance name: test
Redo thread mounted by this instance: 1
Oracle process number: 43
Windows thread id: 7192, image: ORACLE.EXE (M001)
13:39:10.553
*** SESSION ID:(142.17)
13:39:10.553
*** CLIENT ID:()
13:39:10.553
*** SERVICE NAME:(SYS$BACKGROUND)
13:39:10.553
*** MODULE NAME:(MMON_SLAVE)
13:39:10.553
*** ACTION NAME:(DDE async action)
13:39:10.553
========= Dump for error ORA 312 (no incident) ========
----- DDE Action: 'DB_STRUCTURE_INTEGRITY_CHECK' (Async) -----
dbkh_reactive_run_check: BEGIN
dbkh_reactive_run_check:; incident_id=0
dbkh_run_check_internal: BEGIN; check_namep=DB Structure Integrity Check, run_namep=&null&
dbkh_run_check_internal: BEGIN; timeout=0
dbkh_run_check_internal: AFTER RUN CREATE; run_id=2261
13:39:11.756
EnumerateLoadedModules64 failed with error 0
Symbol file oraclsra11.SYM does not match binary.
Symbol TimeStamp=4bb4cf99, Module TimeStamp=0 are different
Symbol file orasnls11.SYM does not match binary.
Symbol TimeStamp=4b72a07e, Module TimeStamp=0 are different
Symbol file oracommon11.SYM does not match binary.
Symbol TimeStamp=4bb5eaac, Module TimeStamp=0 are different
Incident 171292 created, dump file: c:\oracle\app\administrator\diag\rdbms\test\test\incident\incdir_171292\test_m001_.trc
ORA-04030: 在尝试分配 1049100 字节 (pga heap,log read buffer) 时进程内存不足
krr_init_lbufs: memory allocation exception 4030
krr_init_rrx: memory allocation exception 4030
论坛徽章:23
做之前貌似要给分配至少20m的流空间&&不知道和你这个有关系挖
论坛徽章:86
原帖由 hiber_zhu 于
17:09 发表
做之前貌似要给分配至少20m的流空间&&不知道和你这个有关系挖
使用的是ASMM,java_pool_size和streams_pool_size都是自动调整
java_pool_size& && && && && && && &&&big integer 0
streams_pool_size& && && && && && &&&big integer 0
真正的原因是因为SGA设置太大,并且,CDC会使用较多的PGA,大约每个change_set 40M左右的内存,导致SGA+PGA达到1.75G的限制。
以前以为SGA的限制是1.75G,现在才知道是SGA+PGA《1.75G
把sga_max_size修改为1G,问题解决。
认证徽章论坛徽章:9
可以使用4GT使用更大内存
认证徽章论坛徽章:9
4GB RAM 调整 (4GT) 支持
Windows 2000 Server(高级版和数据中心版)和 Windows Server 2003(企业版和数据中心版)包括一个名为 4GB RAM 调整 (4GT) 的特性。该特性允许在 Windows 上运行的、需要大量内存的应用程序能够访问多达 3GB 的内存,而非其他 Windows 版本中所允许的标准的 2GB。对于 Oracle 数据库 10g 来说,最明显的好处就是可用于数据库的内存多了 50%,这可以增加 SGA 的大小或者连接数量。7.3.4 版以后的所有 Oracle 数据库服务器版都支持这个特性,不需要对标准 Oracle 安装做任何改动。唯一要做配置更改就是确保在 Windows 的 boot.ini 文件中使用了&&/3GB 标志。
修改系统盘文件c:\boot.ini
[boot loader]
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS=&Windows Server 2003, Enterprise& /fastdetect&&/PAE /3GB
Oracle利用windows的其他高级特性
[ 本帖最后由 尛样儿 于
10:22 编辑 ]
论坛徽章:86
原帖由 尛样儿 于
10:19 发表
可以使用4GT使用更大内存
算了,没那么大内存。
itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有    
 北京市公安局海淀分局网监中心备案编号:10 广播电视节目制作经营许可证:编号(京)字第1149号

我要回帖

更多关于 内存不足 的文章

 

随机推荐