溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

如何進(jìn)行Oracle 刪庫

發(fā)布時間:2021-11-12 15:55:07 來源:億速云 閱讀:185 作者:柒染 欄目:關(guān)系型數(shù)據(jù)庫

如何進(jìn)行Oracle 刪庫,很多新手對此不是很清楚,為了幫助大家解決這個難題,下面小編將為大家詳細(xì)講解,有這方面需求的人可以來學(xué)習(xí)下,希望你能有所收獲。

今天就教你如何進(jìn)行Oracle 刪庫!

DBCA啟動圖形界面
如何進(jìn)行Oracle 刪庫

選擇要刪除的DB,點擊finish按鈕即可。
如何進(jìn)行Oracle 刪庫

半杯茶的工夫,刪庫完成!比安裝EZ很多~~
如何進(jìn)行Oracle 刪庫

附1. 手工創(chuàng)建的數(shù)據(jù)庫注冊到DBCA(添加到最后一行):

  1. [oracle@db01 ~]$ vi /etc/oratab

  2. #




  3. # This file is used by ORACLE utilities. It is created by root.sh

  4. # and updated by either Database Configuration Assistant while creating

  5. # a database or ASM Configuration Assistant while creating ASM instance.


  6. # A colon, ':', is used as the field terminator. A new line terminates

  7. # the entry. Lines beginning with a pound sign, '#', are comments.

  8. #

  9. # Entries are of the form:

  10. #   $ORACLE_SID:$ORACLE_HOME:<N|Y>:

  11. #

  12. # The first and second fields are the system identifier and home

  13. # directory of the database respectively. The third filed indicates

  14. # to the dbstart utility that the database should , "Y", or should not,

  15. # "N", be brought up at system boot time.

  16. #

  17. # Multiple entries with the same $ORACLE_SID are not allowed.

  18. #

  19. #

  20. ORCL:/u01/app/oracle/product/11.2.0/db_1:N

  21. PROD:/u01/app/oracle/product/11.2.0/db_1:N



附2. DBCA靜默安裝的樣例:

點擊(此處)折疊或打開


  1. [oracle@db01 ~]$ dbca -silent -createDatabase -templateName $ORACLE_HOME/assistants/dbca/templates/General_Purpose.dbc -gdbname PROD -sid PROD -characterSet ZHS16GBK

  2. Enter SYS user password:

  3.  

  4. Enter SYSTEM user password:

  5.  

  6. Copying database files

  7. 1% complete

  8. 3% complete

  9. 37% complete

  10. Creating and starting Oracle instance

  11. 40% complete

  12. 45% complete

  13. 50% complete

  14. 55% complete

  15. 56% complete

  16. 60% complete

  17. 62% complete

  18. Completing Database Creation

  19. 66% complete

  20. 70% complete

  21. 73% complete

  22. 85% complete

  23. 96% complete

  24. 100% complete

  25. Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/PROD/PROD.log" for further details.

看完上述內(nèi)容是否對您有幫助呢?如果還想對相關(guān)知識有進(jìn)一步的了解或閱讀更多相關(guān)文章,請關(guān)注億速云行業(yè)資訊頻道,感謝您對億速云的支持。

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI