How to check archived log files ?

How to check archived log files ?

Post by Gerald Hei » Sat, 06 Oct 2001 02:16:44



Hi,

There is a tool dbverify ('dbv') which could be used to check datafiles
for corrupted blocks.

Is there also a tool to check archived log files for corrupted entries ?

Which possibilities exist to ensure the archived log files are not
corrupted ?

Thanks,
Gerald

 
 
 

How to check archived log files ?

Post by Howard J. Roger » Sat, 06 Oct 2001 06:28:42


The short answer is that if ARCH manages to write the archived files, they
are clear of corruption.  ARCH doesn't just do an O/S-style copy, but an
intelligent read of the logs, and an intelligent write of the archives.
It's its own policeman as far as detecting corruption is concerned.

The slightly longer answer is that you can run log miner (assuming an 8i or
above database).  In 8i, if the analysis of a log encounters corruption, it
bombs out with spectacular errors (in 9i, it can keep going, but you'll
still know it encountered corruption).

If you've got an Oracle 8 database, log miner can be run from an 8i database
against archives produced by Oracle 8.  But if you're on Oracle 7, forget
it.  Incidentally, when you post, version numbers are helpful -there are
rather a lot of them out there now!

Regards
HJR
--
Resources for OracleT: www.geocities.com/howardjr2000
=========================================


Quote:> Hi,

> There is a tool dbverify ('dbv') which could be used to check datafiles
> for corrupted blocks.

> Is there also a tool to check archived log files for corrupted entries ?

> Which possibilities exist to ensure the archived log files are not
> corrupted ?

> Thanks,
> Gerald


 
 
 

How to check archived log files ?

Post by godma » Sat, 06 Oct 2001 13:41:17


Hi there,

  I remember from Oracle 7.2 onwards the DB_BLOCK_CHECKSUM can be set to true.
You can enable logfile block checksumming. Enabling log block checksumming
will force Oracle to compute a checksum and place it in the header of each
redo block. When the block is read by ARCH processs, the checksum is checked.
Archiving process will stop if there is checksum error due to corrupted redo
block.

Allan W. Tham
DBA

 
 
 

1. Multiple archive log processes archiving same log file

Hi

We have notice that Oracle starts multiple archive writer even if
log_archive_max_processes = 1.
We understand the need for more than this limit if the system is very
heavily loaded. What we do not understand is why the archive writer
ARC1/ARC2 tries to
archive the same archive file (seq#) as ARCH0.

It would only make sense if they tried to copy a new or different
archive log file!

Can anyone give us an explanation to this phenomena?

(We are running Oracle 8.1.7.2 on Win NT sp 4)

2. Access SQL vs. T-SQL

3. How to check the corruption in online redo logs and archived logs

4. Multiple Hierarchies and member formulas

5. Table v$log and archived log files ?

6. combining tables

7. archive question --- too many archive logs generated during data load

8. ODBC Drivers error '80040e14'

9. Log File Growing, How Truncate/Archive...

10. Deleting Archive Log Files from NT server

11. Problem backing up archive log files with EBU

12. Backing up database using Archive log files

13. How to housekeep archive log files?