在线精品99_中国九九盗摄偷拍偷看_91免费版在线观看_91.app_91高清视频在线_99热最新网站

Oracle如何创建新undo表空间

144次阅读
没有评论

共计 2269 个字符,预计需要花费 6 分钟才能阅读完成。

自动写代码机器人,免费开通

这篇文章主要介绍 Oracle 如何创建新 undo 表空间,文中介绍的非常详细,具有一定的参考价值,感兴趣的小伙伴们一定要看完!

在处理一则 ORA-600 [4194] 案例时,参考 MOS 文档:Step by step to resolve ORA-600 4194 4193 4197 on database crash (文档 ID 1428786.1)

1. 对于 ORA 600[4194] 的解释

2. 创建新 undo 表空间最佳实践 (包含段检查)

1. 对于 ORA 600[4194] 的解释:

The following error is occurring in the alert.log right before the database crashes.
ORA-00600: internal error code, arguments: [4194], [#], [#], [], [], [], [], []
This error indicates that a mismatch has been detected between redo records and rollback (undo) records.
ARGUMENTS:
Arg [a] – Maximum Undo record number in Undo block
Arg [b] – Undo record number from Redo block
Since we are adding a new undo record to our undo block, we would expect that the new record number is equal to the maximum record number in the undo block plus one. Before Oracle can add a new undo record to the undo block it validates that this is correct. If this validation fails, then an ORA-600 [4194] will be triggered.

可以看到,此错误是因为 redo 和 undo 的记录不匹配。常见于异常断电等场景。

2. 创建新 undo 表空间最佳实践 (包含段检查)

Best practice to create a new undo tablespace.
his method includes segment check.
 Create pfile from spfile to edit
SQL  Create pfile= /tmp/initsid.ora  from spfile;
 Shutdown the instance
 set the following parameters in the pfile /tmp/initsid.ora
 undo_management = manual
 event =  10513 trace name context forever, level 2 
 SQL startup restrict pfile= /tmp/initsid.ora 
 SQL select tablespace_name, status, segment_name from dba_rollback_segs where status !=  OFFLINE 
This is critical - we are looking for all undo segments to be offline - System will always be online.
If any are  PARTLY AVAILABLE  or  NEEDS RECOVERY  - Please open an issue with Oracle Support or update the current SR. There are many options from this moment and Oracle Support Analyst can offer different solutions for the bad undo segments.
If all offline then continue to the next step
 Create new undo tablespace - example
SQL create undo tablespace  new undo tablespace  datafile  datafile  size 2000M;
 Drop old undo tablespace
SQL drop tablespace  old undo tablespace  including contents and datafiles;
 SQL shutdown immediate;
SQL startup nomount; --  Using your Original spfile
. Modify the spfile with the new undo tablespace name
SQL  Alter system set undo_tablespace =  new tablespace created in step 6  scope=spfile;
. SQL shutdown immediate;
. SQL startup; --  Using spfile

以上是“Oracle 如何创建新 undo 表空间”这篇文章的所有内容,感谢各位的阅读!希望分享的内容对大家有帮助,更多相关知识,欢迎关注丸趣 TV 行业资讯频道!

向 AI 问一下细节

正文完
 
丸趣
版权声明:本站原创文章,由 丸趣 2023-12-04发表,共计2269字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)
主站蜘蛛池模板: 无码人妻少妇久久中文字幕 | 妇女bbbb插插插视频 | 久久免费国产视频 | 亚洲午夜久久久精品影院 | 日本少妇春药特殊按摩3 | 亚洲精品98久久久久久中文字幕 | 麻豆国产精品久久人妻 | 欧美日韩精品在线观看 | 国产综合色在线视频播放线视 | 午夜在线视频观看 | 熟妇丰满多毛的大隂户 | 人人添人人澡人人澡人人人人 | 免费的黄色毛片 | 国产一区二区三区影院 | 99久久一香蕉国产线看观看 | 亚洲学生妹高清av | 亚洲第一香蕉视频 | 国产精品久久久久久亚洲毛片 | 真人祼交二十三式视频 | 黄视频网站免费看 | 全日本爽视频在线 | 国产精品天天影视久久综合网 | 一级黄片一级毛片 | 永久黄网站色视频免费 | 日本小视频网站 | 91精品91| 精品偷自拍另类在线观看 | 污污网站18禁在线永久免费观看 | 综合图片亚洲 | 毛片在线免费观看网站 | 人妻插b视频一区二区三区 人妻尝试又大又粗久久 | 精品无码人妻一区二区三区 | 一区二区三区四区欧美 | 鲁鲁狠色综合色综合网站 | 黄动漫免费观看 | 久久亚洲不卡一区二区 | 久久国产在线视频 | 精品国产福利一区二区在线 | 精品国产一级毛片大全 | 国内精品视频一区 | 一区二区三区四区亚洲 |