oracle support一次危机处理(之一)
天有不测风云,
IBM 的中端磁盘阵列这次又惹祸了。在微码升级的时候,
DS4800 发生故障。IBM工程师把阵列故障恢复后,拍拍屁股走人,留下了阵列上不一致的数据。
没办法,阵列上的数据又得我们来想办法抢救了。。。。
还好有oracle support的支持我们最终化解了这次危机。下文详细介绍了整个恢复的过程。
oracle工程师到达现场后,根据错误信息,
问题情况如下SR信息所示:(HP-UX PA-RISC (64-bit)+ORACLE 9.2.0.8.0.+filesystem+no archivelog mode+no backup)
** Customer's Management 24x7 contact name:***************
** Customer's Management 24x7 contact number: ****************
** Primary Customer contact name: *******************
** Current Customer 24x7 voice phone number: ********************
** Current Customer E-mail address: ********************
** Current Customer Pager/Fax number: *****************
### Characteristics of Problem ###
This is a critical production system
Database is down and will not start
Data corruption issue and media recovery failed to fix the problem
### Note:28814.1 did not help because: ###
It did not have the needed information.
### Other: Note:28814.1 did not help because: ###
Sys owned objects corrupted
### The corruption was detected on: ###
Data file.
### Other: The corruption was detected on: ###
system tablespace
### The corruption affected a segment of type: ###
Table.
### Other: The corruption affected a segment of type: ###
TRANSACTION MANAGED DATA BLOCK
### The affected segment belongs to: ###
Database Dictionary.
### Other: The affected segment belongs to: ###
Database dictionary
### What error(s) and message(s) are Oracle reporting? ###
09:52:24 SQL> recover database allow 1 corruption;
ORA-00283: recovery session canceled due to errors
ORA-10562: Error occurred while applying redo to data block (file# 1, block# 1490)
ORA-10564: tablespace SYSTEM
ORA-01110: data file 1: '/oradata/yincang/rlv_system'
ORA-10561: block type 'TRANSACTION MANAGED DATA BLOCK', data object# 201
ORA-00600:
相关文档:
Oracle中使用WMSYS.WM_CONCAT函数进行多行转列
原数据:
rank name
AA NAME1
AA NAME2
AA NAME3
BB NAME4
BB NAME5
SQL>select trim(t.rank) as rank,
&nbs ......
存储过程
==========================================================================
==========================================================================
【训练15.1】 创建一个显示雇员总人数的存储过程。
步骤1:登录SCOTT账户(或学生个人账户)。
步骤2: ......
•表分区技术是在超大型数据库(VLDB)中将大表及其索引通过分区(patition)的形式分割为若干较小、可管理的小块,并且每一分区可进一步划分为更小的子分区(sub partition)
•通过对表进行分区,可以获得以下的好处
–减少数据损坏的可能性
–各分区可以独立备份和恢复,增强了数据库的可管理性
......
请验证一下solaris和oracle的版本信息,如果版本号不对,可能会安装失败
solaris版本:SunOs 5.10
oracle版本: Oracle Database 10g Release 2 (10.2.0.2) for Solaris Operating System (x86)
**如果不知道solaris的版本,可以在命令窗口输入:uname -a
第一步:以ROOT身份登陆系统
第二步:创建用户和组:
#groupadd ......
在
Oracle
数
据库
中,
主要有两种
日志
操作模式,分别为非归
档模式与归档模式。默认情况下,数据库
采
用的是非归档模式
。作为一个合格的数据库管
理
员,应当深入了解这两种日志操作模式的特点,并且在数据库建立时,选
择合适的操作模式。
笔者
今天就谈谈自己对这两种操作模式的理解,并且给出 ......