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
6467
November 05, 2004 04:28PM
8271
November 16, 2004 06:39PM
3732
November 17, 2004 07:55AM
3602
November 17, 2004 10:02AM
3302
November 17, 2004 01:15PM
Re: Linking Oracle tables to MySQL
6704
November 17, 2004 01:46PM
2987
November 17, 2004 02:18PM
3230
November 17, 2004 02:41PM
2772
November 17, 2004 03:09PM
3324
December 08, 2004 04:01PM
3093
December 14, 2004 09:20AM
3150
December 14, 2004 09:27AM
3372
December 14, 2004 08:52PM
6673
t p
July 04, 2006 04:46PM
2986
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.