2. Problem Statement and Opportunity
Client Based Application
Developed in Vb6
Uses MS-SQL in back end
Web Based application
Developed in PHP
Uses MY-SQL in back end
ERP Customer Web Portal
Some situations where there is a need to sync databases from Different SQL
servers.
Opportunity for developing our own product for database
synchronization between MSSQL and MYSQL
?
3. Why MySQL
3 Dependability and versatility.
4 MySQL is the primary choice database for Web-based applications.
2 Simple to utilize and gives performance
1 MySQL is the world's most prominent open source database
5
The cost of running and keeping up MySQL is less as compare to alternate
databases.
4. Innovative Idea/solution
DB Sync Tool
Link Server+ T-SQL
Available Tools
Use MSSQL linked server for Data synchronization
Linked Servers allows you to connect to other database instances on the
same server or on another machine or remote servers.
The remote servers can be SQL Server, MYSQL , Oracle etc. which
means those databases that support OLE DB can be used for linking
servers
It allows SQL Server to execute SQL scripts on remote servers .
Insert , Delete and Update script for DB Sync
Idea
5. Solution Provided To Client
1
2
3
4
Collected details of both
database servers.
Identify tables and
columns for data sync
Information Collection
Software Installation & Setting
Coding
Execution
MySql Connector for
ODBC
ODBC DNS for MySql
Linking MySQL to
MSSQL server
Separate procedure for
each tables to perform
Insert , Update and
Delete operation.
Setting and Scheduling
SQL jobs for data sync
6. Advantages & Disadvantages Of Solution
Synchronize data that is available
via SQL queries
The SQL script can be saved into a
stored procedure, or run periodically
as a job for SQL Server.
Technical expert Required.
Creating such a SQL script is quite
tedious, because three scripts are
usually needed for each
table: INSERT, UPDATE,
and DELETE
Advantages Disadvantages
7. User Interface for
creating and scheduling
SQL jobs
Interface for Linking
MySQL server to
MSSQL server
Automatic Creation of
Procedure to perform
Insert , Update and
Delete operation
User Interface
for creation of
ODBC DNS for
MySQL
selection of source and
destination tables
Column Mapping
User Interface for
capturing information of
source and destination
SQL server
Data Sync Tool
01
Info
Collection
02
DNS
Creation
03
Linking
Mysql
04
Mapping
05
Coding
06
Jobs &
Scheduling
Data Sync Tool
9. Resource Required
2 Software Developer for Development of Tool (30 Man days)
3 Tester for Manual and Automation Testing(10 Man days)
1 MS-SQL and MySQL Servers