Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

Transfering data between MySQL and Oracle databases

0

41 views

Here's the scenario:
I have a MySQL DB, and an Oracle DB, and what I want to do is copy data back and forth, on a scheduled basis.

What is the best practice for this? Is there a way to connect say to the MySQL db directly from an Oracle stored procedure? Maybe the other way round?

asked June 15, 2011 1:01 am CDT
posted via StackOverflow

2 Answers

1
 

Create a database link from your Oracle server to the MySQL server.

Once the database link has been established, you can use the standard insert into.. select from syntax

insert into my_oracle_table  
select * from my_mysql_table@dblinkname
where date > sysdate - 7;


If you want to do this on a scheduled basis, use the job scheduler to schedule the transfer.

answered June 22, 2011 5:41 am CDT
0
 

You can use O.D.I., Oracle Data Integrator.

http://www.oracle.com/technetwork/middleware/data-integrator/index.html

Oracle Data Integrator is a comprehensive data integration platform that covers all data integration requirements: from high-volume, high-performance batch loads, to event-driven, trickle-feed integration processes, to SOA-enabled data services.

answered June 22, 2011 5:41 am CDT

Your answer

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect

Preview
Similar questions
Mysql to oracle
March 16, 2011
Mysql over Oracle..
February 13, 2011