自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

創(chuàng)建catalog數(shù)據(jù)庫步驟

數(shù)據(jù)庫
創(chuàng)建catalog數(shù)據(jù)庫是大家平時工作中可能會用到的技術,下文中將為大家講解創(chuàng)建catalog數(shù)據(jù)庫步驟,希望對大家能夠有所幫助。

創(chuàng)建catalog數(shù)據(jù)庫步驟:

步驟一:創(chuàng)建恢復目錄用戶

step1: 為恢復目錄單***建表空間catalog_tbs,

創(chuàng)建恢復目錄用戶 CREATE USER rcat_user IDENTIFIED BY rcat_password DEFAULT TABLESPACE catalog_tbs;

step2: 為恢復目錄授予下列角色

connect

resource

recovery_catalog_owner

GRANT connect,resource,recovery_catalog_owner TO rcat_user;

步驟二:創(chuàng)建恢復目錄模式對象

step1: 使用RMAN連接的恢復目錄

RMAN

catalog=rcat_user/rcat_password

step2: 在RMAN 提示符下執(zhí)行create catalog命令

create catalog tablespace catalog_tbs;

步驟三:在恢復目錄中注冊數(shù)據(jù)庫

step1: 使用RMAN 同時連接到數(shù)據(jù)庫和恢復目錄

set ORACLE_SID=main_db

RMAN target=backup_admin/backupuserpassword

catalog=rcat_user/rcat_password@recover

step2: 使用恢復目錄注冊數(shù)據(jù)庫

RMAN>Register database;

rman catalog,撤消目標數(shù)據(jù)庫注冊

步驟一:進入要撤消注冊的數(shù)據(jù)庫,獲取這個數(shù)據(jù)庫的DBID

SQL>select dbid from v$database;

DBID

2539725638

步驟二:連接擁有恢復目錄的模式,確定恢復目錄中該數(shù)據(jù)庫的DB_KEY

SQL>select db_key from db where db_id=2539725638

DB_KEY

1

步驟三:使用dbms_rcvcat.unregisterdatabase過程從恢復目錄中撤消數(shù)據(jù)庫的注冊

exec dbms_rcvcat.unregisterdatabase(1,2539725638)

按照上文中講解的步驟就能夠完成創(chuàng)建catalog數(shù)據(jù)庫的工作,希望大家都能夠從上文中有所收獲,然后熟練掌握創(chuàng)建catalog數(shù)據(jù)庫的步驟,這對大家日后的工作會非常有幫助的。

 

責任編輯:迎迎 來源: 中國IT實驗室
相關推薦

2011-03-15 11:19:45

DB2數(shù)據(jù)庫catalog

2010-05-04 14:20:47

Oracle創(chuàng)建數(shù)據(jù)庫

2010-02-24 09:47:25

Oracle手動創(chuàng)建數(shù)

2010-08-27 15:26:19

DB2數(shù)據(jù)庫創(chuàng)建

2011-04-13 15:25:12

數(shù)據(jù)庫系統(tǒng)設計

2011-04-14 09:46:12

DB2數(shù)據(jù)庫catalog

2011-05-26 13:29:30

ORACLE數(shù)據(jù)庫升級

2023-12-20 12:49:05

索引數(shù)據(jù)檢索數(shù)據(jù)庫

2010-06-07 14:09:12

mysqldump備份

2011-07-05 09:54:04

2010-05-13 13:49:09

MySQL數(shù)據(jù)庫

2009-07-20 15:56:08

JDBC連接數(shù)據(jù)庫步驟

2010-06-04 10:05:55

MySQL數(shù)據(jù)庫還原

2011-08-02 17:06:29

Oracle遠程數(shù)據(jù)庫創(chuàng)建DB Link

2011-03-30 08:56:42

Zabbix數(shù)據(jù)庫

2015-07-23 17:02:55

oracle創(chuàng)建數(shù)據(jù)庫

2009-06-11 13:16:57

JBPM數(shù)據(jù)庫

2011-04-11 13:19:41

Oracle數(shù)據(jù)庫

2009-09-09 13:07:37

創(chuàng)建Linq數(shù)據(jù)庫

2009-09-17 09:57:08

linq創(chuàng)建數(shù)據(jù)庫
點贊
收藏

51CTO技術棧公眾號