签到成功

知道了

CNDBA社区CNDBA社区

Shutdown Immediate Hangs: Common Causes [ID 106474.1]

2016-11-25 15:45 2130 0 原创 Oracle 故障处理
作者: dave

Shutdown Immediate Hangs: Common Causes [ID 106474.1]


 

Modified 13-JUL-2007     Type PROBLEM     Status PUBLISHEDhttp://www.cndba.cn/Dave/article/549

 

 

Problem Description

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

 

Shutdown immediate hangs or goes very slowly.  You can shutdown abort

with no problem.

 

 

Solution Description

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

 

There are two common causes of a shutdown immediate hanging.

These are:

 http://www.cndba.cn/Dave/article/549

   Rollbacks

   Temp segment cleanup

http://www.cndba.cn/Dave/article/549

 

 http://www.cndba.cn/Dave/article/549

http://www.cndba.cn/Dave/article/549

Explanation

-----------

 

Rollbacks: If a large dml statement is in progress it must roll back before

the shutdown completes.  In pre 8.1 versions of Oracle this can

be made to go faster with a higher cleanup_rollback_entries, but

be careful because too high a setting can cause resource contention

during normal database operation.

 

Temp segment cleanup:  If your tablespace used for temp sort segments

is of type temporary (as shown by the CONTENTS column of DBA_TABLESPACES)

the extents, once allocated, are never deallocated until shutdown. 

Instead they are tracked in the SGA.  This helps reduce dictionary

cache contention during normal database operation.  Unfortunately,

when we shutdown these extents must all be deallocated at once which

can lead to the dictionary cache contention we avoided while we were

running.  The tablespace of type temporary was introduced in 7.3.

 

These two problems can also combine to make things even slower as a

rollback will also deallocate extents, leading to further contention

on the parts of the dictionary cache that track used and free extents.

 

 http://www.cndba.cn/Dave/article/549

References

----------http://www.cndba.cn/Dave/article/549

 http://www.cndba.cn/Dave/article/549

Note:1060831.6 cleanup_rollback_entries

Note:73439.1   Temporary Segment Handling

 

 

 

 

 

 http://www.cndba.cn/Dave/article/549

 

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

Blog http://blog.csdn.net/tianlesoftware

网上资源: http://tianlesoftware.download.csdn.net

相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

DBA1 群:62697716(); DBA2 群:62697977()

DBA3 群:62697850   DBA 超级群:63306533;    

聊天 群:40132017

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请http://www.cndba.cn/Dave/article/549

版权声明:本文为博主原创文章,未经博主允许不得转载。

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
dave

dave

关注

人的一生应该是这样度过的:当他回首往事的时候,他不会因为虚度年华而悔恨,也不会因为碌碌无为而羞耻;这样,在临死的时候,他就能够说:“我的整个生命和全部精力,都已经献给世界上最壮丽的事业....."

  • 2296
    原创
  • 3
    翻译
  • 582
    转载
  • 198
    评论
  • 访问:8316318次
  • 积分:4477
  • 等级:核心会员
  • 排名:第1名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ