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

  • SEARCH
  • Home
  • 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 982249
In Process

The Archive Base Latest Questions

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

(This question is about the best way to temporarily and programatically keep new records

  • 0

(This question is about the best way to temporarily and programatically keep new records of two databases in sync, having very different schemas, and ignoring the old -outdated and no longer required- records.)

I work on a company that provides TV programming information for guides, newspapers and websites.

I have an old system that has several limitations and is being replaced by a new one.

Different clients take the data in different formats (xml, sql, txt, even print-ready PDF) and in different ways (push, pull, partial dumps, simple exports, man assisted exports -like the PDF version-, etc). Some exports are generated once a month, others more than once a day.

The problem is that several clients have to rely on the data from the old system until the new one is fully developed and loaded, and the staff mantaining the data can’t have both databases in sync because it would require a lot of additional work, but switching systems overnight seems impossible given the size of the project.

We don’t want to make a full inport of the data from the old database to the new one, because most of it is already not necessary, and have a lot of garbage (ie, duplicate records with different detail level, old airings info that we only need as an archive).

We want the new records inserted in both databases, and the old ones being edited, copied to the new database as well.

We are about to start the development of the new system using Symfony with Doctrine, and I’ve decided we could design a set of ORM “proxy” classes that should have the same interface than a simple Doctrine ORM set of classes, but keep the sync going between two other set of classes (the ones that interface with the new system and the ones that interface with the old one). Eventually the old DB should be discarded along with the proxy classes, and the Doctrine ORM classes that connect directly to the new DB should take that place, as if the old system would never existed.

It´s a long shot, and I’m not completely confident with the approach.
Do anyone have experience with this kind of project?
Do you know of any common pitfall in this approach, or some other solution that could fit this situation?

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

    I’m not sure if there is a method to accomplish this, I can only recommend that you should fully test the new db before you start migrating data, once your sure that it works as it should I suggest you to write some migrating applicacion that would query the requiered data to be exported from the old db, you don’t have to (but you should) debug the data from the old db, if the new db works, the duplicated data should be ignored by the restraints.

    I used to work for a company that didn’t care for this kind of problems and at the end it was a complete mess, patch after patch, yelling and unecesary stress. I know… sad.

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

Sidebar

Related Questions

No related questions found

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.