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

Oracle數(shù)據(jù)庫備份和恢復的基本命令

數(shù)據(jù)庫 Oracle
Oracle數(shù)據(jù)庫備份和恢復的基本命令的實際操作步驟包括三種不同模式,其中包括表方式,就是把指定表的相關(guān)數(shù)據(jù)導出和導入。等還有其他的不同模式的介紹。

以下的文章主要是介紹Oracle數(shù)據(jù)庫備份和恢復的基本命令的實際操作步驟的相關(guān)介紹,以及在Oracle數(shù)據(jù)庫備份和恢復的基本命令中的三種不同的工作方式的詳細介紹,以下就是內(nèi)容的相關(guān)介紹。

Oracle數(shù)據(jù)庫備份與恢復基本命令

1、 獲取幫助

$ exp help=y

$ imp help=y

2、三種工作方式

(1)交互式方式

$ exp 然后按提示輸入所需要的參數(shù)

(2)命令行方式

$ exp user/pwd@dbname file=/oracle/test.dmp full=y

命令行中輸入所需的參數(shù)

(3)Oracle數(shù)據(jù)庫備份與恢復中我們要走涉及到參數(shù)文件方式

$ exp parfile=username.par

在參數(shù)文件中輸入所需的參數(shù)

參數(shù)文件 username.par 內(nèi)容 userid=username/userpassword buffer=8192000

compress=n grants=y

file=/oracle/test.dmp full=y

3、三種模式

(1)表方式,將指定表的數(shù)據(jù)導出/導入。

導出:導出一張或幾張表:$ exp user/pwd file=/dir/xxx.dmp log=xxx.log tables=table1,table2

導出某張表的部分數(shù)據(jù)

$ exp user/pwd file=/dir/xxx.dmp log=xxx.log tables=table1 query=\“where col1=\‘…\’and col2 \<…\”

導入:導入一張或幾張表

$ imp user/pwd file=/dir/xxx.dmp log=xxx.log tables=table1,

table2 fromuser=dbuser touser=dbuser2 commit=y ignore=y

(2)用戶方式,將指定用戶的所有對象及數(shù)據(jù)導出/導入。

導出:$ exp user/pwd file=/dir/xxx.dmp log=xxx.log owner=(xx, yy)

只導出數(shù)據(jù)對象,不導出數(shù)據(jù) (rows=n )

$ exp user/pwd file=/dir/xxx.dmp log=xxx.log owner=user rows=n

導入:$ imp user/pwd file=/dir/xxx.dmp log=xxx.log fromuser=dbuser touser=dbuser2

commit=y ignore=y

(3)全庫方式,將數(shù)據(jù)庫中的所有對象導出/導入導出:

$ exp user/pwd file=/dir/xxx.dmp log=xxx.log full=ycommit=y ignore=y

導入:$ imp user/pwd file=/dir/xxx.dmp log=xxx.log fromuser=dbuser touser=dbuser2

以上就是對Oracle數(shù)據(jù)庫備份與恢復基本命令相關(guān)的內(nèi)容的介紹,望你會有所收獲。

【編輯推薦】

  1. Oracle ID 自增代碼的詳細介紹
  2. Oracle exp備份機上安裝oracle10.1都需添加的內(nèi)容
  3. Oracle Multimedia 導出圖像時所需執(zhí)行的步驟
  4. 對Oracle Multimedia導出圖像的操作步驟的描述
  5. Oracle Multimedia在ORDDicom中列中存儲DICOM詳解
責任編輯:佚名 來源: 博客園
相關(guān)推薦

2010-04-13 11:09:21

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

2010-04-12 10:40:49

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

2010-04-12 14:19:00

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

2009-04-03 10:54:49

Oracle備份恢復

2011-04-11 13:46:17

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

2009-04-17 11:28:16

Oracle備份恢復

2009-10-13 09:43:43

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

2011-05-11 13:25:57

Oracle數(shù)據(jù)庫后備恢復

2011-08-01 12:44:25

Oracle基于用戶管理備份與恢復

2010-06-10 13:42:51

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

2009-03-17 16:00:47

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

2011-05-20 09:35:24

Oracle數(shù)據(jù)庫恢復備份

2010-03-30 10:18:45

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

2011-08-02 16:03:47

Oracle數(shù)據(jù)庫冷備份冷備份異地恢復

2010-06-11 16:51:44

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

2023-11-15 09:38:49

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

2010-03-31 10:39:40

RMANOracle

2010-07-08 11:05:14

SQL Server數(shù)

2011-08-03 18:42:21

Oracle數(shù)據(jù)庫重做日志

2015-10-21 14:07:17

Oracle備份Oracle恢復
點贊
收藏

51CTO技術(shù)棧公眾號