[Oracle][Corruption]發生ORA00600[kdsgrp1]的時候,如何進行調查

來源:互聯網
上載者:User

標籤:erp   start   view   pac   table   state   session   spec   sql   


本質上,這很可能是壞塊引發的,所以需要調查 關聯的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.

[Oracle][Corruption]發生ORA00600[kdsgrp1]的時候,如何進行調查

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.