Oracle DB: delete all the contents

582 views Asked by At

I have oracle DB it is for testing purpose, I have not added any tables. I just want clear all the files like control, redo, archive, date. Ultimately I want fresh db. I know it can done by delete the db and recreate.

I have searched in the internet could not find any relevant information.

Update: The reason for this requirement is, some of the above mentioned files are corrupted.

Please advice,

Thanks,

1

There are 1 answers

0
Lalit Kumar B On

Ultimately I want fresh db

Then do the following:

  • Open DBCA
  • Select the operation "Delete Database", put the required credentials when asked.
  • After completion of step 2, go back to first step.
  • Select the operation "Create Database"