SQL Server to MySQL data transfer

后端 未结 4 1083
刺人心
刺人心 2021-02-08 18:56

I am trying to transfer bulk data on a constant and continuous based from a SQL Server database to a MYSQL database. I wanted to use SQL Server\'s SSMS\'s replication but this a

4条回答
  •  闹比i
    闹比i (楼主)
    2021-02-08 19:32

    We've used the ado.net driver for mysql in ssis with quite a bit of success. Basically, install the driver on the machine with integration services installed, restart bids, and it should show up in the driver list when you create an ado.net connection manager.

    As for replication, what exactly are you trying to accomplish?

    If you are monitoring changes, treat it as a type 1 slowly changing dimension (data warehouse terminology, but same principal applies). Insert new records, update changed records.

    If you are only interested in new records and have no plans to update previously loaded data, try an incremental load strategy. Insert records where source.id > max(destination.id).

    After you've tested the package, schedule a job in the sql server agent to run the package every x minutes.

提交回复
热议问题