Should I Move to MySQL?
Oracle to MySQL migration offers several benefits: low-cost of ownership, free database engine, tight integration with web, wide circle of MySQL database professionals and even more. However, if a person is setting up a sophisticated and huge scale corporate database, it’s reasonable to stick with Oracle considering that the DBMS provides ultimate variety of features and tools for this specific purpose.
One can learn about the most vital variations between Oracle and MySQL available in this article.
Oracle to MySQL Migration
The entire process of converting Oracle database to PostgreSQL includes the following steps:
- every Oracle table definition is extracted into “CREATE TABLE” statements
- SQL-statements are created ideal for MySQL format and loaded into the target server
- the content of every Oracle table is stored into CSV files
- CSV files are translated in line with the target format (when it is necessary) and imported into MySQL database
- Oracle views, triggers, stored procedures and operations are exported into SQL statements and plain text source code
- these statements and code are transformed based on MySQL syntax and loaded to the target database
Whether each of these steps are applied manually or commercially, tools are required to automate the whole migration process, the individual in control has to understand all possible bottlenecks and techniques of validating the outcomes. Your concerns and statements has been tested from SQL*Plus, however every other Oracle client application can also be used. This is actually a command line to connect with the database via SQL*Plus:
sqlplus username/password@database
Table Definitions
Oracle table descriptions are taken out in form of DDL statements that has to be transformed into MySQL format then. This is one way to list out all tables in Oracle database:
SQL> select table_name from user_tables;
In order to get definition of Oracle table run the following statement from any command line client:
SQL> set long 1000
SQL> set pagesize 0
SQL> select DBMS_METADATA.GET_DDL(‘TABLE’,'


