Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6538845
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:47:06+00:00 2026-05-25T10:47:06+00:00

I am trying to transfer bulk data on a constant and continuous based from

  • 0

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 apparently is only for SQL Server to Oracle or IBM DB2 connection. Currently we are using SSIS to transform data and push it to a temporary location at the MYSQL database where it is copied over. I would like the fastest way to transfer data and am complication several methods.

I have a new way I plan on transforming the data which I am sure will solve most time issues but I want to make sure we do not run into time problems in the future. I have set up a linked server that uses a MYSQL ODBC driver to talk between SQL Server and MYSQL. This seems VERY slow. I have some code that also uses Microsoft’s ODBC driver but is used so little that I cannot gauge the performance. Does anyone know of lightening fast ways to communicate between these two databases? I have been researching MYSQL’s data providers that seem to communicate with a OleDB layer. Im not too sure what to believe and which way to steer towards, any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:47:06+00:00Added an answer on May 25, 2026 at 10:47 am

    I used the jdbc-odbc bridge in Java to do just this in the past, but performance through ODBC is not great. I would suggest looking at something like http://jtds.sourceforge.net/ which is a pure Java driver that you can drop into a simple Groovy script like the following:

    import groovy.sql.Sql
    sql = Sql.newInstance( 'jdbc:jtds:sqlserver://serverName/dbName-CLASS;domain=domainName',     
    'username', 'password', 'net.sourceforge.jtds.jdbc.Driver' )
    sql.eachRow( 'select * from tableName' ) { 
      println "$it.id -- ${it.firstName} --" 
      // probably write to mysql connection here or write to file, compress, transfer, load
    }
    

    The following performance numbers give you a feel for how it might perform:
    http://jtds.sourceforge.net/benchTest.html

    You may find some performance advantages to dumping data to a mysql dumpfile format and using mysql loaddata instead of writing row by row. MySQL has some significant performance improvements for large data sets if you load infile’s and doing things like atomic table swaps.

    We use something like this to quickly load large datafiles into mysql from one system to another e.g. This is the fastest mechanism to load data into mysql. But real time row by row might be a simple loop to do in groovy + some table to keep track of what row had been moved.

    mysql> select * from table into outfile 'tablename.dat';  
    
    shell> myisamchk --keys-used=0 -rq '/data/mysql/schema_name/tablename'
    
    mysql> load data infile 'tablename.dat' into table tablename;
    
    shell> myisamchk -rq /data/mysql/schema_name/tablename
    
    mysql> flush tables;
    mysql> exit;
    
    shell> rm tablename.dat
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to transfer some data from Access to SQL Server 2000 (there are
I am trying to transfer a table from MySQL to MSSQL using the data
I'm trying to transfer an entire column's worth of data from the backup database
I am trying to use it for Login page. if (Session[UserID] == null) Server.Transfer(/Account/Login,
Trying to make a MySQL-based application support MS SQL, I ran into the following
I'm trying to transfer the data from my production DB to my staging DB
I'm trying to transfer an SQL query into java from my workbench. I wrote
I am trying to transfer data from one page to another but some problem
I'm trying to use GET variables to transfer some simple data but for some
I'm trying to transfer data from a DataSet into an Excel workbook. Unfortunately, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.