MySQL Forums
Forum List  »  Oracle

Re: Linking Oracle tables to MySQL
Posted by: Josh Chamas
Date: November 17, 2004 01:46PM

Marty Metras wrote:
> Josh,
>
> Here is kind of what I am doing now.
> From the Oracle/UNIX server side I execute a
> script using ssh to on the MySQL/linux server to
> create a text file uising filtered data and only
> 90 days old. THis is about 4000 record now. The
> text files is FTPed back to the Oracle server and
> loaded into a temp table. At this point the data
> from the MySQL database can be linked to the
> Oracle data to update 50 records or so.
> The whole process as it stands is take only 2-3
> minutes.
>

Both Oracle and MySQL support network client access, so what I would
typically do here is have my Perl DBI or Java JDBC program connect
to both databases and read in and process result sets accordingly
without all the intermediate text file processing, SSH and so on.

If your network requirements are such that Oracle and MySQL only
allow local programs to connect to them, this can be made harder,
but in this case, I might try SSH style port forwarding from one
box to the other. If your security requirements are such to only allow
encrypted connections, then I would look at the MySQL SSL connection
features in 4.1.x for encrypting your traffic, and then you could run your
program on the Oracle host remote connecting to the MySQL database
while encrypting that traffic and still having secure data transfer.

Regards,

Josh

Josh Chamas
Director, Professional Services
MySQL Inc., www.mysql.com
Get More with MySQL! http://www.mysql.com/consulting

Options: ReplyQuote


Subject
Views
Written By
Posted
6561
November 05, 2004 04:28PM
8343
November 16, 2004 06:39PM
3770
November 17, 2004 07:55AM
3644
November 17, 2004 10:02AM
3350
November 17, 2004 01:15PM
Re: Linking Oracle tables to MySQL
6776
November 17, 2004 01:46PM
3026
November 17, 2004 02:18PM
3293
November 17, 2004 02:41PM
2814
November 17, 2004 03:09PM
3365
December 08, 2004 04:01PM
3128
December 14, 2004 09:20AM
3189
December 14, 2004 09:27AM
3405
December 14, 2004 08:52PM
6724
t p
July 04, 2006 04:46PM
3026
t p
July 06, 2006 03:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.