av激情亚洲男人的天堂国语,日韩欧美精品一中文字幕,无码av一区二区三区无码,国产又色又爽又刺激的a片,国产又色又爽又刺激的a片

Oracleexp的常用工具有哪些

以下的文章主要是對(duì)Oracle exp篇,數(shù)據(jù)導(dǎo)出常用工具EXP的介紹,我們大家都知道Oracle EXP是用于客戶端的工具,此工具可以用于Oracle客戶端與Oracle服務(wù)器端。當(dāng)在Oracle客戶端使用EXP工具時(shí),必須帶有連接字符串;

十年建站經(jīng)驗(yàn), 做網(wǎng)站、成都網(wǎng)站制作客戶的見(jiàn)證與正確選擇。成都創(chuàng)新互聯(lián)提供完善的營(yíng)銷型網(wǎng)頁(yè)建站明細(xì)報(bào)價(jià)表。后期開(kāi)發(fā)更加便捷高效,我們致力于追求更美、更快、更規(guī)范。

當(dāng)在Oracle服務(wù)器端使用EXP工具時(shí),可以不帶字符串。導(dǎo)出包括導(dǎo)出表、導(dǎo)出方案、導(dǎo)出數(shù)據(jù)庫(kù)三種模式。

(1)導(dǎo)出表

導(dǎo)出表是指使用EXP工具將一個(gè)或多個(gè)表的結(jié)構(gòu)和數(shù)據(jù)存儲(chǔ)到OS文件中,導(dǎo)出表是使用TABLES選項(xiàng)來(lái)完成的。

普通用戶可以導(dǎo)出其自身方案的所有表,但如果要導(dǎo)出其他方案的表,則要求該用戶必須具有EXP_FULL_DATABASE角色或DBA角色。另外當(dāng)導(dǎo)出表時(shí),默認(rèn)情況下會(huì)導(dǎo)出相應(yīng)表上的所有索引、觸發(fā)器、約束。下面以SYSTEM用戶導(dǎo)出SCOTT.DEPT表為例,示例如下:

 
 
 
  1. exp system/Oracle@charge TABLE=scott.dept,scott.emp FILE=tab1.dmp

(2)導(dǎo)出方案

導(dǎo)出方案是指使用Oracle EXP工具將一個(gè)或多個(gè)方案中的所有對(duì)象記數(shù)據(jù)存儲(chǔ)到OS文件中,導(dǎo)出表是使用OWNER選項(xiàng)來(lái)完成的。

普通用戶可以導(dǎo)出其自身方案,但如果要導(dǎo)出其他方案,則要求該用戶必須具有DBA角色或EXP_FULL_DATABASE角色。當(dāng)用戶要導(dǎo)出其自身方案的所有對(duì)象時(shí),可以不指定OWNER選項(xiàng),下面以SYSTEM用戶導(dǎo)出SCOTT方案的所有對(duì)象為例,示例如下:

 
 
 
  1. exp system/Oracle@charge OWNER=scott FILE=schemal.dmp

以上為命令行方式進(jìn)行數(shù)據(jù)的導(dǎo)出,EXP工具還可以以交互的方式進(jìn)行數(shù)據(jù)導(dǎo)出。

(1)導(dǎo)出表(交互方式)

 
 
 
  1. [Oracle@ora-asm3 dbs]$ exp

Export: Release 10.2.0.1.0 - Production on 星期一 6月 16 16:24:26 2008

 
 
 
  1. Copyright (c) 1982, 2005, Oracle. All rights reserved.

Username: charge 輸入用戶名

Password: 輸入密碼

 
 
 
  1. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
  2. With the Partitioning, OLAP and Data Mining options

Enter array fetch buffer size: 4096 > 輸入緩沖區(qū)大小,可以默認(rèn)也可以自定義,如果數(shù)據(jù)文件較大,建議設(shè)置的大一些。

Export file: expdat.dmp > charge01.dmp 輸入導(dǎo)出的文件名,必須以”.dmp”文件做為擴(kuò)展名。

(2)U(sers), or (3)T(ables): (2)U > t 輸入導(dǎo)出類型,默認(rèn)為用戶(也就是方案),在此輸入t,為導(dǎo)出表

Export table data (yes/no): yes > 是否導(dǎo)出表中的數(shù)據(jù),如果選NO,則導(dǎo)出表結(jié)構(gòu)。

Compress extents (yes/no): yes > 是否對(duì)數(shù)據(jù)壓縮

 
 
 
  1. Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
  2. About to export specified tables via Conventional Path ...

Table(T) or Partition(T:P) to be exported: (RETURN to quit) > clients 輸入表名

開(kāi)始導(dǎo)出clients表數(shù)據(jù)

 
 
 
  1. . . exporting table CLIENTS 10 rows exported

Table(T) or Partition(T:P) to be exported: (RETURN to quit) > 如果沒(méi)有要導(dǎo)出的數(shù)據(jù)時(shí),按回車退出。

 
 
 
  1. Export terminated successfully without warnings.

提示導(dǎo)出成功,沒(méi)有任何告警。
(2)導(dǎo)出方案(交互方式)

 
 
 
  1. [Oracle@ora-asm3 dbs]$ exp

Export: Release 10.2.0.1.0 - Production on 星期一 6月 16 16:23:47 2008

 
 
 
  1. Copyright (c) 1982, 2005, Oracle. All rights reserved.

Username: charge 輸入用戶名

Password: 輸入密碼

 
 
 
  1. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
  2. With the Partitioning, OLAP and Data Mining options

Enter array fetch buffer size: 4096 > 輸入緩沖區(qū)大小,可以默認(rèn)也可以自定義,如果數(shù)據(jù)文件較大,建議設(shè)置的大一些。

Export file: expdat.dmp > charge.dmp 輸入導(dǎo)出的文件名,必須以”.dmp”做為擴(kuò)展名。

(2)U(sers), or (3)T(ables): (2)U > u 輸入導(dǎo)出類型,默認(rèn)為用戶(方案),可以直接回車,也可以輸入u。

Export grants (yes/no): yes > 導(dǎo)入權(quán)限

Export table data (yes/no): yes > 是否導(dǎo)出表中的數(shù)據(jù),如果選NO,則導(dǎo)出表結(jié)構(gòu)。

Compress extents (yes/no): yes > 是否對(duì)數(shù)據(jù)壓縮

 
 
 
  1. Export done in ZHS16GBK character set and AL16UTF16 NCHAR character set
  2. . exporting pre-schema procedural objects and actions
  3. . exporting foreign function library names for user CHARGE
  4. . exporting PUBLIC type synonyms
  5. . exporting private type synonyms
  6. . exporting object type definitions for user CHARGE
  7. About to export CHARGE's objects ...
  8. . exporting database links
  9. . exporting sequence numbers
  10. . exporting cluster definitions
  11. . about to export CHARGE's tables via Conventional Path ...
  12. . . exporting table BALANCE 0 rows exported
  13. . . exporting table BALANCEFINISHED 0 rows exported
  14. ………………
  15. . exporting synonyms
  16. . exporting views
  17. . exporting stored procedures
  18. . exporting operators
  19. . exporting referential integrity constraints
  20. . exporting triggers
  21. . exporting indextypes
  22. . exporting bitmap, functional and extensible indexes
  23. . exporting posttables actions
  24. . exporting materialized views
  25. . exporting snapshot logs
  26. . exporting job queues
  27. . exporting refresh groups and children
  28. . exporting dimensions
  29. . exporting post-schema procedural objects and actions
  30. . exporting statistics
  31. Export terminated successfully without warnings.

提示導(dǎo)出成功,沒(méi)有任何告警。


新聞標(biāo)題:Oracleexp的常用工具有哪些
鏈接URL:http://uogjgqi.cn/article/dhcepgi.html
掃二維碼與項(xiàng)目經(jīng)理溝通

我們?cè)谖⑿派?4小時(shí)期待你的聲音

解答本文疑問(wèn)/技術(shù)咨詢/運(yùn)營(yíng)咨詢/技術(shù)建議/互聯(lián)網(wǎng)交流