简体   繁体   English

Oracle DB:删除所有内容

[英]Oracle DB: delete all the contents

I have oracle DB it is for testing purpose, I have not added any tables. 我有oracle DB它是用于测试目的,我没有添加任何表。 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. 我知道它可以通过删除db并重新创建来完成。

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 打开DBCA
  • Select the operation " Delete Database ", put the required credentials when asked. 选择操作“ 删除数据库 ”,在询问时输入所需的凭据。
  • After completion of step 2, go back to first step. 完成步骤2后,返回第一步。
  • Select the operation " Create Database " 选择“ 创建数据库 ”操作

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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