Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Replication from MySql to Sql Server

 
Anil Verghese
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
i working on banking domain.here we are facing one issue,that is they saying mysql is not high secure db.so my management asked me to replicate the data each time the user do transaction,it should replicate the data from mysql to sqlServer
Thank you,
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does having data in two places make it more secure than having it in one? Surely it would be easier (and more secure) to port the application to the desired database platform and drop the old database?

If you absolutely must to do this, you can do this with distributed transactions. Replicate the schema and all its data then for every update you'll need to do this against two DataSources not one. You'll have to somehow safegard the databases too, since its you application that keeps them in sync. Allowing anything else to update it will require they do so in the same safe transactional manner.

In my opinion, not worth doing. I'd argue the requirement with your management.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic