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

Oracle如何创建新undo表空间

113次阅读
没有评论

共计 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字。
转载说明:除特殊说明外本站除技术相关以外文章皆由网络搜集发布,转载请注明出处。
评论(没有评论)
主站蜘蛛池模板: 极品女神西比尔久久精品 | 久久无码av中文出轨人妻 | 欧美中日韩免费观看网站 | 欧美毛片在线 | 国产va精品免费观看 | 日本不卡视频一区二区三区 | 一级毛片视频在线观看 | 欧美中文字幕一区 | 国产破处女真实视频 | 亚洲交性网| 国产成人精品福利色多多 | 国产亚洲午夜高清国产拍精品 | 看看一级毛片 | 国内精品在线观看视频 | 欧美日本免费 | 亚洲午夜久久久久久久久电影网 | 一级特黄特色的免费大片视频 | 中文日韩欧美 | 久久99热狠狠色精品一区 | 成人久久18网站 | 一级毛片免费观看视频 | 精产国品一二三产品蜜桃 | 国内自拍网红在综合图区 | 吃奶摸下激烈床震视频试看 | 少妇精品久久久一区二区三区 | 国产亚洲欧美另类专区 | 日韩精品久久久久久久电影蜜臀 | 久久视频免费 | 国产成人av三级在线观看 | 国产又色又爽又黄又免费 | 国产一起色一起爱 | 男女男精品网站免费观看 | 国产成人无精品久久久 | 国产成人亚洲综合网站不卡 | 妺妺跟我一起洗澡没忍住 | 91aaa免费免费国产在线观看 | 婷婷开心激情综合五月天 | 色偷偷av老熟女 | 久久精品视频在线观看榴莲视频 | 99热这里精品 | 免费视频一区二区 |