We are using ERP application that stores data to ORACLE database and also we have web applications that uses the same ERP database. We are getting the performance issues when ERP and another application use the same database.
We are planning to do mirroring of oracle database into mysql database. So that mysql db is used for web applications and oracle db is used for ERP. So we could say these new database (mysql) are mirror of ERP database.
What is the best way for mirroring this condition?
You could use Golden Gate for this kind op replication. See GoldenGate for Oracle to MySQL
A VERY smart alternative - and very price worthy - would be dbvisit replicate The Dedicated Dbvisit Server : Replicating Data from Oracle to MySQL and SQL Server
Related
Is there any possibility to export and create a link between one of the table from Azure SQL DB to the table in MySQL DB?
Firstly, you can migrate data from SQL server to your MySQL database. And there are many ways can help you achieve that. You can reference this blog :How to migrate SQL Server database to MySQL?.
But for Azure, you could not copy or migrate data from Azure SQL database to your on-premise MySQL DB, even with Azure Data Factory. Azure Data Factory only support MySQL as source server.
Secondly, You want to sync the data between Azure SQL database and your MySQL database. Azure SQL Data Sync only support Azure SQL Database and on-premise SQL Server instance.
This means that Azure could not help you migrate or sync data from Azure SQL data base to MySQL DB. You have to use third-party tools.
One of the ways is you can use MySQL Workbench Migration tool. Database migrations - enables migrations from Microsoft SQL Server, Microsoft Access, PostgreSQL, Sybase ASE, Sybase SQL Anywhere, SQLite, and more.
There are many tools to perform the migration from MS SQL Server to MySQL like Amazon DMS or Data Integration (Kettle), but in this case, we’ll use the MySQL Workbench Migration tool.
Please reference this tutorial: How to Migrate from MSSQL to MySQL.
Hope this helps.
I have similar schema in both MySQL and MSSQL Server databases. How can I migrate just the data from MySql to an empty (no data) MSSqlServer database? MSSqlServer DB is empty with just the schema. I could not configure the MySql DB as a linked server (through ODBC) since I don't have DB Admin rights on MSSqlServer. I just have previleges to add data. I explored Sql Server Migration Assistant for MySQL, but I just want to migrate data without touching the schema at the target.
I also noticed that there is a SqlBulkCopy class which helps to programatically migrate data in .NET.
But I need to write code for each table (there are more than 100 tables and 20 GB of data).
What is the most elegant way to do it?
SSMA might be the easiest. Since you don't wanna use that, you can try using mysqldump. You can use it to essentially dump a MySQL db to SQL Server.
Link to the SSMA blog, they update these tools regularly, so check for a later version. SQL Server Migration Assistant (SSMA) Team's Blog
I have a MySQL database.
I need to migrate some (not all) table's data (data records) from MySQL to MSSQL database, herewith convert structure of MySQL tables to new structure in MSSQL.
In future, I need to do automatic periodical synchronization between these databases.
Is there any tools? or I have to use some SQL proc's or queries? How can I do these things?
For reference: I'm using MSSQL Server 2008 R2 with ODBC driver for MySQL and SQL Migration Assistant for MySQL (with these tools, I have been fully converted MySQL to MSSQL database only).
Since you already have full SQL 2008, open the Visual Studio Intelligence BI installed with your SQL installation.
Then create a new project "Integration Services Project".
Therefor you create a new connection to your ODBC (should be wizards available).
Then add your tables, there you can modify, convert, tranasform the data.
The complete project you can save and add as sheduled task to your sql server agent.
Here is a tutorial which explains more: http://msdn.microsoft.com/en-us/library/ms169917.aspx
I have a client who is very used to the MS Access query tool. I am migrating all of his data into MySQL.
Any recommendations for a User Friendly query painter I could provide him to be able to paint up his queries rather than type up SQL code?
Why can't he just use Access with ODBC linked tables?
The usual answer for MySQL is phpMyAdmin, though. I use it for a number of websites I manage and I think it's quite nice as a management tool (though the querying tools are not nearly as well-developed as Access's).
MySQL has an official MySQL Workbench:
http://dev.mysql.com/downloads/tools/workbench/
From the docs:
MySQL Workbench provides DBAs and developers an integrated tools environment for:
Database Design & Modeling
SQL Development (replacing MySQL Query Browser)
Database Administration (replacing MySQL Administrator)
Database Migration
I need to migrate some tables in mysql db to oracle db.
Do you now any tutorial to learn about this migration?
Thanks
You can connect to the MySQL instance from Oracle using Oracle's database link - this link details making the connection from Oracle to MySQL.
Bearing in mind that the MySQL account you use to create the connection will determine access to MySQL data, once the link is created you can work within Oracle to select data from the MySQL tables into the Oracle tables without a need for scripts and such.
Find an ETL tool like Informatica or SSIS to help you. Oracle's Migration Workbench might be the perfect choice, since you're already using Oracle.