IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    Resize operation completed for file#

    惜分飞发表于 2016-06-27 13:27:24
    love 0

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

    标题:Resize operation completed for file#

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

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

    [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
    

    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需要查询官方资料.

    查询汗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('%&param%')
      7  order by name
    /
      8  Enter value for param: resize
    old   6:    and upper(a.ksppinm) LIKE upper('%&param%')
    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应该就可以解决该问题.

    • Oracle 12C TABLE ACCESS BY INDEX ROWID BATCHED
    • 设置_smu_debug_mode实现指定session级别使用特定回滚段
    • 通过with实现对表非法dml操作—解决方案_with_subquery=materialize或者psu(2014.07以后)
    • Bind Variable Peeking 测试
    • _use_single_log_writer和_max_outstanding_log_writes
    • DataGuard ora-16157故障解决
    • ORACLE用户重命名
    • 11GR2 Control file enqueue hold time tracking dump
    • 类此9430ms (rw) file: kct.c line: 7800 count: 13 total: 26874ms time: 1296124原因分析
    • 处理smon清理临时段导致数据库异常案例
    • dual 缺少同义词故障解决
    • oracle 9i数据库存在大量ora_j0**进程


沪ICP备19023445号-2号
友情链接