一个数据库导入的问题!

mogu 2003-08-19 09:45:27
我有个Ipms627c.dmp文件要导入数据库里
请问怎么导能写出详细步骤吗?
...全文
27 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
LGQDUCKY 2003-08-20
  • 打赏
  • 举报
回复
首先,要保证你的数据库版本要比你EXP的Ipms627c.dmp文件相同或更高,
第二是,两个数据库的字符级要一致。在这样的前提下就,可以按上边兄弟
的做发来做了,
imp userid/password file=ipms627c.dmp full=y buffers=30000000 log=logfile.log
Michaelyfj 2003-08-20
  • 打赏
  • 举报
回复
Import: Release 8.1.7.0.0 - Production on Wed Aug 20 07:49:30 2003

(c) Copyright 2000 Oracle Corporation. All rights reserved.



You can let Import prompt you for parameters by entering the IMP
command followed by your username/password:

Example: IMP SCOTT/TIGER

Or, you can control how Import runs by entering the IMP command followed
by various arguments. To specify parameters, you use keywords:

Format: IMP KEYWORD=value or KEYWORD=(value1,value2,...,valueN)
Example: IMP SCOTT/TIGER IGNORE=Y TABLES=(EMP,DEPT) FULL=N
or TABLES=(T1:P1,T1:P2), if T1 is partitioned table

USERID must be the first parameter on the command line.

Keyword Description (Default) Keyword Description (Default)
--------------------------------------------------------------------------
USERID username/password FULL import entire file (N)
BUFFER size of data buffer FROMUSER list of owner usernames
FILE input files (EXPDAT.DMP) TOUSER list of usernames
SHOW just list file contents (N) TABLES list of table names
IGNORE ignore create errors (N) RECORDLENGTH length of IO record
GRANTS import grants (Y) INCTYPE incremental import type
INDEXES import indexes (Y) COMMIT commit array insert (N)
ROWS import data rows (Y) PARFILE parameter filename
LOG log file of screen output CONSTRAINTS import constraints (Y)
DESTROY overwrite tablespace data file (N)
INDEXFILE write table/index info to specified file
SKIP_UNUSABLE_INDEXES skip maintenance of unusable indexes (N)
ANALYZE execute ANALYZE statements in dump file (Y)
FEEDBACK display progress every x rows(0)
TOID_NOVALIDATE skip validation of specified type ids
FILESIZE maximum size of each dump file
RECALCULATE_STATISTICS recalculate statistics (N)

The following keywords only apply to transportable tablespaces
TRANSPORT_TABLESPACE import transportable tablespace metadata (N)
TABLESPACES tablespaces to be transported into database
DATAFILES datafiles to be transported into database
TTS_OWNERS users that own data in the transportable tablespace set
tsj68 2003-08-19
  • 打赏
  • 举报
回复
imp userid/password file=ipms627c.dmp full=y buffers=300000 log=logfile.log
netspirit 2003-08-19
  • 打赏
  • 举报
回复
你看看命令的帮助不就明白了。
imp help=y
RomanticProgrammer 2003-08-19
  • 打赏
  • 举报
回复
在命令行中输入imp.exe d:\.....\ipms627c.dmp
然后按提示一步步进行就行了。

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧