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

DB2數(shù)據(jù)移動(dòng)的掌握與作用

數(shù)據(jù)庫(kù)
我們今天是要和大家一起討論的是如何更好的對(duì)DB2數(shù)據(jù)移動(dòng)進(jìn)行掌握,以及對(duì)DB2數(shù)據(jù)移動(dòng)所包括的項(xiàng)目與數(shù)據(jù)移動(dòng)的作用等內(nèi)容的描述。

以下的文章主要是教你如何正確的對(duì)DB2數(shù)據(jù)移動(dòng)進(jìn)行掌握,我前兩天在相關(guān)網(wǎng)站看見(jiàn)DB2數(shù)據(jù)移動(dòng)的資料,覺(jué)得挺好,就拿出來(lái)供大家分享,以下就是文章的主要內(nèi)容的詳細(xì)描述,望大家在瀏覽之后會(huì)對(duì)其有更深的了解。

如果要在不同的數(shù)據(jù)庫(kù)管理系統(tǒng)之間轉(zhuǎn)移數(shù)據(jù),數(shù)據(jù)移動(dòng)通常是最實(shí)用的一種方法,因?yàn)槿魏我环N數(shù)據(jù)庫(kù)管理系統(tǒng)都支持常用的幾種文件格式,通過(guò)這個(gè)通用的接口,就很容易實(shí)現(xiàn)不同系統(tǒng)間數(shù)據(jù)的轉(zhuǎn)移。

 

DB2數(shù)據(jù)移動(dòng),包括:

 

1. 數(shù)據(jù)的導(dǎo)入(import)

2. 數(shù)據(jù)的導(dǎo)出(export)

3. 數(shù)據(jù)的裝入(load)

導(dǎo)入和裝入都是利用db2的相關(guān)命令把某種格式的文件中的數(shù)據(jù)保存到數(shù)據(jù)庫(kù)中的表中。

導(dǎo)出是指把db2數(shù)據(jù)庫(kù)的表中的數(shù)據(jù)保存到某種格式的文件當(dāng)中去。

數(shù)據(jù)移動(dòng)的作用:

如果要在不同的數(shù)據(jù)庫(kù)管理系統(tǒng)之間轉(zhuǎn)移數(shù)據(jù),DB2數(shù)據(jù)移動(dòng)通常是最實(shí)用的一種方法,因?yàn)槿魏我环N數(shù)據(jù)庫(kù)管理系統(tǒng)都支持常用的幾種文件格式,通過(guò)這個(gè)通用的接口,就很容易實(shí)現(xiàn)不同系統(tǒng)間數(shù)據(jù)的轉(zhuǎn)移。

這三個(gè)命令中,export最簡(jiǎn)單,因?yàn)閺谋碇邢蛭募D(zhuǎn)移數(shù)據(jù),通常不會(huì)出現(xiàn)錯(cuò)誤,也不會(huì)有非法的數(shù)據(jù)。

在講解命令之前,首先介紹一下文件的格式。

1. asc——非定界ascii文件,是一個(gè)ascii字符流。數(shù)據(jù)流中的行由行定界符分隔,而行中的每一列則通過(guò)起始和結(jié)束位置來(lái)定義。例如:

 

  1. 10 head Office 160 corporate new york   
  2. 15 new england 50 eastern boston   
  3. 20 mid atlantic 10 eastern washington   
  4. 38 south atlantic 30 eastern atlanta   
  5. 42 great lakes 100 midwest chicago   
  6. 51 plains 140 midwest dallas   
  7. 66 pacific 270 western san francisco   
  8. 84 mountain 290 western denver 

 

 

2. del——定界ascii文件,也是一個(gè)ascii字符流。數(shù)據(jù)流中的行由行定界符分隔,行中的列值由列定界符分隔。文件類型修飾符可用于修改這些定界符的默認(rèn)值。例如:

 

 

  1. 10,"head office",160,"corporate","new york"   
  2. 15,"new england",50,"eastern","boston"   
  3. 20,"mid atlantic",10,"eastern","washington"   
  4. 38,"south atlantic",30,"eastern","atlanta"   
  5. 42,"great lakes",100,"midwest","chicago"   
  6. 51,"plains",140,"midwest","dallas"   
  7. 66,"pacific",270,"western","san francisco"   
  8. 84,"mountain",290,"western","denver" 

 

 

以上的相關(guān)內(nèi)容就是對(duì)教你輕松掌握DB2數(shù)據(jù)移動(dòng)的介紹,望你能有所收獲。 

【編輯推薦】

  1. 詳解在DB2中如何聯(lián)合Oracle數(shù)據(jù)
  2. 淺析DB2數(shù)據(jù)庫(kù)應(yīng)用遷移中可能出現(xiàn)的問(wèn)題
  3. 詳解DB2 9.7中值得DBA關(guān)注的幾點(diǎn)新特性
  4. IBM高調(diào)反擊Oracle拉里埃里森有關(guān)DB2的言論
  5. DB2計(jì)劃三招“破甲” IBM在華能否得償所愿

 

責(zé)任編輯:佚名 來(lái)源: csdn
相關(guān)推薦

2010-08-26 11:05:39

DB2數(shù)據(jù)移動(dòng)

2010-07-30 10:32:31

DB2數(shù)據(jù)移動(dòng)

2010-08-02 10:06:43

DB2數(shù)據(jù)移動(dòng)

2010-08-02 14:34:53

DB2數(shù)據(jù)移動(dòng)

2010-07-27 09:29:40

DB2數(shù)據(jù)移動(dòng)

2010-09-06 10:00:00

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

2010-09-07 09:25:21

IBM DB2

2011-05-13 09:49:55

DB2數(shù)據(jù)移動(dòng)

2010-08-09 10:00:25

DB2數(shù)據(jù)移動(dòng)

2010-08-16 09:48:28

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

2010-08-11 09:14:33

DB2數(shù)據(jù)類型

2010-08-05 17:40:19

IBM DB2數(shù)據(jù)移動(dòng)

2010-07-27 15:52:09

DB2數(shù)據(jù)移動(dòng)

2010-08-06 10:29:01

IBM DB2數(shù)據(jù)移

2010-08-17 15:24:43

DB2數(shù)據(jù)移動(dòng)

2009-07-06 17:34:26

遠(yuǎn)程復(fù)制DB2

2010-07-29 14:41:12

DB2 9 XML

2010-09-06 15:27:50

DB2

2010-08-17 16:24:32

IBM DB2數(shù)據(jù)庫(kù)

2010-11-02 14:53:38

DB2權(quán)限
點(diǎn)贊
收藏

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