[Oracle][Corruption]发生ORA00600[kdsgrp1]的时候,如何进行调查
2017-10-04 13:53
405 查看
本质上,这很可能是坏块引发的,所以需要调查 关联的Table 中的坏块状况:
Excerpt of trace file
============================
*** 2017-08-18 09: 23: 04.323
dbkedDefDump (): Starting incident default dumps (flags = 0x2, level = 3, mask = 0x0)
[TOC00009]
----- Current SQL Statement for this session (sql_id = 7snqrq5th8ddh) -----
with tmp001 as (
...
(Short)
...
select
count (*)
from
tmp001 2
where 1 = 1
and ROWNUM <=: 9
============================
Please check each table above for damage respectively:
1. Check whether there is a problem with the structure of each table:
Example:
analyze table table name validate structure;
analyze table table name validate structure cascade;
2. Check the data files to which the above tables belong:
Example:
--- How to check the name of the data file belonging to the table:
SQL> select file_name from dba_tables t1, dba_data_files t2
Where t1.tablespace_name = t2.tablespace_name
And t1.owner = 'Owner name' and t1.table_name = 'Table name';
--- How to check for corruption in data files:
$ rman target /
RMAN> backup check logical validate datafile 'the acquired data file name';
After checking, please check whether there is damage in V $ DATABASE_BLOCK_CORRUPTION view:
SQL> select * from V $ DATABASE_BLOCK_CORRUPTION;
If the error occurs and the breakage can be confirmed by the above check, it separates whether it is temporary damage on memory
Please restart the database, please check again.
Excerpt of trace file
============================
*** 2017-08-18 09: 23: 04.323
dbkedDefDump (): Starting incident default dumps (flags = 0x2, level = 3, mask = 0x0)
[TOC00009]
----- Current SQL Statement for this session (sql_id = 7snqrq5th8ddh) -----
with tmp001 as (
...
(Short)
...
select
count (*)
from
tmp001 2
where 1 = 1
and ROWNUM <=: 9
============================
Please check each table above for damage respectively:
1. Check whether there is a problem with the structure of each table:
Example:
analyze table table name validate structure;
analyze table table name validate structure cascade;
2. Check the data files to which the above tables belong:
Example:
--- How to check the name of the data file belonging to the table:
SQL> select file_name from dba_tables t1, dba_data_files t2
Where t1.tablespace_name = t2.tablespace_name
And t1.owner = 'Owner name' and t1.table_name = 'Table name';
--- How to check for corruption in data files:
$ rman target /
RMAN> backup check logical validate datafile 'the acquired data file name';
After checking, please check whether there is damage in V $ DATABASE_BLOCK_CORRUPTION view:
SQL> select * from V $ DATABASE_BLOCK_CORRUPTION;
If the error occurs and the breakage can be confirmed by the above check, it separates whether it is temporary damage on memory
Please restart the database, please check again.
相关文章推荐
- Oracle针对数据库某一行进行操作的时候,如何将这一行加行锁
- Oracle针对数据库某一行进行操作的时候,如何将这一行加行锁
- Java学习疑点(5)--使用多线程的时候如何注意避免死锁发生?
- onethink如何在新增时一条数据的时候运行一个函数或进行某数据库的操作
- 如何合理准确的进行网上商业调查
- oracle如何进行索引监控分析和优化
- 使用笔记:mysql与oracle进行sql查询时如何表示日期
- oracle中如何将表空间进行统一以及规划表空间的方法!
- Oracle在英文匹配时大小写敏感,如何忽略大小写进行匹配 .
- [Oracle]发生 ora-06502 RMAN 在对 catalog DB 同期时出错的调查方法
- Oracle 如何对中文字段进行排序
- 如何解决:新建Android程序的时候发生了找不到 /android-sdk-windows/tools/lib/proguard.cfg文件 的错误
- 【ORACLE】正常关闭时ORACLE如何根据SCN对数据库进行一致性判断
- oracle是如何进行全表扫描实验
- vue项目,在进行点击的时候,如何屏蔽掉一些小的按钮,阻止冒泡
- jdbc连接Oracle/MySQL数据库进行批量导入操作,如何提高效率???
- 如何进行数据库,比如ORACLE,SQL SERVER的逆向工程,将数据库导入到PowerDesigner中
- 如何对Oracle中Struct和Array进行Explain Plan--深入篇
- win7上运行某程序的时候,如果这个程序需要以管理员的身份运行,那么就会有“用户帐户控制”的提示:“您想允许来自...发布者的以下程序对此计算机进行更改吗?”请问,win7如何知道哪些程序需要以管理员的身份运行?
- (转)oracle中如何对字符串进行去除空格的方法