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:【回车】-----选择默认的意思

上一篇:Unity3D手游开发实践


下一篇:Unity3D心得分享