oracle12c 日志分析,【案例】Oracle 12C日志大量Resize operation completed for file信息

天萃荷净

运维DBA反映当前Oracle12C数据库日志中出现大量Resize operation completed for file# 15, old size,结合MOS使用隐含参数解决resize问题

Orale 12c DataGuard环境中备库出现Resize operation completed for file# 现象

1.查询数据库版本

[oracle@ray01 ~]$ opatch lspatches

22291127;Database Patch Set Update : 12.1.0.2.160419 (22291127)

OPatch succeeded.

SQL> select * from v$version;

BANNER CON_ID

-------------------------------------------------------------------------------- ----------

Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 0

PL/SQL Release 12.1.0.2.0 - Production 0

CORE 12.1.0.2.0 Production 0

TNS for Linux: Version 12.1.0.2.0 - Production 0

NLSRTL Version 12.1.0.2.0 - Production 0

2.Oracle12C数据库alert日志提示

Mon Jun 27 20:56:37 2016

Resize operation completed for file# 18, old size 25600000K, new size 30720000K

Mon Jun 27 20:56:56 2016

Archived Log entry 210 added for thread 1 sequence 286 rlc 915405135 ID 0x2316988c dest 2:

Mon Jun 27 20:57:01 2016

Primary database is in MAXIMUM PERFORMANCE mode

RFS[211]: Assigned to RFS process (PID:22867)

RFS[211]: Selected log 11 for thread 1 sequence 287 dbid 588725388 branch 915405135

Mon Jun 27 20:57:14 2016

Resize operation completed for file# 17, old size 25600000K, new size 30720000K

Mon Jun 27 07:57:15 2016

Archived Log entry 211 added for thread 1 sequence 287 ID 0x2316988c dest 1:

Mon Jun 27 20:57:15 2016

Resize operation completed for file# 3, old size 972800K, new size 983040K

Mon Jun 27 20:57:15 2016

Primary database is in MAXIMUM PERFORMANCE mode

RFS[212]: Assigned to RFS process (PID:22873)

RFS[212]: Selected log 11 for thread 1 sequence 288 dbid 588725388 branch 915405135

Mon Jun 27 20:57:15 2016

Resize operation completed for file# 3, old size 983040K, new size 1024000K

Resize operation completed for file# 3, old size 1024000K, new size 1034240K

Mon Jun 27 20:57:54 2016

Resize operation completed for file# 15, old size 25600000K, new size 30720000K

Mon Jun 27 20:58:15 2016

Resize operation completed for file# 18, old size 30720000K, new size 33554416K

Mon Jun 27 20:58:34 2016

Resize operation completed for file# 17, old size 30720000K, new size 33554416K

Mon Jun 27 20:58:54 2016

Resize operation completed for file# 15, old size 30720000K, new size 33554416K

大量Resize operation completed for file# 操作记录,给人感觉比较烦,根据多年使用oracle的经验,这种现象很可能有隐含参数或者event屏蔽,隐含参数可以猜测到,event需要查询官方资料.

3.查询汗resize的隐含参数

SQL> col name for a52

SQL> col value for a24

SQL> col description for a50

set linesize 150

select a.ksppinm name,b.ksppstvl value,a.ksppdesc description

from x$ksppi a,x$ksppcv b

where a.inst_id = USERENV ('Instance')

and b.inst_id = USERENV ('Instance')

and a.indx = b.indx

SQL> SQL> 2 3 4 5 6 and upper(a.ksppinm) LIKE upper('%¶m%')

7 order by name

/

8 Enter value for param: resize

old 6: and upper(a.ksppinm) LIKE upper('%¶m%')

new 6: and upper(a.ksppinm) LIKE upper('%resize%')

NAME VALUE DESCRIPTION

---------------------------------------------------- ------------------------ --------------------------------------------------

_asm_skip_resize_check FALSE skip the checking of the clients for s/w compatibi

lity for resize

_bct_public_dba_buffer_dynresize 2 allow dynamic resizing of public dba buffers, zero

to disable

_disable_file_resize_logging FALSE disable file resize logging to alert log

从这里可以发现_disable_file_resize_logging参数默认值为false,表示显示文件resize的提示,设置为true应该就可以解决该问题.

联系:手机(+86 13429648788) QQ(107644445)QQ咨询惜分飞

标题:ORA-01172 ORA-01151 故障恢复

作者:惜分飞©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值