Re: portability Oracle <=> MySQL
Hi,
just download the migration toolkit from the mysql download page - this should cover the oracle to mysql migration (but you will have to take care of the packages and triggers and procedures yourself)
If I were to create a portable solution I'd:
-use ansi datatypes. No more NUMBER, no more VARCHAR2 in Oracle; No more ENUM, no more SET in mysql
-use plain sql as much as possible - at present, plain sql is much better portable than procedures
- use the innodb engine for tables, and the strict sqlmode
An alternative would be to set up a repository that describes you application in terms of abstract datatypes etc, and use templates or reports to generate platform specific code. Then, you are free to use procedures etc - as long as you can store it inside the repository in a sufficiently open format.
For the relational structures, this is hardly a problem but it can be for the code bits (triggers, procs etc). You could for example use some XML format and use XSLT to generate platform specific code.
The latter method will cost you lots of work, and is only useful if you plan on building/maintaining several apps for different platforms for an extended period of time.
Edited 1 time(s). Last edit at 02/28/2006 06:58PM by Roland Bouman.
Subject
Views
Written By
Posted
6105
February 28, 2006 04:38AM
Re: portability Oracle <=> MySQL
2775
February 28, 2006 06:55PM
2430
March 21, 2006 02:48AM
4154
March 21, 2006 03:31PM
2421
March 22, 2006 10:12AM
2707
March 23, 2006 07:19AM
2441
March 23, 2006 08:09AM
4248
March 24, 2006 04:55AM
2503
March 24, 2006 06:01AM
2533
March 02, 2006 12:33PM
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.