Skip navigation links

MySQL Forums :: Oracle :: porting data from oracle to mysql


Advanced Search

Re: porting data from oracle to mysql
Posted by: Josh Chamas ()
Date: November 16, 2004 06:54PM

manish singh wrote:
> hi
> iam new to mysql and i have a question regarding
> porting/moving data from
> oracle database/s to my sql database.
> the scenario is likethis:
> we have 3 oracle databases and we have proposed
> a unified reporting environment
> where data from all these databases will be moved
> in one mysql db and then reports
> will be generated.
> now what are the things to keep in mind while
> pushing data from
> oracle to mysql and what are the different ways in
> which this can achieved efficiently?

If you are using a generic database API like JDBC or DBI, this is easy to create your own custom ETL process, but there are tool vendors like Embarcadero DT/Studio ( http://www.embarcadero.com ) that can also help with this. If you write your own program, consider either using multi-row insert statements of the form

insert into TABLE (col1, col2) values (row1, row1), (row2, row2), ..., (rowN, rowN)

to insert say 5000 rows in just one insert statement. Or build a text tab delimited file for use with LOAD DATA INFILE command.

Also consider the important decision between using InnoDB and MyISAM storage engine types for your tables. MyISAM can be very good for reporting where you do not need ACID transactional integrity whereas InnoDB gives you this, but at a cost of some per row overhead which can be substantial for long & narrow fact tables. Also MyISAM supports MERGE tables which can be used to give you a form of table partitioning if you are building a data warehouse.

BTW, if you do end up picking MyISAM + MERGE for partitioning and reporting, I think you will have a near ideal reporting environment, and a very good application of MySQL in your database infrastructure.

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
porting data from oracle to mysql 13962 manish singh 10/25/2004 12:26AM
Re: porting data from oracle to mysql 11372 Josh Chamas 11/16/2004 06:54PM
Re: porting data from oracle to mysql 40682 frank_alw 11/16/2004 09:47PM
Re: porting data from oracle to mysql 12684 manish singh 11/17/2004 09:54PM
Re: porting data from oracle to mysql 9021 Josh Chamas 11/17/2004 11:36PM
Re: porting data from oracle to mysql 6764 manish singh 11/21/2004 10:05PM
Re: porting data from oracle to mysql 12190 Josh Chamas 11/22/2004 04:18PM
Re: porting data from oracle to mysql 5489 manish singh 11/23/2004 12:29AM
Re: porting data from oracle to mysql 4814 Josh Chamas 11/23/2004 01:07PM
Re: porting data from oracle to mysql 4643 manish singh 11/23/2004 11:39PM
Re: porting data from oracle to mysql 4871 Josh Chamas 11/24/2004 12:06AM
Re: porting data from oracle to mysql 3978 manish singh 11/24/2004 02:10AM
Re: porting data from oracle to mysql 5125 Josh Chamas 11/24/2004 03:36AM
Re: porting data from oracle to mysql 3435 manish singh 11/24/2004 04:43AM
Re: porting data from oracle to mysql 3765 Josh Chamas 11/24/2004 03:49PM
Re: porting data from oracle to mysql 3888 manish singh 11/25/2004 01:52AM
Re: porting data from oracle to mysql 3980 linda hashim 01/13/2005 01:42AM
accessing oracle data through mysql 19574 sujata chaudhari 04/17/2005 05:35PM
Re: accessing oracle data through mysql 9315 Josh Chamas 04/19/2005 12:07AM
Re: accessing oracle data through mysql 6297 Jim Bessolo 09/05/2007 10:18AM
Re: accessing oracle data through mysql 6897 Ryan A 01/14/2008 02:38PM
Compare data in oracle with the data in SQL 7244 Veena V 01/22/2008 06:23PM
Re: porting data from oracle to mysql 5169 Fabian Hess 04/25/2005 08:55AM
Re: porting data from oracle to mysql 5432 raj k 02/09/2005 01:22AM
Re: porting data from oracle to mysql 4970 frank_alw 02/10/2005 05:18PM
Re: porting data from oracle to mysql 4985 michael kirchsteiger 09/07/2005 11:45PM
Re: porting data from oracle to mysql 5177 Ekta Jain 03/14/2007 03:02AM
Re: porting data from oracle to mysql 4650 Itamar Sion 02/06/2009 02:07PM


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.