ORA-01578 error
Hi,
I was trying to collect schema stats. The system occurred with ORA-01578 error.
ORA-01110: data file 7: 'M:\ORADATA\PRODORCL\DATAMDM01.DBF'
ORA-26040: Data block was loaded using the NOLOGGING option
ORA-06512: at "SYS.DBMS_STATS", line 12887
ORA-06512: at "SYS.DBMS_STATS", line 13213
ORA-06512: at "SYS.DBMS_STATS", line 13289
ORA-06512: at "SYS.DBMS_STATS", line 13249
ORA-06512: at line 2
I was trying to do:
SELECT TO_CHAR(SYSDATE, 'DD-MON-YYYY HH24:MI:SS') FROM DUAL;
begin
dbms_stats.gather_schema_stats(ownname=>'DBA',estimate_percent => 10,method_opt=>'FOR ALL COLUMNS SIZE 1',cascade=> true);
end;
Thanks
I do understand, but I have dealt with block corruption. Can you please tell me how to fix this.
I have gone through couple of documents and tried:
set serveroutput on
declare corr_count binary_integer;
begin
corr_count := 0;
dbms_repair.CHECK_OBJECT (
schema_name => 'DBA',
object_name => 'INVENTORY',
partition_name => null,
object_type => dbms_repair.table_object,
repair_table_name => 'REPAIR_TEST',
flags => null,
relative_fno => null,
block_start => null,
block_end => null,
corrupt_count => corr_count
dbms_output.put_line(to_char(corr_count));
end;
it shows :
6226
but when I do:
set serveroutput on
declare fix_count binary_integer;
BEGIN
fix_count := 0;
dbms_repair.FIX_CORRUPT_BLOCKS (
schema_name => 'DBA',
object_name => 'INVENTORY',
partition_name => null,
object_type => dbms_repair.table_object,
repair_table_name => 'REPAIR_TEST',
flags => null,
fix_count => fix_count
dbms_output.put_line(to_char(fix_count));
END;
it shows:
0
but it should be show the same 6226.
Can you please tell or provide doc for fixing this?
Oracle 10.1.0.5 on windows 2003
Similar Messages
-
ORA-01578, Why are they so frequent?
I'm having a problem on my server. I have been running some tests for the last few months. A week ago I got my first ORA-01578 errors. Since then I have gotten it maybe 10 times, before the I got non. I'm basically doing the same thing as I did before I started getting them.
So my question is:
a) What is causing this error, or rather what is causing the data blocks to become corrupted?
b) What can I do to prevent it from happening?
What have I tried so far:
* I deleted all the data and data structure and started over from the beginning.
* I created a new tablespace with new data files.What is reason "select * from" is working and sort or function against table not working ?I am getting more corrupt errror now
Reread of rdba: 0x01438d16 (file 5, block 232726) found same corrupted data
Mon Aug 27 16:13:12 2007
Thread 1 advanced to log sequence 13013
Current log# 5 seq# 13013 mem# 0: /redo5/datafiles/redo5.log
Corrupt block relative dba: 0x00800bc5 (file 2, block 3013)
Bad check value found during user buffer read
Data in bad block -
type: 6 format: 2 rdba: 0x00800bc5
last change scn: 0x0015.d8908da3 seq: 0x2 flg: 0x04
consistency value in tail: 0x8da30602
check value in block header: 0xd892, computed block checksum: 0x2000
spare1: 0x0, spare2: 0x0, spare3: 0x0
Reread of rdba: 0x00800bc5 (file 2, block 3013) found same corrupted data -
Data blocks are corrupted : Error ORA-01578
Hi All,
We having a serious problem with the oracle running in our development server.
Data blocks are corrupted with the error ORA-01578
and we have identified the segment as an Table TBTCO.
Hence can any body suggest us the way to resolve this.
Currently we dont require any data from that table. In that
case can we drop down the table and import it again with
the same table downloaded from production server?
As we dont have any oracle DBA's please suggest us the way to resolve this.
Please advise.
Thanks & Regards,
DVRKHey,
if you are using RMAN backup you can restore and recover only the corrupted blocks.
For more information take a look at that nice blog article from Lars:
Some hints to make handling of oracle datablock corruptions more efficient
If you don't have any idea howto handle this situation, please open a SAP call.
Regards
Stefa -
Oracle Error ORA-01578,ORA-01110
Sir,
As per verbal discussion regarding Problem of Oracle-7 database file curruption, below is the error message which I received
ORA-01578: ORACLE data block corrupted (file # 2, block # 5739)
ORA-01110: data file 2: 'C:\ORAWIN95\DATABASE\usr1orcl.ora'
Just one table is not working properly name: balance
Please not that this is a Personal Oracle 7 version database
I will be highly thankful to you if you will please findout the solution of my problem because it has very imortant data...
My email is [email protected]
thanksI have not worked with Oracle7 but check if this package is available in your version and if yes. You can work with it to fix the problem.
DBMS_REPAIR
DBMS_REPAIR contains data corruption repair procedures that enable you to detect and repair corrupt blocks in tables and indexes. You can address corruptions where possible and continue to use objects while you attempt to rebuild or repair them.
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96612/d_repair.htm#ARPLS044
Joel Pérez -
Need advice on ORA-01578: ORACLE data block corrupted
We have a development database server version- 10.2.0.3 with materialized views refresh as complete every morning. Yesterday we had a power failure and the server went down and database was shutdown unexpectedly.
When we restarted the database after the server restarted, we found some of the datablocks got corrupted . Following were the exceptions that we saw in the alert.log.
Errors in file /i01_01/app/oracle/product/10.2.0/db_1/admin/orcl9/bdump/orcl9_smon_7547.trc:
ORA-01578: ORACLE data block corrupted (file # 11, block # 257712)
ORA-01110: data file 11: '/i01_01/app/oracle/product/10.2.0/oradata/orcl9/ts_gen_data_02.dbf'
ORACLE Instance orcl9 (pid = 8) - Error 1578 encountered while recovering transaction (9, 38) on object 54463
I tried the following query to see the segment type.
select owner, segment_name, segment_type from dba_extents where file_id =11 and 257712 between block_id and block_id + blocks - 1;
OWNER
SEGMENT_NAME
SEGMENT_TYPE
VISH
INVENTORY_TXN
TABLE
where " INVENTORY_TXN " is a materialized view that was using the block that got corrupted. I can always recreate the MV by dropping and recreating it. Will it solve the problem???
If not, how can I recover/repair the block.???
Can anyone advice on this. Thanks very much in advance.To recover a corrupted block,the best way out is to use Blockrecover command of RMAN. So you would need RmAN backup to perform the operation.But first ypu you need to ensure that this is a persistent error or not? Is this error is coming repeatedly or just once it happened?
About Blockrecover command,read here,
http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmrecov005.htm#BRADV157
HTH
Aman.... -
ORA -01115 error in db13 checkdb
Hi expert ,
i am new to this fouram i have ora-01115 error in sap oracle 9i database ,
Please help me to solve the problem .
I am using ECC 5.0 ,win2k3 enterprise edition ,Oracle 9i
could anybody explain me what the relation of oracle block segment ,and windows block segment .
Could i solve the problem without reinstalling sap .
<b>Please explain me in detail following paragraph ,which i read ,</b>
<b>a corrupted database due the auto extended bug
Corrupt block dba: 0x24024cd0 file=5. blocknum=150736.
found during buffer read on disk type:0. ver.
dba:0x00000000 inc:0x00000000 seq:0x00000000 incseq:0x00000000
Entire contents of block is zero - block never written
Reread of block=24024cd0 file=9. blocknum=150736. found same corupted Data
Mishandled block information (in certain conditions), upon reading the database block, which indicates that a good block is corrupted. This is the bug in the Oracle version 8.1.x - 9.x, where the Oracle will raise the error:
ORA-600 [kcoapl_blkchk][ABN][RFN][INT CODE]
Pointing to failure condition during block check. This only happens when block checking is enabled.
A problem with a faulty database trigger operation, causing data block corruptions
ORA-01115: IO error reading block from file 6 (block # 14873)
ORA-01110: data file 6: '/oracle/artist/artist01.dbf'
ORA-27091: skgfqio: unable to queue I/O
IBM AIX RISC System/6000 Error: 9: Bad file number</b>
Thanx & Regards
RohitKHi experts ,
Regarding ORA 0600 ,the error which i found in db13 of 000,pls guide me in details as i am fresher basis consultant working in production enviorment.
I am pasting the check db log in db13 ,pls guide me if any problem is found.
Note that
1) i run sick tcode which shows no error report in the system .
2)I have configured stms ,
3)imported profiles from rz10 tcode from os level to sap level .
4)Created new client logged and doing local client copy but it cancelled every times .
In scc3 log it show different errors ,in sm21 log it show diffrerent errors .
It does not show ora 600 error anywhere in the logs ,but when i tried to check consistency of database through CHECKDB it show ora -600 error .
Hi experts pls tell me if required sm21 and and scc3 logs
<b>CHECK DB LOG OF DB13</b>
Detail log: cdwnjhor.chk
BR0801I BRCONNECT 6.40 (15)
BR0477I Oracle pfile D:\oracle\ora92\database\initDEV.ora created from spfile D:\oracle\ora92\database\spfileDEV.ora
BR0805I Start of BRCONNECT processing: cdwnjhor.chk 2007-11-05 11.16.25
BR0101I Parameters
Name Value
oracle_sid DEV
oracle_home D:\oracle\ora92
oracle_profile D:\oracle\ora92\database\initDEV.ora
sapdata_home D:\oracle\DEV
sap_profile D:\oracle\ora92\database\initDEV.sap
system_info SAPServiceDEV DSERVER Windows 5.2 Build 3790 Intel
oracle_info DEV 9.2.0.1.0 8192 630 3626441
sap_info 640 SAPDEV DEV TEMPLICENSE R3_ORA INITIAL
make_info NTintel OCI_920_SHARE Oct 12 2004
command_line brconnect -u / -c -f check
alert_log D:\oracle\DEV\saptrace\background\alert_dev.log
BR0280I BRCONNECT time stamp: 2007-11-05 11.17.25
BR0813I Schema owners found in database DEV: DBSNMP, OPS$DSERVER\DEVADM, OPS$DSERVER\SAPSERVICEDEV, OUTLN, SAPDEV*, SYS, SYSTEM
BR0118I Tablespaces and data files
Tablespace Status File Status Id. Size Device Type Link
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA3\DEV_1\DEV.DATA1 ONLINE+ 3 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA3\DEV_2\DEV.DATA2 ONLINE+ 4 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA3\DEV_3\DEV.DATA3 ONLINE+ 5 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA3\DEV_4\DEV.DATA4 ONLINE+ 6 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA3\DEV_5\DEV.DATA5 ONLINE+ 7 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_10\DEV.DATA10 ONLINE+ 12 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_11\DEV.DATA11 ONLINE+ 27 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_12\DEV.DATA12 ONLINE+ 28 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_13\DEV.DATA13 ONLINE+ 29 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_14\DEV.DATA14 ONLINE+ 30 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_6\DEV.DATA6 ONLINE+ 8 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_7\DEV.DATA7 ONLINE+ 9 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_8\DEV.DATA8 ONLINE+ 10 2097160192 3 FILE NOLINK
PSAPDEV ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV_9\DEV.DATA9 ONLINE+ 11 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA1\DEV640_1\DEV640.DATA1 ONLINE+ 13 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA1\DEV640_2\DEV640.DATA2 ONLINE+ 14 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA1\DEV640_3\DEV640.DATA3 ONLINE+ 15 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA1\DEV640_4\DEV640.DATA4 ONLINE+ 16 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA1\DEV640_5\DEV640.DATA5 ONLINE+ 17 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA2\DEV640_10\DEV640.DATA10 ONLINE+ 22 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA2\DEV640_6\DEV640.DATA6 ONLINE+ 18 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA2\DEV640_7\DEV640.DATA7 ONLINE+ 19 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA2\DEV640_8\DEV640.DATA8 ONLINE+ 20 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA2\DEV640_9\DEV640.DATA9 ONLINE+ 21 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA3\DEV640_11\DEV640.DATA11 ONLINE+ 23 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV640_12\DEV640.DATA12 ONLINE+ 24 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV640_13\DEV640.DATA13 ONLINE+ 25 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV640_14\DEV640.DATA14 ONLINE+ 31 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV640_15\DEV640.DATA15 ONLINE+ 32 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV640_16\DEV640.DATA16 ONLINE+ 33 2097160192 3 FILE NOLINK
PSAPDEV640 ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEV640_17\DEV640.DATA17 ONLINE+ 34 2097160192 3 FILE NOLINK
PSAPDEVUSR ONLINE+ D:\ORACLE\DEV\SAPDATA4\DEVUSR_1\DEVUSR.DATA1 ONLINE+ 26 20979712 3 FILE NOLINK
PSAPTEMP ONLINE# D:\ORACLE\DEV\SAPDATA1\TEMP_1\TEMP.DATA1 ONLINE+ -1 702554112 3 FILE NOLINK
PSAPUNDO ONLINE- D:\ORACLE\DEV\SAPDATA1\UNDO_1\UNDO.DATA1 ONLINE+ 2 2915049472 3 FILE NOLINK
PSAPUNDO ONLINE- D:\ORACLE\DEV\SAPDATA1\UNDO_2\UNDO.DATA2 ONLINE 39 2915049472 3 FILE NOLINK
PSAPUNDO ONLINE- D:\ORACLE\DEV\SAPDATA1\UNDO_3\UNDO.DATA3 ONLINE 40 2915049472 3 FILE NOLINK
PSAPUNDO ONLINE- D:\ORACLE\DEV\SAPDATA1\UNDO_4\UNDO.DATA4 ONLINE 41 2915049472 3 FILE NOLINK
PSAPUNDO ONLINE- D:\ORACLE\DEV\SAPDATA1\UNDO_5\UNDO.DATA5 ONLINE 42 2915049472 3 FILE NOLINK
SYSTEM ONLINE+ D:\ORACLE\DEV\SAPDATA1\SYSTEM_1\SYSTEM.DATA1 SYSTEM+ 1 555753472 3 FILE NOLINK
SYSTEM ONLINE+ D:\ORACLE\DEV\SAPDATA1\SYSTEM_2\SYSTEM.DATA2 SYSTEM+ 35 555753472 3 FILE NOLINK
SYSTEM ONLINE+ D:\ORACLE\DEV\SAPDATA1\SYSTEM_3\SYSTEM.DATA3 SYSTEM+ 36 555753472 3 FILE NOLINK
SYSTEM ONLINE+ D:\ORACLE\DEV\SAPDATA1\SYSTEM_4\SYSTEM.DATA4 SYSTEM+ 37 555753472 3 FILE NOLINK
SYSTEM ONLINE+ D:\ORACLE\DEV\SAPDATA1\SYSTEM_5\SYSTEM.DATA5 SYSTEM+ 38 555753472 3 FILE NOLINK
BR0119I Redo log files
File Status Group Size Device Type Link
D:\ORACLE\DEV\ORIGLOGA\LOG_G11M1.DBF INUSE 1 52429312 3 FILE NOLINK
D:\ORACLE\DEV\MIRRLOGA\LOG_G11M2.DBF INUSE 1 52429312 3 FILE NOLINK
D:\ORACLE\DEV\ORIGLOGB\LOG_G12M1.DBF INUSE 2 52429312 3 FILE NOLINK
D:\ORACLE\DEV\MIRRLOGB\LOG_G12M2.DBF INUSE 2 52429312 3 FILE NOLINK
D:\ORACLE\DEV\ORIGLOGA\LOG_G13M1.DBF INUSE 3 52429312 3 FILE NOLINK
D:\ORACLE\DEV\MIRRLOGA\LOG_G13M2.DBF INUSE 3 52429312 3 FILE NOLINK
D:\ORACLE\DEV\ORIGLOGB\LOG_G14M1.DBF INUSE 4 52429312 3 FILE NOLINK
D:\ORACLE\DEV\MIRRLOGB\LOG_G14M2.DBF INUSE 4 52429312 3 FILE NOLINK
BR0120I Control files
File Size Device Type Link
D:\ORACLE\DEV\ORIGLOGA\CNTRL\CNTRLDEV.DBF 6791168 3 FILE NOLINK
D:\ORACLE\DEV\SAPDATA1\SYSTEM_1\CNTRL\CNTRLDEV.DBF 6791168 3 FILE NOLINK
D:\ORACLE\DEV\SAPARCH\CNTRL\CNTRLDEV.DBF 6791168 3 FILE NOLINK
BR0982I Database disk volumes
Directory / Raw disk Device Total[KB] Free[KB] Used[%]
D:\oracle\ora92 3 204804620 119569600 41.62
D:\oracle\DEV 3 204804620 119569600 41.62
D:\ORACLE\DEV\MIRRLOGA 3 204804620 119569600 41.62
D:\ORACLE\DEV\MIRRLOGB 3 204804620 119569600 41.62
D:\ORACLE\DEV\ORIGLOGA 3 204804620 119569600 41.62
D:\ORACLE\DEV\ORIGLOGB 3 204804620 119569600 41.62
D:\ORACLE\DEV\SAPARCH 3 204804620 119569600 41.62
D:\ORACLE\DEV\SAPDATA1 3 204804620 119569600 41.62
D:\ORACLE\DEV\SAPDATA1\SYSTEM_1\CNTRL 3 204804620 119569600 41.62
D:\ORACLE\DEV\SAPDATA2 3 204804620 119569600 41.62
D:\ORACLE\DEV\SAPDATA3 3 204804620 119569600 41.62
D:\ORACLE\DEV\SAPDATA4 3 204804620 119569600 41.62
D:\oracle\DEV\saparch 3 204804620 119569592 41.62
D:\oracle\DEV\sapbackup 3 204804620 119569592 41.62
D:\oracle\DEV\sapcheck 3 204804620 119569592 41.62
D:\oracle\DEV\sapreorg 3 204804620 119569592 41.62
D:\oracle\DEV\saptrace 3 204804620 119569592 41.62
BR0280I BRCONNECT time stamp: 2007-11-05 11.17.42
BR0814I Number of tables in schema of owner SAPDEV: 43103
BR0836I Number of info cube tables found for owner SAPDEV: 49
BR0814I Number of tables in schema of owner SYS: 292
BR0814I Number of tables/partitions in schema of owner SYSTEM: 128/27
BR0280I BRCONNECT time stamp: 2007-11-05 11.17.53
BR0815I Number of indexes in schema of owner SAPDEV: 51463
BR0815I Number of indexes in schema of owner SYS: 289
BR0815I Number of indexes/partitions in schema of owner SYSTEM: 157/24
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.18
BR0816I Number of segments in schema of owner OPS$DSERVER\DEVADM: 1
BR0816I Number of segments in schema of owner OUTLN: 6
BR0816I Number of segments/LOBs in schema of owner SAPDEV: 95252/343
BR0816I Number of segments/LOBs in schema of owner SYS: 645/22
BR0816I Number of segments/LOBs in schema of owner SYSTEM: 327/21
BR0983I Tablespace fragmentation
Tablespace Files Tables Indexes Extents Total[KB] Used[%] Free[KB] Extents MaxSize[KB] Used[%] Free[KB] Largest[KB]
PSAPDEV 14 42821 51075 111312 28672000 66.98 9466880 7 143360000+ 13.40+ 124154880+ 8192000:8192000:8192000:8192000:8192000+
PSAPDEV640 17 273 378 8401 34816000 70.91 10128448 13 154378240+ 15.99+ 129690688+ 8192000:8192000:8192000:8192000:8192000+
PSAPDEVUSR 1 9 10 19 20480 6.25 19200 1 10240000+ 0.01+ 10238720+ 10219520+:19200:0:0:0
PSAPTEMP 1 0 0 1 686080 36.72 434176 1 10240000+ 2.46+ 9988096+ 9553920+:434176:0:0:0
PSAPUNDO 5 0 0 1066 14233600 20.49 11316928 5 21626880+ 13.49+ 18710208+ 7393280+:2846656:2846656:2830272:2781120
SYSTEM 5 393 422 2107 2713600 19.95 2172352 5 51200000+ 1.06+ 50658752+ 9697280:9697280:9697280:9697280:9697280+
Total: 43 43496 51885 122906 81141760 58.67 33537984 32 391045120 12.17 343441344 53248000:29381312:28927936:28911552:28862400
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.18
BR0818I Number of tables found in DBDIFF for owner SAPDEV: 2
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.19
BR0818I Number of tables found in DBSTATC for owner SAPDEV: 403
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.26
BR0819I Number of pool and cluster tables found in DDNTT for owner SAPDEV: 169
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.26
BR0961I Number of conditions found in DBCHECKORA: 70
BR0962I Check conditions for database administration:
Pos. Act. Lev. Condition Object
Description
1 Y W ARCHIVER_STUCK
Out of space in archive directory - more than 90% space used
2 Y E CONTROL_FILE_MIRROR
Control file not mirrored
3 Y E CONTROL_FILE_MISSING
Control file missing on disk
4 Y W CRITICAL_FILE
File autoextend can cause file system overflow
5 Y W CRITICAL_SEGMENT
Segment can cause tablespace overflow - by allocating up to 2 next extent(s)
6 Y E DATA_FILE_MISMATCH
Data file marked as missing in control file
7 Y E DATA_FILE_MISSING
Data file missing on disk
8 Y E FILE_OFFLINE
Database file offline
9 Y W FILE_SYSTEM_FULL
File system full - more than 99% space used
10 Y E HARMFUL_STATISTICS
Table or index has harmful optimizer statistics
11 Y E INVALID_FILE_TYPE
Invalid operating system file type
12 Y W IN_WRONG_TABLESPACE
Table or index in wrong tablespace
13 Y E MISSING_INDEX
Table has no index
14 Y E MISSING_STATISTICS
Table or index has no optimizer statistics
15 Y E NOARCHIVELOG_MODE
Database in NOARCHIVELOG mode
16 Y W PCTINCREASE_NOT_ZERO
PCTINCREASE value not equal zero
17 Y E REDOLOG_FILE_MIRROR
Redo log file not mirrored
18 Y E REDOLOG_FILE_MISSING
Redo log file missing on disk
19 Y W TABLESPACE_FULL
Tablespace full - more than 95% space used
20 Y W TABLESPACE_IN_BACKUP
Tablespace in backup mode
21 Y E TABLESPACE_OFFLINE
Tablespace offline
22 Y W TOO_MANY_EXTENTS
Segment has too many extents - more than 90% of MAXEXTENTS used
BR0963I Check conditions for database operations:
Pos. Act. Lev. Condition Description
1 Y W ARCHIVE_TOO_OLD Last successful archive log backup older than 10 days (or has not been run)
2 Y W BACKUP_TOO_OLD Last successful complete database backup older than 10 days (or has not been run)
3 Y W LAST_ARCHIVE_FAILED Last archive log backup failed
4 Y W LAST_BACKUP_FAILED Last complete database backup failed
5 Y W LAST_OPERATION_FAILED Last 'chk' operation failed
6 N W LAST_OPERATION_FAILED Last DBA operation failed
7 Y W LAST_STATS_FAILED Last update optimizer statistics failed
8 Y W OPERATION_TOO_OLD Last successful 'chk' operation older than 10 days (or has not been run)
9 N W OPERATION_TOO_OLD Last successful DBA operation older than 10 days (or has not been run)
10 Y W STATS_TOO_OLD Last successful update optimizer statistics older than 10 days (or has not been run)
BR0964I Check conditions for database messages:
Pos. Act. Lev. Message Description
1 Y W ORA-00060 Deadlock while waiting for resource
2 Y E ORA-00272 Error writing archive log
3 Y E ORA-00376 Database file cannot be read
4 Y E ORA-00600 Oracle internal error
5 Y E ORA-01113 Data file needs media recovery
6 Y E ORA-01114 I/O error writing database file
7 Y E ORA-01115 I/O error reading database file
8 Y E ORA-01122 File verification check failed
9 Y E ORA-01135 Database file is offline
10 Y W ORA-01149 Cannot shutdown - data file in backup mode
11 Y W ORA-01555 Snapshot too old
12 Y W ORA-01562 Failed to extend rollback segment
13 Y E ORA-01578 Database block corrupted
14 Y E ORA-03113 End-of-file on communication channel
15 Y E ORA-07445 Exception encountered: core dump
16 Y W Checkpoint not complete
BR0965I Check conditions for database profile:
Pos. Act. Lev. Parameter Condition Value Unit
1 Y W CONTROL_FILE_RECORD_KEEP_TIME < 30
2 Y W CURSOR_SPACE_FOR_TIME <> FALSE
3 Y W DBWR_IO_SLAVES <> 0
4 Y W DB_BLOCK_BUFFERS <> 0
5 Y E DB_BLOCK_SIZE <> 8192
6 Y W DB_FILES < 254
7 Y W DB_FILE_MULTIBLOCK_READ_COUNT > 32
8 Y W DISK_ASYNCH_IO <> TRUE
9 Y W HASH_JOIN_ENABLED <> FALSE
10 Y E LOG_ARCHIVE_START <> TRUE
11 Y W LOG_BUFFER >< 2048,512 K
12 Y W LOG_CHECKPOINT_INTERVAL <> 0
13 Y W LOG_CHECKPOINT_TIMEOUT <> 0
14 Y W OPEN_CURSORS >< 2000,800
15 Y W OPTIMIZER_FEATURES_ENABLE <> 9.2.0
16 Y W OPTIMIZER_INDEX_COST_ADJ <> 10
17 Y W OPTIMIZER_MODE <> CHOOSE
18 Y W SHARED_POOL_SIZE < 50 M
19 Y E SORT_AREA_RETAINED_SIZE > 0
20 Y E SORT_AREA_SIZE >< 4,2 M
21 Y E TIMED_STATISTICS <> TRUE
22 Y E TRANSACTION_AUDITING <> FALSE
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.26
BR0807I Name of database instance: DEV
BR0808I BRCONNECT action ID: cdwnjhor
BR0809I BRCONNECT function ID: chk
BR0810I BRCONNECT function: check
BR0951I Number of active/inactive check conditions for database administration: 22/0
BR0952I Number of active/inactive check conditions for database operations: 8/2
BR0953I Number of active/inactive check conditions for database messages: 16/0
BR0954I Number of active/inactive check conditions for database profile: 22/0
BR0960I Last successful BRCONNECT check run: caaaaaaa.chk 0000-00-00 00.00.00
BR0126I Unattended mode active - no operator confirmation required
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.26
BR0969I Checking database administration...
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.26
BR0972I Checking database operations...
BR0973W Database operation alert - level: WARNING, operation: Archive log backup, condition: Operation too old or has not been run in clean-up period
BR0973W Database operation alert - level: WARNING, operation: Complete database backup, condition: Operation too old or has not been run in clean-up period
BR0973W Database operation alert - level: WARNING, operation: chk, condition: Operation too old or has not been run in clean-up period
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.27
BR0974I Checking database messages...
BR0976W Database message alert - level: ERROR, line: 468, time: 2030-11-04 10.13.17, message:
ORA-00600: internal error code, arguments: [4406], [0x6A366AA0], [0x0], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 472, time: 2030-11-04 10.13.17, message:
ORA-00600: internal error code, arguments: [kcbklbc_4], [], [], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 478, time: 2030-11-04 10.13.20, message:
ORA-00600: internal error code, arguments: [KSSRMP1], [], [], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 479, time: 2030-11-04 10.13.20, message:
ORA-00600: internal error code, arguments: [kcbklbc_4], [], [], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 483, time: 2030-11-04 10.13.22, message:
ORA-00600: internal error code, arguments: [KSSRMP1], [], [], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 484, time: 2030-11-04 10.13.22, message:
ORA-00600: internal error code, arguments: [KSSRMP1], [], [], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 485, time: 2030-11-04 10.13.22, message:
ORA-00600: internal error code, arguments: [kcbklbc_4], [], [], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 499, time: 2030-11-04 10.13.26, message:
ORA-00600: internal error code, arguments: [kcbgcur_9], [8388713], [29], [1610612736], [1610612738], [], [], []
BR0976W Database message alert - level: ERROR, line: 504, time: 2030-11-04 10.13.28, message:
ORA-00600: internal error code, arguments: [kcbgcur_9], [8388713], [29], [1610612736], [1610612738], [], [], []
BR0976W Database message alert - level: ERROR, line: 510, time: 2030-11-04 10.13.30, message:
ORA-00600: internal error code, arguments: [4406], [0x6A366AA0], [0x0], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 514, time: 2030-11-04 10.13.31, message:
ORA-00600: internal error code, arguments: [], [], [], [], [], [], [], []
BR0976W Database message alert - level: ERROR, line: 521, time: 2030-11-04 10.13.31, message:
ORA-00600: internal error code, arguments: [kcbgcur_9], [8388713], [29], [1610612736], [1610612738], [], [], []
BR0280I BRCONNECT time stamp: 2007-11-05 11.23.27
BR0977I Checking database profile...
BR0979I Changes in database profile parameters:
Pos. Parameter name Old value
New value
1 O7_DICTIONARY_ACCESSIBILITY (new)
FALSE
2 AQ_TM_PROCESSES (new)
0
3 ARCHIVE_LAG_TARGET (new)
0
4 AUDIT_SYS_OPERATIONS (new)
FALSE
5 AUDIT_TRAIL (new)
NONE
6 BACKGROUND_CORE_DUMP (new)
partial
7 BACKGROUND_DUMP_DEST (new)
D:\oracle\DEV\saptrace\background
8 BACKUP_TAPE_IO_SLAVES (new)
FALSE
9 BITMAP_MERGE_AREA_SIZE (new)
1048576
10 BLANK_TRIMMING (new)
FALSE
11 CIRCUITS (new)
0
12 CLUSTER_DATABASE (new)
FALSE
13 CLUSTER_DATABASE_INSTANCES (new)
1
14 COMMIT_POINT_STRENGTH (new)
1
15 COMPATIBLE (new)
9.2.0
16 CONTROL_FILE_RECORD_KEEP_TIME (new)
30
17 CONTROL_FILES (new)
D:\oracle\DEV\origlogA\cntrl\cntrlDEV.dbf, D:\oracle\DEV\sapdata1\system_1\cntrl\cntrlDEV.dbf, D:\oracle\DEV\saparch\cntrl\cntrlDEV.dbf
18 CORE_DUMP_DEST (new)
D:\oracle\DEV\saptrace\background
19 CPU_COUNT (new)
1
20 CREATE_BITMAP_AREA_SIZE (new)
8388608
21 CURSOR_SHARING (new)
EXACT
22 CURSOR_SPACE_FOR_TIME (new)
FALSE
23 DB_16K_CACHE_SIZE (new)
0
24 DB_2K_CACHE_SIZE (new)
0
25 DB_32K_CACHE_SIZE (new)
0
26 DB_4K_CACHE_SIZE (new)
0
27 DB_8K_CACHE_SIZE (new)
0
28 DB_BLOCK_BUFFERS (new)
0
29 DB_BLOCK_CHECKING (new)
FALSE
30 DB_BLOCK_CHECKSUM (new)
TRUE
31 DB_BLOCK_SIZE (new)
8192
32 DB_CACHE_ADVICE (new)
ON
33 DB_CACHE_SIZE (new)
83886080
34 DB_FILE_MULTIBLOCK_READ_COUNT (new)
8
35 DB_FILES (new)
254
36 DB_KEEP_CACHE_SIZE (new)
0
37 DB_NAME (new)
DEV
38 DB_RECYCLE_CACHE_SIZE (new)
0
39 DB_WRITER_PROCESSES (new)
1
40 DBLINK_ENCRYPT_LOGIN (new)
FALSE
41 DBWR_IO_SLAVES (new)
0
42 DG_BROKER_CONFIG_FILE1 (new)
%ORACLE_HOME%\DATABASE\DR1%ORACLE_SID%.DAT
43 DG_BROKER_CONFIG_FILE2 (new)
%ORACLE_HOME%\DATABASE\DR2%ORACLE_SID%.DAT
44 DG_BROKER_START (new)
FALSE
45 DISK_ASYNCH_IO (new)
TRUE
46 DISTRIBUTED_LOCK_TIMEOUT (new)
60
47 DML_LOCKS (new)
4000
48 DRS_START (new)
FALSE
49 ENQUEUE_RESOURCES (new)
8000
50 FAST_START_IO_TARGET (new)
0
51 FAST_START_MTTR_TARGET (new)
900
52 FAST_START_PARALLEL_ROLLBACK (new)
LOW
53 FILE_MAPPING (new)
FALSE
54 GLOBAL_NAMES (new)
FALSE
55 HASH_AREA_SIZE (new)
4194304
56 HASH_JOIN_ENABLED (new)
FALSE
57 HI_SHARED_MEMORY_ADDRESS (new)
0
58 HS_AUTOREGISTER (new)
TRUE
59 INSTANCE_NAME (new)
dev
60 INSTANCE_NUMBER (new)
0
61 JAVA_MAX_SESSIONSPACE_SIZE (new)
0
62 JAVA_POOL_SIZE (new)
25165824
63 JAVA_SOFT_SESSIONSPACE_LIMIT (new)
0
64 JOB_QUEUE_PROCESSES (new)
0
65 LARGE_POOL_SIZE (new)
0
66 LICENSE_MAX_SESSIONS (new)
0
67 LICENSE_MAX_USERS (new)
0
68 LICENSE_SESSIONS_WARNING (new)
0
69 LOCK_SGA (new)
FALSE
70 LOG_ARCHIVE_DEST (new)
D:\oracle\DEV\oraarch\DEVarch
71 LOG_ARCHIVE_DEST_STATE_1 (new)
enable
72 LOG_ARCHIVE_DEST_STATE_10 (new)
enable
73 LOG_ARCHIVE_DEST_STATE_2 (new)
enable
74 LOG_ARCHIVE_DEST_STATE_3 (new)
enable
75 LOG_ARCHIVE_DEST_STATE_4 (new)
enable
76 LOG_ARCHIVE_DEST_STATE_5 (new)
enable
77 LOG_ARCHIVE_DEST_STATE_6 (new)
enable
78 LOG_ARCHIVE_DEST_STATE_7 (new)
enable
79 LOG_ARCHIVE_DEST_STATE_8 (new)
enable
80 LOG_ARCHIVE_DEST_STATE_9 (new)
enable
81 LOG_ARCHIVE_FORMAT (new)
ARC%S.%T
82 LOG_ARCHIVE_MAX_PROCESSES (new)
2
83 LOG_ARCHIVE_MIN_SUCCEED_DEST (new)
1
84 LOG_ARCHIVE_START (new)
TRUE
85 LOG_ARCHIVE_TRACE (new)
0
86 LOG_BUFFER (new)
1048576
87 LOG_CHECKPOINT_INTERVAL (new)
0
88 LOG_CHECKPOINT_TIMEOUT (new)
0
89 LOG_CHECKPOINTS_TO_ALERT (new)
TRUE
90 LOG_PARALLELISM (new)
1
91 LOGMNR_MAX_PERSISTENT_SESSIONS (new)
1
92 MAX_COMMIT_PROPAGATION_DELAY (new)
700
93 MAX_DISPATCHERS (new)
5
94 MAX_DUMP_FILE_SIZE (new)
UNLIMITED
95 MAX_ENABLED_ROLES (new)
30
96 MAX_ROLLBACK_SEGMENTS (new)
30
97 MAX_SHARED_SERVERS (new)
20
98 MTS_CIRCUITS (new)
0
99 MTS_MAX_DISPATCHERS (new)
5
100 MTS_MAX_SERVERS (new)
20
101 MTS_MULTIPLE_LISTENERS (new)
FALSE
102 MTS_SERVERS (new)
0
103 MTS_SERVICE (new)
DEV
104 MTS_SESSIONS (new)
0
105 NLS_LANGUAGE (new)
AMERICAN
106 NLS_LENGTH_SEMANTICS (new)
BYTE
107 NLS_NCHAR_CONV_EXCP (new)
FALSE
108 NLS_TERRITORY (new)
AMERICA
109 OBJECT_CACHE_MAX_SIZE_PERCENT (new)
10
110 OBJECT_CACHE_OPTIMAL_SIZE (new)
102400
111 OLAP_PAGE_POOL_SIZE (new)
33554432
112 OPEN_CURSORS (new)
800
113 OPEN_LINKS (new)
4
114 OPEN_LINKS_PER_INSTANCE (new)
4
115 OPTIMIZER_DYNAMIC_SAMPLING (new)
1
116 OPTIMIZER_FEATURES_ENABLE (new)
9.2.0
117 OPTIMIZER_INDEX_CACHING (new)
0
118 OPTIMIZER_INDEX_COST_ADJ (new)
10
119 OPTIMIZER_MAX_PERMUTATIONS (new)
2000
120 OPTIMIZER_MODE (new)
CHOOSE
121 ORACLE_TRACE_COLLECTION_PATH (new)
%ORACLE_HOME%\OTRACE\ADMIN\CDF\
122 ORACLE_TRACE_COLLECTION_SIZE (new)
5242880
123 ORACLE_TRACE_ENABLE (new)
FALSE
124 ORACLE_TRACE_FACILITY_NAME (new)
oracled
125 ORACLE_TRACE_FACILITY_PATH (new)
%ORACLE_HOME%\OTRACE\ADMIN\FDF\
126 OS_AUTHENT_PREFIX (new)
OPS$
127 OS_ROLES (new)
FALSE
128 PARALLEL_ADAPTIVE_MULTI_USER (new)
FALSE
129 PARALLEL_AUTOMATIC_TUNING (new)
FALSE
130 PARALLEL_EXECUTION_MESSAGE_SIZE (new)
2148
131 PARALLEL_MAX_SERVERS (new)
5
132 PARALLEL_MIN_PERCENT (new)
0
133 PARALLEL_MIN_SERVERS (new)
0
134 PARALLEL_SERVER (new)
FALSE
135 PARALLEL_SERVER_INSTANCES (new)
1
136 PARALLEL_THREADS_PER_CPU (new)
2
137 PARTITION_VIEW_ENABLED (new)
FALSE
138 PGA_AGGREGATE_TARGET (new)
85144371
139 PLSQL_COMPILER_FLAGS (new)
INTERPRETED
140 PLSQL_NATIVE_LIBRARY_SUBDIR_COUNT (new)
0
141 PLSQL_V2_COMPATIBILITY (new)
FALSE
142 PRE_PAGE_SGA (new)
FALSE
143 PROCESSES (new)
80
144 QUERY_REWRITE_ENABLED (new)
false
145 QUERY_REWRITE_INTEGRITY (new)
enforced
146 READ_ONLY_OPEN_DELAYED (new)
FALSE
147 RECOVERY_PARALLELISM (new)
0
148 REMOTE_ARCHIVE_ENABLE (new)
true
149 REMOTE_DEPENDENCIES_MODE (new)
TIMESTAMP
150 REMOTE_LOGIN_PASSWORDFILE (new)
NONE
151 REMOTE_OS_AUTHENT (new)
TRUE
152 REMOTE_OS_ROLES (new)
FALSE
153 REPLICATION_DEPENDENCY_TRACKING (new)
TRUE
154 RESOURCE_LIMIT (new)
FALSE
155 ROW_LOCKING (new)
always
156 SERIAL_REUSE (new)
DISABLE
157 SERIALIZABLE (new)
FALSE
158 SERVICE_NAMES (new)
DEV
159 SESSION_CACHED_CURSORS (new)
0
160 SESSION_MAX_OPEN_FILES (new)
10
161 SESSIONS (new)
96
162 SGA_MAX_SIZE (new)
219749116
163 SHADOW_CORE_DUMP (new)
partial
164 SHARED_MEMORY_ADDRESS (new)
0
165 SHARED_POOL_RESERVED_SIZE (new)
9011200
166 SHARED_POOL_SIZE -
Hi,
I am running into a data corruption issue.
My database is:
SQL> select banner from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Linux: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
The following information is written to the alert.log File
alert.log File
Mon Nov 07 17:24:12 2011
Starting ORACLE instance (normal)
LICENSE_MAX_SESSION = 0
LICENSE_SESSIONS_WARNING = 0
Picked latch-free SCN scheme 2
Using LOG_ARCHIVE_DEST_1 parameter default value as USE_DB_RECOVERY_FILE_DEST
Autotune of undo retention is turned on.
IMODE=BR
ILAT =27
LICENSE_MAX_USERS = 0
SYS auditing is disabled
Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production.
ORACLE_HOME = /home/oracle/dbhome
System name: Linux
Node name: dbl-ora
Release: 2.6.18-274.3.1.el5 (This is rhel5.7 or CentOs5.7)
Version: #1 SMP Tue Sep 6 20:14:03 EDT 2011
Machine: i686 / vm
Mon Nov 07 19:42:14 2011
Corrupt Block Found
TSN = 0, TSNAME = SYSTEM
RFN = 1, BLK = 52346, RDBA = 4246650
OBJN = 225, OBJD = 225, OBJECT = IDL_UB1$, SUBOBJECT =
SEGMENT OWNER = SYS, SEGMENT TYPE = Table Segment
Errors in file /home/oracle/diag/rdbms/ora11/K/trace/K_ora_5425.trc (incident=11053):
ORA-01578: ORACLE data block corrupted (file # 1, block # 52346)
ORA-01110: data file 1: '/home/oracle/oradata/ora11/system01.dbf'
Incident details in: /home/oracle/diag/rdbms/ora11/K/incident/incdir_11053/K_ora_5425_i11053.trc
I was even able to detect the row that is generating the issue.
In my case the obj# 33573 until 33577 are causing the issue,
though I have no idea what sort of objects are affected.
SQL> select * from idl_ub1$ where obj#=33572;
OBJ# PART VERSION PIECE# LENGTH P
33572 1 0 0 9032 F
SQL> select * from idl_ub1$ where obj#=33573;
ERROR:
ORA-01578: ORACLE data block corrupted (file # 1, block # 52346)
ORA-01110: data file 1: '/home/oracle/oradata/ora11/system01.dbf'
no rows selected
SQL> select * from idl_ub1$ where obj#=33577;
ERROR:
ORA-01578: ORACLE data block corrupted (file # 1, block # 52358)
ORA-01110: data file 1: '/home/oracle/oradata/ora11/system01.dbf'
no rows selected
SQL> select * from idl_ub1$ where obj#=33578;
OBJ# PART VERSION PIECE# LENGTH P
33578 1 0 0 9032 F
Any idea, how to fix this problem without recreating the whole database?
Thanks in advance.
wmager
Edited by: magerxr on Nov 7, 2011 8:27 AMmagerxr wrote:
Thanks again for your quick advise.
Here comes the result of dbv against my system tablespace.
[oracle@dbl-ora ~]$ dbv FILE=/home/oracle/oradata/ora11/system01.dbf
DBVERIFY: Release 11.2.0.3.0 - Production on Mon Nov 7 22:39:11 2011
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
DBVERIFY - Verification starting : FILE = /home/oracle/oradata/ora11/system01.dbf
Page 52346 is influx - most likely media corrupt
Corrupt block relative dba: 0x0040cc7a (file 1, block 52346)
Fractured block found during dbv:
Data in bad block:
type: 6 format: 2 rdba: 0x0040cc7a
last change scn: 0x0000.0010acfa seq: 0x1 flg: 0x04
spare1: 0x0 spare2: 0x0 spare3: 0x0
consistency value in tail: 0x00000000
check value in block header: 0x8fda
computed block checksum: 0xaafbselect owner, segment_type, segment_name from dba_extents
where file_id = 1 and 52346 between block_id and block_id+blocks-1;
>
Page 52347 is marked corrupt
Corrupt block relative dba: 0x0040cc7b (file 1, block 52347)
Bad header found during dbv:
Data in bad block:
type: 1 format: 6 rdba: 0x0000a206
last change scn: 0xacfa.0040cc7b seq: 0x10 flg: 0x00
spare1: 0xfa spare2: 0xac spare3: 0x401
consistency value in tail: 0x00000000
check value in block header: 0x0
block checksum disabled
select owner, segment_type, segment_name from dba_extents
where file_id = 1 and 52347 between block_id and block_id+blocks-1;
Page 52361 is marked corrupt
Corrupt block relative dba: 0x0040cc89 (file 1, block 52361)
Bad header found during dbv:
Data in bad block:
type: 1 format: 6 rdba: 0x0000a206
last change scn: 0xacfb.0040cc89 seq: 0x10 flg: 0x00
spare1: 0xfb spare2: 0xac spare3: 0x401
consistency value in tail: 0x32298500
check value in block header: 0x0
block checksum disabled
select owner, segment_type, segment_name from dba_extents
where file_id = 1 and 52361 between block_id and block_id+blocks-1;
>
>
DBVERIFY - Verification complete
Total Pages Examined : 122880
Total Pages Processed (Data) : 81298
Total Pages Failing (Data) : 0
Total Pages Processed (Index): 22307
Total Pages Failing (Index): 0
Total Pages Processed (Other): 3349
Total Pages Processed (Seg) : 1
Total Pages Failing (Seg) : 0
Total Pages Empty : 15910
Total Pages Marked Corrupt : 16
Total Pages Influx : 1
Total Pages Encrypted : 0
Highest block SCN : 4064615 (0.4064615)post results from 3 SQL above -
Hello !
I have very often the following error message in the log file:
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 2, block # 416)
ORA-01110: data file 2: '/opt/oracle/oradata/wsdb/undotbs01.dbf'
I have run: SELECT SEGMENT_TYPE,OWNER||'.'||SEGMENT_NAME FROM DBA_EXTENTS
WHERE 2 = FILE_ID AND 416 BETWEEN BLOCK_ID AND BLOCK_ID+BLOCKS -1;
as described in the error-description.
But now I don't know how to restore/repair the segment.
What should I do know?
I hope You can help me.
Thanks in advance.
AndreasYou can do two things Either Restore a Old Backup of The Tablespace and Do a Point In Time Recovery. U will loose Changes Made after the Recovery. Or Else u can a point In Time Recovery of the Tablespace and Loose Only the hanges that you made after the Segment Got Corrupted. Or else Try Doing a Export and Import of that segment and see if it works.
HTH
Cheers
Ganesh R -
ORA-01578 block corrupted in OLAP instances
Hi all,
We found in almost every instance we got OLAP Option installed this error:
ORA-01578: bloque de datos ORACLE corrupto (archivo numero 3, bloque numero 1452)
ORA-01110: archivo de datos 3: 'G:\ORADATA\NKDW2\CWMLITE01.DBF'
ORA-06512: en "OLAPSYS.CWM2_OLAP_METADATA_REFRESH", linea 8
when executing:
cwm2_OLAP_METADATA_REFRESH.MR_REFRESH()
The first time we thought it was due to a "real" block corruption but when started to appear
in others instances (different physical machines) we really thought it could be a bug.
Several disk scans on linux and windows environments showed us everything was fine but Oracle
still persist in the block corruption.
Any ideas? your comments are welcome
Thanx in advanced
aLeXPlease confirm the corruption.
select tablespace_name
, segment_type
, owner
, segment_name
from dba_extents
where file_id='3'
and '1425' between block_id and block_id + blocks -1;
Since you're running into issues on several machines (on a procedure in a package) it's possible that a piece of the code might be corrupted in some way. Can you drop the package then recreate it? The ?/cwmlite/admin/cwm2mrrf.plb and cwm2mrrf.plb scripts recreate this bit. If it turns out you have a bad script we can wrap you a new one and send it. -
ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
When i tried to export data from db (Oracle 11g, 64bit on Linux)
Im getting following error
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling EXFSYS.DBMS_EXPFIL_DEPASEX P.schema_info_exp
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 55497)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i nfo_exp
. exporting foreign function library names for user WB_APP_MANAGER
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 44638)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00000: Export terminated unsuccessfully
I donot understand how to solve this issue Please help me to solve this issue..
Thanks891620 wrote:
When i tried to export data from db (Oracle 11g, 64bit on Linux)
Im getting following error
About to export specified users ...
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 53713)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling EXFSYS.DBMS_EXPFIL_DEPASEX P.schema_info_exp
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 55497)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00083: The previous problem occurred when calling SYS.DBMS_CUBE_EXP.schema_i nfo_exp
. exporting foreign function library names for user WB_APP_MANAGER
. exporting PUBLIC type synonyms
EXP-00008: ORACLE error 604 encountered
ORA-00604: error occurred at recursive SQL level 1
ORA-01578: ORACLE data block corrupted (file # 1, block # 44638)
ORA-01110: data file 1: '/u02/oradata/RSDB1/system01.dbf'
EXP-00000: Export terminated unsuccessfully
I donot understand how to solve this issue Please help me to solve this issue..
Thanksrun dbv against '/u02/oradata/RSDB1/system01.dbf'
& post results back here
dbv
DBVERIFY: Release 11.2.0.1.0 - Production on Fri Oct 14 20:39:11 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Keyword Description (Default)
FILE File to Verify (NONE)
START Start Block (First Block of File)
END End Block (Last Block of File)
BLOCKSIZE Logical Block Size (8192)
LOGFILE Output Log (NONE)
FEEDBACK Display Progress (0)
PARFILE Parameter File (NONE)
USERID Username/Password (NONE)
SEGMENT_ID Segment ID (tsn.relfile.block) (NONE)
HIGH_SCN Highest Block SCN To Verify (NONE)
(scn_wrap.scn_base OR scn) -
CSSCAN for database character set conversion failing with ORA-01578
Hi ,
CSSCAN for database character set conversion failing with ORA-01578: ORACLE data block corrupted (file # 84, block # 23930). please help me out in this regard.
Thanks,
Sravan.Hi Anand,
Thanks for your update. The segment is a table not an index in my case. And i got this error while running CSSCAN on Apps database for character set conversion to UTF8 from WE8ISO8859P1. Please find the snapshot below for your reference.
SQL> select segment_name, segment_type, owner from dba_extents where file_id = 84 and 23930 between block_id and block_id + blocks - 1;
SEGMENT_NAME
SEGMENT_TYPE OWNER
EDW_LOOKUP_M
TABLE POA
SQL> ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE;
ANALYZE TABLE POA.EDW_LOOKUP_M VALIDATE STRUCTURE CASCADE
ERROR at line 1:
ORA-01578: ORACLE data block corrupted (file # 84, block # 23930)
ORA-01110: data file 84: '/d911/oracle/dbcondata/poad01.dbf'
Thanks,
Sravan. -
DBIF_SETG_SQL_ERROR ON ORA-01578
Hello Experts,
I am facing above mentioned runtime error when i m trying to double click on perform statement to create form.
i have used perform GET_DATA in my program. when i double-clink on GET_DATA to create a form with dat name, it displays this error.
Any advice is welcomed.
Thanks & Regards,
Vinit.Hi simplyvinit ,
Check the table UVERS to verify for upgraded recently.
ORA-01578 ORACLE data block corrupted (file # num, block # num)
Cause:The given data block was corrupted, probably as a result of program errors.
Action:Try to restore the segment containing the given data block. This may involve dropping the segment and re-creating it.
Hope this information is help to you.
Regards,
José -
ORA-01578 - bad blocks.
Hello,
We had a SAN crash last month and with all the confusion I missed that we had some bad blocks after the crash. Our RMAN backups have now aged out so we don't have a RMAN backup. What I do have is a datapump backup from before the event. This is table corruption. Is there a way to either restore the table to a stage location, catalog the table or datafile somehow, then restore the bad block? Otherwise, somehow determine the bad data and get the data from the backed up table and insert it back into the bad table after I re-recreate it without the bad blocks?
Oracle support is just saying recreate the table skipping the bad blocks but there has to be some way here if the data is on that datapump backup that I can determin what it is then restore it.
ThanksThe fix blocks procedure did not work and I have not attempted the skip blocks. If I run the skip corrupt blocks will my query work? Is that worth a shot next?
select count(*) TRACKING_ID from JEBCS3NM.TRACKABLE_OBJECT t, JEBCS3NM.CONVEYANCE c where c.TRACKABLE_OBJECT_GUID = t.TRACKABLE_OBJECT_GUID and PRIMARY_MOVER_ID is null
ERROR at line 1:
ORA-01578: ORACLE data block corrupted (file # 75, block # 1024073)
ORA-01110: data file 75: '/u02/oradata/bcso/jebcs3nm_d.dbf'
SELECT OBJECT_NAME, BLOCK_ID, MARKED_CORRUPT
2 FROM REPAIR_TABLE;
OBJECT_NAME BLOCK_ID MARKED_COR
CONVEYANCE 1024073 TRUE
CONVEYANCE 1024105 TRUE
CONVEYANCE 1024113 TRUE
SQL> SET SERVEROUTPUT ON
SQL> DECLARE num_fix INT;
2 BEGIN
num_fix := 0;
DBMS_REPAIR.FIX_CORRUPT_BLOCKS (
SCHEMA_NAME => 'JEBCS3NM',
6 OBJECT_NAME=> 'CONVEYANCE',
7 OBJECT_TYPE => dbms_repair.table_object,
REPAIR_TABLE_NAME => 'REPAIR_TABLE',
FIX_COUNT=> num_fix);
DBMS_OUTPUT.PUT_LINE('num fix: ' || TO_CHAR(num_fix));
END;
12 /
num fix: 0
PL/SQL procedure successfully completed. -
Hi all;
I have 9i database (9.2.0.7.0) instance on Windows XP. When I starting up the instance, I have an error like following and instance not open.
ORA-01578: Oracle data block corrupted (file#2, block#121)
ORA-01110: data file 2: 'C:\oracle\oradata\orcl\undotbs01.dbf'
Unfortunately I have no backup. What can I do to solve this problem?My createcfile.sql including following commands:
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS NOARCHIVELOG
-- SET STANDBY TO MAXIMIZE PERFORMANCE
MAXLOGFILES 50
MAXLOGMEMBERS 5
MAXDATAFILES 100
MAXINSTANCES 1
MAXLOGHISTORY 226
LOGFILE
GROUP 1 'C:\ORACLE\ORADATA\ORCL\REDO01.LOG' SIZE 100M,
GROUP 2 'C:\ORACLE\ORADATA\ORCL\REDO02.LOG' SIZE 100M,
GROUP 3 'C:\ORACLE\ORADATA\ORCL\REDO03.LOG' SIZE 100M
-- STANDBY LOGFILE
DATAFILE
+'C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\UNDOTBS01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\CWMLITE01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\DRSYS01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\EXAMPLE01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\INDX01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\ODM01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\TOOLS01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\USERS01.DBF',+
+'C:\ORACLE\ORADATA\ORCL\XDB01.DBF',+
+'C:\ORA9DB\TSPACE\MUHDTA01.DBS',+
+'C:\ORA9DB\TSPACE\MUHIDX01.DBS',+
+'C:\ORA9DB\TSPACE\SISTEM01.DBS',+
+'C:\ORA9DB\TSPACE\STKDTA01.DBS',+
+'C:\ORA9DB\TSPACE\STKIDX01.DBS',+
+'C:\ORA9DB\TSPACE\SIPDTA01.DBS',+
+'C:\ORA9DB\TSPACE\SIPIDX01.DBS',+
+'C:\ORA9DB\TSPACE\DATDTA01.DBS',+
+'C:\ORA9DB\TSPACE\DATIDX01.DBS',+
+'C:\ORA9DB\TSPACE\ROLL01.DBF',+
+'C:\ORA9DB\TSPACE\TEMPDTA01.DBS',+
+'C:\ORA9DB\TSPACE\INDEX.DBS',+
+'C:\ORA9DB\TSPACE\CARIFIS.DBS',+
+'C:\ORA9DB\TSPACE\CARIFISIDX.DBS',+
+'C:\ORA9DB\TSPACE\CARIHESAP.DBS',+
+'C:\ORA9DB\TSPACE\CARIIDX.DBS',+
+'C:\ORA9DB\TSPACE\EVRAK.DBS',+
+'C:\ORA9DB\TSPACE\EVRAKIDX.DBS',+
+'C:\ORA9DB\TSPACE\ARSIVDATA.DBS',+
+'C:\ORA9DB\TSPACE\ARSIVIDX.DBS',+
+'C:\ORA9DB\TSPACE\UNDO01.DBF'+
CHARACTER SET WE8ISO8859P9
+;+
RECOVER DATABASE
ALTER DATABASE OPEN;
Then I ran following commands:
shutdown immediate;
[email protected]+
I have following errors:
SQL> @C:\createcfile.sql
ORACLE instance started.
Total System Global Area 655434496 bytes
Fixed Size 455424 bytes
Variable Size 494927872 bytes
Database Buffers 159383552 bytes
Redo Buffers 667648 bytes
CREATE CONTROLFILE REUSE DATABASE "ORCL" NORESETLOGS NOARCHIVELOG
*+
ERROR at line 1:
ORA-01503: CREATE CONTROLFILE failed
ORA-01565: error in identifying file 'C:\ORACLE\ORADATA\ORCL\SYSTEM01.DBF'
ORA-27047: unable to read the header block of file
OSD-04001: invalid logical block size
ORA-01507: database not mounted
ALTER DATABASE OPEN
*+
ERROR at line 1:
ORA-01507: database not mounted -
ORA-01578: How can I fix it?
My Oracle 8.1.5 database crashed today with error ORA-01578:
ORA-01578: ORACLE data block corrupted (file # 2, block # 699)
ORA-01110: data file 2: '/oracle/u02/oradata/ORCL/rbs01.dbf'
How can I fix this error? I shut down the database, but it does not restart, so I cannot log in with sqlplus.
Thank you in advance for your help.
Mike WahlerIf this is a Rollback segments tablespace as evidence suggest, and you do not have backups, you can drop the RBS tablespace and create a new.
Start by commenting out the rollback segments in the initXXX.ora file for the database.
run svrgmrl
connect internal
shutdown immediate;
startup mount;
alter database datafile
'/oracle/u02/oradata/ORCL/rbs01.dbf' offline drop;
alter database open;
!rm /oracle/u02/oradata/ORCL/rbs01.dbf
drop tablespace RBS;
create tablespace RBS datafile '/oracle/u02/oradata/ORCL/rbs01.dbf' size <number> M;
(repeat this for all rollback segments mentioned in the init.ora file replaceing r01)
create rollback segment r01 tablespace RBS storage (initial 1 M next 1M);
Uncomment the rollback segments line in init.ora and shutdoen and startup again.
Regards
Yngvi
Maybe you are looking for
-
I've created an album on Photo Stream and I've added my husbands icloud email address (subscribers) as well as mine (just to test it out) and invitations say that they have been sent but no emails are generated or received. I have checked my emails s
-
SimpleDateFormat: when day of month becomes day of week
I have a weird situation where the SimpleDateFormat class seems to interpret the "dd" mark as day of week instead of day of month when I use a certain pattern. The following code demonstrates the problem: public class ByteTest { public static fin
-
I have tried using my daughter's iphone 5 cable, also original from apple, and it is doing the same thing!! I had no trouble until today! I undated to OS7 about 2 weeks ago. any suggestions?
-
What does this actually do. As far as I can tell it allows for an SD card to be used as mass storage. Thats what I got from reading the site but its not at all clear. Secondly I don't have an SD card right now and with all the reports on the forum an
-
HT4059 How to rename untitled PDF's in iBooks
Hello , would someone please help me rename untitled PDF 's iBooks Thank you philipronald