天天看點

oracle進行imp導入資料時報錯:ORA-12592: TNS: 包錯誤

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必注明以下出處,否則追究版權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/43153127

使用imp導入資料時,檢查發現三百多萬條資料的表實際隻導入了一百多萬條資料,檢查導入日志,以下報錯資訊,

連接配接到: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Tes

經由正常路徑由 EXPORT:V11.02.00 建立的導出檔案
已經完成 ZHS16GBK 字元集和 AL16UTF16 NCHAR 字元集中的導入
. 正在将 HYL 的對象導入到 HYL
. . 正在導入表                   "TB_HYL_WS"
...........................................................................
...........................................................................
...........................
IMP-00058: 遇到 ORACLE 錯誤 12592
ORA-12592: TNS: 包錯誤
IMP-00018: 上一個表的部分導入已完成: 導入了 1772044 行
成功終止導入, 但出現警告。
           

       檢查後,通過tns錯誤資訊點,懷疑網絡問題,該台導入機器為通過用戶端連接配接,于是使用xmanager軟體将dmp檔案上傳到伺服器上,重新執行imp導入指令,順利導入表,檢視日志資訊如下:

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

Export file created by EXPORT:V11.02.00 via conventional path
import done in ZHS16GBK character set and AL16UTF16 NCHAR character set
. importing HYL's objects into HYL
. . importing table                  "TB_HYL_WS"    3701686 rows imported
Import terminated successfully without warnings.
           

原創作品,出自 “深藍的blog” 部落格,歡迎轉載,轉載時請務必注明以下出處,否則追究版權法律責任。

深藍的blog:http://blog.csdn.net/huangyanlong/article/details/43153127