简体   繁体   中英

Oracle DB: delete all the contents

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,

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 "

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM