如何使用 Oracle DMP 文件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/8326712/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 03:44:11  来源:igfitidea点击:

How to use Oracle DMP files?

oracledatabase-backups

提问by Shahrukh

I have some files of an Oracle database with username and password.

我有一些带有用户名和密码的 Oracle 数据库文件。

How do I connect to all files and browse the data tables and fields. I want to view all my records in them. Do I install Oracle Database server? Or is there a tool on internet to connect with my all files and browse data?

如何连接到所有文件并浏览数据表和字段。我想查看我所有的记录。我是否安装 Oracle 数据库服务器?或者互联网上是否有工具可以连接我的所有文件并浏览数据?

=== Files have .dmp extension ===

=== 文件扩展名为 .dmp ===

回答by kevinsky

Oracle .dmp files can only be read by Oracle tools. Try installing the free oracle 10g expressand use the import command. Or you can use SQL developerwhich is installed by default with Oracle 10g express or can be downloaded and installed separately.
Either way you need to import the files to an Oracle database to view the files easily.

Oracle .dmp 文件只能由 Oracle 工具读取。尝试安装免费的oracle 10g express并使用导入命令。或者你可以使用Oracle 10g express默认安装的SQL developer,也可以单独下载安装。
无论哪种方式,您都需要将文件导入 Oracle 数据库以轻松查看文件。

回答by GolezTrol

Those .dmp files are data dumps used for backup and recovery. You don't use them as is, but re-import them in your Oracle DBMS.

这些 .dmp 文件是用于备份和恢复的数据转储。您不会按原样使用它们,而是在您的 Oracle DBMS 中重新导入它们。

回答by Ricky

Two steps to get your data

获取数据的两个步骤

  1. Install an oracle database
  2. Import the dmp files you had
  1. 安装 oracle 数据库
  2. 导入您拥有的 dmp 文件

You can query the data using sql with username and password.

您可以使用带有用户名和密码的 sql 查询数据。