Migration ORACLE-> MYSQL

Hi all

Is there a tool that can be used to MIGRATE the entire ORCL-> MySQL DB?

I'm not talking at table-table, but a DB together in a single task.

I guess it's impossible, but I want to run by the group here.

Thank you

Migrating from Oracle to MySql is not possible on a one-way ticket. Some of the Oracle objects are not directly convertible to MySql objects as wise data types are too different. Thus, it is not possible migrate you your database from Oracle to MySql, except if you use only the tables and indexes and all other features, for example database of packages, level triggers database, jobs/schedules, queues are not.

If this is a case (you are only using only the tables, indexes, views, triggers of table-level), then you can migrate your database in MySql, otherwise you will get replacing of the above mentioned objects. Some of the options available are:

1. thanks to the heterogeneous connectivity

2 export data to CSV and then import it into MySql

3. use the ETL tool

4. third-party conversion utilities for example dbconvert

and etc.

Tags: Database

Similar Questions

  • How to migrate from MySQL to Oracle stored procedure

    Hi all

    I've migrated mysql 5.1.42 - enterprise-gpl-advanced DB for oracle sqldeveloper 3.1.07 tool.

    DB objects migrate successfully except stored procedures.

    I checked .sql and files... Capture process not captured SQL stored procedures.

    Could you please suggest where I can check correct error or how to fix this.

    Thanks in advance.

    Hello

    SQL * Developer version you use is an old and you must use the latest version available from this link.

    Oracle SQL Developer

    However, even the v4 version does not support the migration of procedures stored as stated in this link - MySQL

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/supportedmigplatforms-086703.html

    You will need to manually convert the MySQL in Oracle format, stored procedures since even the "Scratch Editor" under "tools - migration '-doesn't have an option for MySQL conversion.

    The documentation includes details of the difference between MySQL and Oracle stored procedures-

    Oracle SQL Developer information for the migration of MySQL®

    in chapter Triggers and procedures stored

    Kind regards

    Mike

  • Migration from MySQL to Oracle SQL does not

    Hello everyone,

    I am new to Oracle SQL, but since our MySQL database is more and get more slowly, I would like to test the performance of Oracle SQL.

    So, I downloaded the current Oracle Linux distro and installed Oracle Database 11 g Express Edition.

    I connected with Oracle SQL Developer and started to migrate the MySQL database by following each step of this tutorial.

    I had to abandon all the privileges of the user migration (otherwise the creation and the deleteion of the migration repository did not) and I have disabled the migration of constraints to make migration work.

    Then I proceeded through all of the steps of the tutorial and ended with a "successful migration.

    The last step of the tutorial, it was to connect to the db migrated (using a combination of username/password generated name), it was not possible.

    What do I already checked?

    • Logged on as user system, I see that there is no new user created for the migrated db
    • Looking at the overview in the migration repository I see 3 phases, not knowing if the third displays an error or if it is not necessary at all (I got 58 tables in the db of the source)
      • Capture of 58/58
      • Convert 58/58
      • Compile 0/58

    From here, I don't know where to look for additional errors.

    I still can't use the migrated db and so I can't go forward with my tests.

    I missed something?

    I would appreciate your help.

    Astaldo

    Astaldo salvation,

    First, you must use SQL Developer 4.0.2 If you aren't already. It is available for free on OTN

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/downloads/index-098778.html

    There are two ways to convert tables from MySQL to Oracle.

    1) copy to Oracle

    (2) migration to Oracle.

    Copy to Oracle is the simplest method. It does not imply the creation of a repository of migration.  But it only migrates data without constraints or default values or indexes and tables. The set of data to move should be reasonably low as it is moved on JDBC.

    It may suit your purpose to try to Oracle.

    http://dermotoneill.blogspot.co.UK/2010/11/copy-to-Oracle.html

    Migrate Oracle requires the implementation of a migration repository. But he migrate the default settings, constraints, and indexes and can also provide scripts offline data move that can manage the circulation of large data sets.

    Here is a small script to create a new MIGRATIONREPO user, and grant the correct privileges.

    CREATE USER MIGRATIONREPO IDENTIFIED BY oracle.

    ALTER USER MIGRATIONREPO QUOTA UNLIMITED ON USERS;

    GRANT CONNECT, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW to MIGRATIONREPO;

    Then using SQL Developer, create a connection to MIGRATIONREPO, right-click on the connection and choose "associate the Migration repository.

    I hope you have success best creation of migration with the privileges of theses repository.

    Migration Wizard step 8: target database

    Choose Offline Mode.

    This will present you with a build script that you can inspect before the race.

    The build script must be run using the SQL Developer worksheet and choose free user sufficiently privileged in Oracle generally SYSTEM.

    Note that if you would rather work with the repository you must currently you can browse your browser of Migration.

    Access converted database objects, right-click and select "generate the target".

    This will again open the Migration Wizard in step 8. Allowing you to choose Offline Mode so that you can review the build script.

    Hope this helps,

    Kind regards

    Dermot.

    SQL development team.

  • Someone at - it a good set of instructions on the migration of mysql to mysqli in DW?

    pziecina gave me a heads up on what comes with the deprecatoin of mysql, but I'm not find something useful in the migration of mysql mysqli in Dreamweaver. I use CS3 (MEASURE). It can't be as simple as including an i at the end of mysql, if someone can fill us?

    TIA,

    Brian

    The original mysql PHP API is certainly not more recommended to use, but it will not disappear in the immediate future. The idea is to wean people off mysql and move them to MySQLi or PDO. It is called a 'soft' disapproval (see http://news.php.net/php.internals/53799). The PHP development team realizes that suddenly dumping the original API would break too many existing sites.

    With regard to the question of if you need to move to AOP or MySQLi, PDO is "the PHP way. However, the manufacturers of MySQL (Oracle) consider MySQLi would be the preferred route because it supports all the features present and future of MySQL, while the PDO does not work. See this email from Johannes Schlueter at Oracle to the PHP Internals mailing list: http://marc.info/?l=php-internals&m=131073409831187&w=2.

    In his e-mail, Johannes also points to a script at http://forge.mysql.com/wiki/Converting_to_MySQLi , which automatically converts the mysql code in MySQLi. I have not tried the script myself, I gave using Dreamweaver Server behavior a long time ago. I think also, attemtping to convert the uninstall scripts would be extremely delicate because they are based on an exclusive framework developed by InterAKT.

  • I have a macbook pro 10.11.2, I would use netbeans/eclipse/oracle/mysql, which I can't... so is an alternative to my problem or advice on what he should do.

    I have a macbook pro(10.11.2/2.7GHz/8GB(RAM)/256GB), I would use netbeans/eclipse/oracle/mysql, which I can't... so is an alternative to my problem or advice on what he should do.

    I installed netbeans three times, but everytime I open the app I can't find the java section that comes with the installation package.

    You should consult with manufacturers of these applications of tierce partie for help on the installation and execution of their products.

  • Migration Oracle EBS R12.0.6 from 32 to 64-bit

    Hello

    We run oracle eBusiness suite R12.0.6 in windows 2003 32-bit server and its database in windows 2003 server 64-bit.
    We plan to migrate the level to a widow of 64-bit apps.

    Please guide me with a good and easy walking distance.
    Thank you

    George wrote:
    Hello

    We run oracle eBusiness suite R12.0.6 in windows 2003 32-bit server and its database in windows 2003 server 64-bit.
    We plan to migrate the level to a widow of 64-bit apps.

    Please guide me with a good and easy walking distance.
    Thank you

    Please refer to the (migration Oracle E-Business Suite R12 to Microsoft Windows Server 2008 R2 [1188535.1 ID]) - Please make sure that you are running a version of OS 64-bit supported Windows (as stated in the doc).

    Thank you
    Hussein

  • Migration Oracle Apps R12 for windows 32-bit to 64-bit windows

    Hello

    We have two node for R12.1.1 on windows 2008 32-bit architecture. A database node and the other node for application.

    As we face a lot of problems of memory, we plan to go for 64-bit.

    I already read the document

    Migration Oracle E-Business Suite R12 to Microsoft Windows Server 2008 R2 [ID 1188535.1]

    Says doc in place upgrades of the OS are not supported...

    So my question is...

    While keeping the production, how can all I migrate using the same servers. Coz my company won't buy new servers...


    Please suggest.

    979379 wrote:
    Thank you very much. But I have to make sure that backup is correct and can be restored.

    I am thinking to create a clone to another machine before installing Windows 64 bits on production. While I would backup migration gives a few problems.

    Other suggestions are welcome.

    Thank you

    Your approach should be good. Make sure that your backup is recoverable and you have a second copy on another hard drive.

    Thank you
    Hussein

  • Migration Oracle 11 g of Sun Solaris sparc to Red had linux

    Dear Experts,

    Could you please share your experiences of migration Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - Production of Sun Solaris Sparc 64 - bit Red Hat linux 5.6. Any links, documentation, issues, notes would be very useful.

    Thank you.

    I think that the best way to achieve this is to perform a test using test databases/servers. This test will identify the problems and obstacles specific to your installation, which may or may not be mentioned in the generic documentation that you can find.

    HTH
    Srini

  • Migration Oracle Applications 12.0.6 from Linux to AIX.

    Please give me the id of document "Migrating Oracle E-Business Suite R12.0.6 with base 10.2.0.3 on Linux 32-bit for IBM AIX 64-bit"

    Source:
    Request = 12.0.6
    Database = 10.2.0.3
    OS = Linux 32-bit
    Worm = 4.8
    Single node environment.

    Target:
    Request = 12.0.6
    Database = 10.2.0.3
    OS = IBM - AIX
    Worm = 5.1
    Single node environment.

    Kind regards.

    Please view these docs/links.

    Note: 438086.1 - Platform Migration Oracle Applications version 12
    Note: 756086.1 - Oracle Applications R12 Migration of Solaris for the Linux platform

    Migration of Application E-Business Suite for Linux-tier servers
    http://blogs.Oracle.com/stevenChan/2010/02/migrate_ebs_apptiers_linux.html

    Assortment of Oracle E-Business Suite platform
    http://blogs.Oracle.com/stevenChan/2010/02/oracle_e-business_suite_platform_smorgasbord.html

    To migrate the database, you can use export/import or transportable tablespaces - refer to these docs for more details:

    Note: 454616.1 - export/import process for Oracle E-Business Suite Release 12 using 10 gr 2
    Note: 734763.1 - using Transportable database to migrate, E-Business Suite R12 using Oracle Database 10 g 2 or 11g

    Thank you
    Hussein

  • Migration Oracle RAC to the new data center

    Hi all

    We are 'legacy' Oracle 11 G RAC cluster from another company and I am looking for a way to migrate with the minimum of downtime. Our team has no CARS, nor database administrator Oracle also experience.

    We intend to test the migration by cloning the environment a few weeks before and just see if everything is OK.

    Question is, what is the best way to migrate this RAC cluster and it's data to a new data center? Reinstallation of the operating system (Linux) and recreate the RAC cluster are not an option I want to examine.

    For example, in the land of SQL Server, we can use sending newspapers or replication to keep a copy of the database in the new data center as close as possible direct database (data-wise). Date of commissioning, we stop the direct instance, run last restore log or something else, then set up the databases on the new data center.

    Thanks in advance.

    Data Guard. It is the name of "log shipping" feature Oracle. It's probably closer to always on SQL Server availability groups, except that the Oracle database is a large group.

    I speak not Active Data Guard which is an extra cost that gives options on top of Data Guard.

    HTH,

    Brian

  • How to query Oracle, MySQL and MSSQL data?

    For an environment with Oracle 11 g/12 c Enterprise edition, MySQL community edition and MSSQL 2008/2012 5.7 stanard/enterprise edition, is there any problem using DG4ODBC to query the data for all 3 platforms?

    There are other free alternatives?

    If the queried data are mainly contained in MySQL or MSSQL, it will be more efficient to query MySQL or MSSQL?

    If so, any suggestion of how to do it in these platforms? I know that MSSQL can use linked server, but it is quite slow.

    Hi Ed,

    Ok!   I still think a bridge 'instance' as a partner to ainit .ora file but still useful to be aware how others see these things.

    Your installation is that we have our test systems - multiple gateways - dg4odbc, the dg4msql, the dg4drda etc. - in an ORACLE_HOME.

    Kind regards

    Mike

  • Sybase 12.5 to migration oracle 12 c thru goldengate

    Hi gurus, I want to clarify if it is possible to configure a bidirectional goldengate of sybase and oracle oracle-sybase replication/migration. and if you have any document that could provide. Note that the structure of the object are different from the source to the target. Thank you!

    Yes it is possible. Document for the information detailed below, PL.

    http://docs.Oracle.com/GoldenGate/1212/Gg-Winux/GWUAD/wu_bidirectional.htm#GWUAD282

    For the different/dissimilar data structure, you must use the file defgen, pl see this document.

    http://docs.Oracle.com/GoldenGate/1212/Gg-Winux/GWUAD/wu_data_definitions.htm#GWUAD478

    Also the MOS Doc can help you - Doc ID 1574184.1 and this (Doc ID 1433100.1) has some examples of test for the scenario of the active scripts.

    Haddi

  • Migration oracle db user of an operating system to any other user of system operating in an environment of rhel 6 with oracle 11.2.0.3.0

    Hi all

    Migration of oracle db user of an operating system to any other user of system operating in an environment of rhel 6 with oracle 11.2.0.3.0.

    Suppose I have a database running with os user user1

    I have another user user2 where I want the database runs and not on User1

    Please let me know how to achieve this goal,

    Thank you.

    Have you looked on the MOS for this?

    I thought to do exactly this, but ultimately I didn't actually accomplish. Despite the fact, it may be an interesting feature...

    Something like this:

    S ' ensure that two users are members of the same groups

    -Database stop

    -As the former owner, change the ownership of all files in Oracle Home, inventory of the Oracle and all data files, to the new. On Linux/Unix, only the owner (and root) can change the ownership of files, so all files/directories not belonging is not to the former user, will obtain authorization refuses, legitimately so. The new user for example cannot 'take' the files, because they are not his. Only the old can 'give' files. Of course, root can do as well, if you have this permission.

    -Configure the new user to set up the environment correctly (ORACLE_HOME,..)

    -Start of the database

    -Do NOT remove the old user of the system, but do not give him a different password

    That's what I think

  • Installation and migration Oracle 10 g x 86 to x 64 under SUSE 11 x 64

    Hi all

    I'm trying to accomplish a proof-of-concept for the migration of legacy x 86 environment running Oracle 10 g in x 64 environment, then upgrade the instance of Oracle 11 g. The first step in doing this is installation of Oracle 10 g in the target environment, which is SLES 11 SP2.

    I went though the standard installation procedure; from what I can discern, I installed all dependent packages, including orarun to prepare the environment. I have a source installation package after some minor headaches (unfortunate that Oracle offers them more, because I'm sure there are others out there pertaining to similar projects) and began the process of installation as the oracle user.

    To install, I chose to keep things as simple as possible and went with all the default Oracle settings, although I chose to not create a starter database. The only difference is that I have in the House/storage of database mapped via iSCSI to/opt/oracle/product /. After editing, I was sure to change the property of oracle: oinstall.

    The first phase of the installation runs without problem. I made the necessary changes to the system so that Setup happily buzzes through the prerequisites and ends the first phase of the installation. However, during the phase of liaison, I meet an error:

    «Error in invoking target 'client_sharedlib' of makefile ' / opt/oracle/product/10gR2/db/network/lib/ins_net_client.mk'.» See < journal > for more details".

    In this paper, I am directed to examine the Journal brand, as in

    "INFO: the output of this operation is also available to: ' / opt/oracle/product/10gR2/db/install/make.log'.

    Very well. So, here is the relevant excerpt from that:

    32-bit version of nnfgt.o building

    / bin/sh: line 2: / opt/oracle/product/10 g 2/db/bin/gennfgt: permission denied

    r /opt/oracle/product/10gR2/db/lib32/nnfgt.o

    / bin/sh: line 8: / opt/oracle/product/10 g 2/db/bin/gennfgt: permission denied

    64-bit version of nnfgt.o building

    r /opt/oracle/product/10gR2/db/lib/nnfgt.o

    (if ["compilation" = "assemble"]; then------)

    / opt/oracle/product/10 g 2/DB/bin/gennfgt > nnfgt.s

    / usr/bin/As o nnfgt.o nnfgt.s

    RM-f /opt/oracle/product/10gR2/db/lib/nnfgt.o

    MV nnfgt.o/opt/oracle/product/10 g 2/db/lib /.

    / usr/bin/AR rv /opt/oracle/product/10gR2/db/lib/libn10.a /opt/oracle/product/10gR2/db/lib/nnfgt.o; FI)

    (if ['compile' = "oratmp"]; then------)

    / opt/oracle/product/10 g 2/DB/bin/gennfgt > nnfgt.c

    / lib/idcpp nnfgt.c oratmp.c

    -i oratmp.c o oratmp.s f nnfgt.c

    / usr/bin/As o nnfgt.o oratmp.s

    RM-f oratmp.c oratmp.s

    RM-f /opt/oracle/product/10gR2/db/lib/nnfgt.o

    MV nnfgt.o/opt/oracle/product/10 g 2/db/lib /.

    / usr/bin/AR rv /opt/oracle/product/10gR2/db/lib/libn10.a /opt/oracle/product/10gR2/db/lib/nnfgt.o; FI)

    (if ['compile' = "binary"]; then------)

    / opt/oracle/product/10 g 2/DB/bin/gennfgt > nnfgt.c

    TARGET_BINARY_INTERFACE =

    export TARGET_BINARY_INTERFACE

    GCC - c nnfgt.c.

    -f /opt/oracle/product/10gR2/db/lib/nnfgt.o rm

    MV - nnfgt.o/opt/oracle/product/10 g 2/db/lib /.

    / usr/bin/AR rv /opt/oracle/product/10gR2/db/lib/libn10.a /opt/oracle/product/10gR2/db/lib/nnfgt.o; DIK

    / usr/bin/make-f ins_net_client.mk client_sharedlib ORACLE_HOME = / opt/oracle/product/10 g 2/db / / opt/oracle/product/10 g 2/db/bin/genclntsh

    make: execvp: / opt/oracle/product/10 g 2/db/bin/genclntsh: permission denied

    make: * [client_sharedlib] error 127

    I don't know what to do with these permissions problems:

    ls - al/opt/oracle/product/10 g 2/db/bin/gennfgt

    -rwxr-xr-x 1 oracle oinstall 2983 20 October 2005/opt/oracle/product/10 g 2/db/bin/gennfgt

    Additional information, as I thought the ORACLE_HOME in the output was weird (concatenated?):

    echo $ORACLE_HOME

    / opt/oracle/product/10 g 2/DB

    This who might I be missing here? Any help is greatly appreciated, let me know if there is anything I can provide additional details.

    See you soon,.

    Greg

    Another thing, you might check are property of oracle on all directories in/opt/oracle/product/10 g 2/db and the correct permissions. Also, what is your output of the command 'mount '?

  • Migration Oracle 10.2.0.4 to another site

    Hi gurus,

    I´ll need to migrate an ORACLE database to another site (1000 miles) and I need to know, what is the best practice to do so.
    I need to copy the entire database to a new server whith the minimal downtime and risk when the source database is opened (if possible).


    Target and the source server are the same:

    AIX 6.1 on Power 780.
    Between the servers, we have a 100 mb network connection
    10.2.0.4 - single Instance database

    I have two options in my mind:

    (1) only MIGRATE disks and mount them on the server target.
    For me, it's the easiest way, I fear of downtime but the database 1 TB and it will take a long time to transfer.

    (2) compressed backup of the whith DUPLICATE the DATABASE to use. (Doubt)
    My database is archivelog and I want to back up the database and it is archivelogs and run the command duplicate.
    My question is: after RMAN restore backup and apply logs archived files that were backed up, is it worth the recent changes on the database that have not been saved?

    Kind regards

    If you're like many sites, the compressed backup will be about one-tenth the size of the db. So, how long to transport 100G more than 100 mb link? About 12 M per second is the best you could hope (depending on what else go in), so consider a minimum of 3 hours, and it could be ten times that. You will need to test for. Another possibility is cold copy on a disk usb $ 500 2T and ship it to the course. You can also use rman like that, but be careful to have the identical directory structure to put the backup sets in (if I do not forget about a new feature, it has been awhile since I lack of network speed during this operation).

    It is also a way "he dribbles on" If you have time, take some time to network files above and set up a standby mode, then however much time it takes to catch up with newspapers, then a brief interruption to pass. Depends on your availability requirements.

Maybe you are looking for