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 6878789
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T04:46:01+00:00 2026-05-27T04:46:01+00:00

Let’s say I have two Databases like so : DatabaseA create table Table1 (

  • 0

Let’s say I have two Databases like so :

DatabaseA

create table Table1 ( field1 int, field2 int, field3 int )

DatabaseB

create table Table1 ( field1 int, field2 int )

Our old application uses B and must continue to do so. We are developing a new application that is going to use A. What is the best way to make sure all changes in A:Table1 are replicated in B:Table1 ?


Here are a few things to consider:

  • The old application will only do selects in B:Table1, no need for the syncronization to go both ways.
  • The old application must keep using B.
  • Most of the fields in A:Table1 are the same as B:Table1, but some type of data conversion will be needed in some cases.
  • Performance is not a big problem, because there isn’t going to be a lot of modification.
  • At first, there will only be 1-2 tables that need to be syncronized, but as we migrate more modules to the new version, more tables will be added.
  • Both databases are from different vendor.

Here are the options I have considered :

  • In the new application, make update to the two databases:
    I don’t like this option, because it adds a lot of complexity to the new application datalayer and there is no transactions between the two databases
  • Using triggers in A to launch an application that will replicate the changes in B
    Not sure if that is a good practice and how reliable it is
  • Using triggers in A to launch a stored procedure to replicate the changes
    Some of the data conversion might be too complicated to do in a stored procedure
  • Launch an application or a stored procedure at a set interval to make the changes
    Not real time, so I would rather not use this

What are your toughs on this ?
Did I miss another option ?
Have you ever done something similar ?
Is there a software (free or not) that might do the job ?

As always, thank you all for your time and your input.

  • 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-27T04:46:02+00:00Added an answer on May 27, 2026 at 4:46 am

    You have lots of options here…

    • You can link the servers and have the updates applied together in a transaction. This is if the databases are not on the same server.
    • You could use Service Broker to provide guaranteed asynchronous updates to the other server.
    • Log shipping will also allow the other server to receive updates in a near real-time fashion.

    In the end you’d need to read up more on each and decide which best fits your needs. It’s going to be a trade-off between reliability and performance.

    From the information in your question alone it sounds like Service Broker is going to be the best fit. You can still use triggers to invoke the broker, which then responds asynchronously.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say that I have classes like this: public class Parent { public int
Let's say I have some content classes like Page, TabGroup, Tab, etc. Certain of
Let's say I create an object like this: Person: NSString *name; NSString *phone; NSString
Let say I have two UIViews: View1: - bounds: 0, 0, 20, 20 -
Let's say I have two assemblies: BusinessLogic and Web. BusinessLogic has an application setting
Let's say I have this MySQL table: OK.. see the type field? Type 0
Let's say I have an image called hello.png with dimensions 200x100 . I create
Let's say I dynamically create a timer like this: System.Timers.Timer expirationTimer = new Timer(expiration
Let's say I got two variables like so : var a = $('#a'), b
Let's say you create a wizard in an HTML form. One button goes back,

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.