What is the easiest way to transfer Oracle database from one PC to another?

旧街凉风 提交于 2019-12-05 00:29:08

问题


i want to transfer my oracle database to another PC. What is the easiest way to do it? Are there any GUI tools to do it?


回答1:


APC's answer is the way to go for a logical transfer. If you're asking because you just want a one-time transfer to another PC then:

  • install the same version of Oracle on the second PC
  • create the same directory structure for the database files on the second PC

  • copy the database files (tablespace files, control files, redo logs) to the second PC (with the database shut down on PC #1!)




回答2:


The easiest way to transfer database structures (tables, packages, etc) together with data (or indeed without it) is to use the Oracle import/export utlities. As you're using Oracle 11g you should employ Data Pump for this. (On 9i or earlier it would be the old EXP and IMP utlities).

Use Export (expdp) to make the dump file from your source PC. Transfer it to your target PC and use Import (impdp) to load it.

At this point I would link to the documentation but the Oracle online docs are currently offline. So here's a link to the Oracle Wiki page instead: find out more.




回答3:


If you want a GUI, oracle Grid control can be used to clone a database from one computer to another.



来源:https://stackoverflow.com/questions/3111349/what-is-the-easiest-way-to-transfer-oracle-database-from-one-pc-to-another

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!