Re:How does one manually corrupt a database (database file, redo logs and backups)

  • From: "Alessandro Vercelli" <alever@xxxxxxxxx>
  • Date: Sat, 2 Sep 2006 23:48:13 +0200

I believe a simple way to corrupt an oracle datafile, redolog, controlfile 
could be:

echo "<somewhat string>" >> oracle_file

This should alter the file offset (I don't know if this is the correct 
technical term) for every binary file and thus making it corrupted towards and 
Oracle db.
The command should also work for both unix and windows.



< cut >

> problem. I have tried overwriting the binary files, but being simpled-minded
> I was using vi. I thought about using the unix dd utility - unfortuantely I
> do not have enough experience to be surgical (easy to mess up the first few
> blocks, but what about the middle?). Can I use the same method to isolate
> corruption to various parts of the database (ie, database files, redo logs
> or rman backups)?

< cut >


Other related posts: