Oracle數據庫Linux下的導入IMP


和相關篇的EXP相對應的用了如下的導入方法。

[oracle@localhost ~]$ imp

Import: Release 11.2.0.1.0 - Production on Fri Sep 26 16:17:48 2014

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Username: opr001
Password:

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

Import data only (yes/no): no >【回車】-----選擇默認的意思

Import file: expdat.dmp > tachiai.dmp

IMP-00002: failed to open tachiai.dmp for read -----這里出了個錯誤,於是我指定了絕對路徑
Import file: expdat.dmp > /opt/oracle/tachiai.dmp

Enter insert buffer size (minimum is 8192) 30720>【回車】-----選擇默認的意思

Export file created by EXPORT:V11.02.00 via conventional path
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses JA16SJIS character set (possible charset conversion)
List contents of import file only (yes/no): no >【回車】-----選擇默認的意思

Ignore create error due to object existence (yes/no): no >【回車】-----選擇默認的意思

Import grants (yes/no): yes >【回車】-----選擇默認的意思

Import table data (yes/no): yes >【回車】-----選擇默認的意思

Import entire export file (yes/no): no > 【回車】-----選擇默認的意思
Username: opr001

Enter table(T) or partition(T:P) names. Null list means all tables for user
Enter table(T) or partition(T:P) name or . if done:【回車】-----選擇默認的意思

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM