Oracle:在没有数据库链接的情况下在两个数据库之间传输数据

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10818085/
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-19 00:52:05  来源:igfitidea点击:

Oracle: transfer data between two database without db link

oracletoad

提问by Revious

I've got two database on different network. They can't see each other. So I can't use a Db Link.

我在不同的网络上有两个数据库。他们看不到彼此。所以我不能使用数据库链接。

Does toad or any other tool allow me to copy data from one db to the other one simulating a db link (it would be really simple simply executing a select on first DB and an insert on the second DB).

toad 或任何其他工具是否允许我将数据从一个数据库复制到另一个模拟数据库链接的数据库(只需在第一个数据库上执行选择并在第二个数据库上执行插入就非常简单)。

回答by Jeremy Scoggins

Toad can do it easily - instructions are for ver 11. First, connect to both databases using Toad. Then, find the table(s) in question in the Schema Browser. Right click on the table name, click 'Copy Data to Another Schema'. Choose the correct source/destination schemas, and set the options for the copy (triggers/constraints enable/disable, etc). Then click the green Play button and watch the records fly!

Toad 可以轻松完成 - 说明适用于版本 11。首先,使用 Toad 连接到两个数据库。然后,在模式浏览器中找到有问题的表。右键单击表名,单击“将数据复制到另一个架构”。选择正确的源/目标模式,并设置副本选项(触发器/约束启用/禁用等)。然后单击绿色的播放按钮,观看记录飞扬!

回答by David Gelhar

If your workstation can see both databases simultaneously, you might be able to use the Database Copytool in SQL Developer

如果您的工作站可以同时查看两个数据库,您或许可以使用SQL Developer 中的数据库复制工具

SQL*PLus also has a Copy command.

SQL*PLus 还有一个Copy 命令

回答by Jose Manuel Gomez Alvarez

Toad or any other client is not a good solution for big tables, the client PC may fail or slow down, the network link may not be enough reliable, or the bandwith not enough. I would recommend Oracle Data Pump (expdp,impdp) in Oracle 10 onwards, or the former tools (exp/imp), sqlloader, etc. if we are talking of large environments.

Toad 或其他任何客户端都不是大表的好解决方案,客户端 PC 可能会出现故障或变慢,网络链接可能不够可靠,或带宽不够。如果我们谈论大型环境,我会推荐 Oracle 10 以后的 Oracle Data Pump (expdp,impdp),或者以前的工具 (exp/imp)、sqlloader 等。

回答by bluevector

Dump a text file, FTP or move it, and then use SQL*Loader on the other side?

转储文本文件、FTP 或移动它,然后在另一端使用 SQL*Loader?

回答by Roger Cornejo

Export from Source DB and then Import into Target DB

从源数据库导出,然后导入到目标数据库