PL/SQL开发人员导入转储 [英] PL/SQL developer import dump
问题描述
我有一个包含两个表的转储文件.现在,我需要导入此转储文件.我被指示事先创建两个表空间.现在如何将转储文件导入这些表空间.我正在使用PL/SQL开发人员.
I have a dump file which includes two tables. Now I need to import this dump file. I was instructed to create two tablespaces beforehands.Now how do I import this dump file to these tablespaces. I'm using PL/SQL developer.
推荐答案
您不能从PL/SQL开发人员导入转储文件.相反,您必须从命令行执行此操作.此外,由于必须将转储文件放在Oracle可以直接访问的目录中,因此需要访问数据库服务器的文件系统.
You cannot import a dump file from PL/SQL developer. Instead, you have to do it from the command line. Furthermore, you need access to the file system of the database server since you have to put the dump file in a directory directly accessible by Oracle.
导入转储文件的工具称为 impdp (在早期版本中为 imp ).
The tool to import the dump file is called impdp (in earlier version, it was imp).
我的经验是,您需要有关如何创建转储文件的信息,以便可以使用正确的导入模式:
My experience is that you need information how the dump file was created so you can use the correct import mode:
- 是整个数据库的转储,还是仅仅是单个用户/方案?
- 它只包含表架构还是仅包含表数据?
- 如果导出单个架构,则架构/用户名是什么?
- 等
这篇关于PL/SQL开发人员导入转储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!