偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

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

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

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

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

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ù)庫(kù)備份與恢復(fù)中我們要走涉及到參數(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ù)導(dǎo)出/導(dǎo)入。

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

導(dǎo)出某張表的部分?jǐn)?shù)據(jù)

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

導(dǎo)入:導(dǎo)入一張或幾張表

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

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

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

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

只導(dǎo)出數(shù)據(jù)對(duì)象,不導(dǎo)出數(shù)據(jù) (rows=n )

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

導(dǎo)入:$ imp user/pwd file=/dir/xxx.dmp log=xxx.log fromuser=dbuser touser=dbuser2

commit=y ignore=y

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

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

導(dǎo)入:$ imp user/pwd file=/dir/xxx.dmp log=xxx.log fromuser=dbuser touser=dbuser2

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

【編輯推薦】

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

2010-04-13 11:09:21

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

2010-04-12 10:40:49

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

2010-04-12 14:19:00

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

2009-04-03 10:54:49

Oracle備份恢復(fù)

2011-04-11 13:46:17

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

2009-04-17 11:28:16

Oracle備份恢復(fù)

2011-05-11 13:25:57

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

2009-10-13 09:43:43

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

2011-08-01 12:44:25

Oracle基于用戶管理備份與恢復(fù)

2010-06-10 13:42:51

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

2009-03-17 16:00:47

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

2011-05-20 09:35:24

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

2010-03-30 10:18:45

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

2011-08-02 16:03:47

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

2023-11-15 09:38:49

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

2010-06-11 16:51:44

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

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ù)庫(kù)重做日志

2015-10-21 14:07:17

Oracle備份Oracle恢復(fù)
點(diǎn)贊
收藏

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