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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T15:54:55+00:00 2026-05-22T15:54:55+00:00

Let’s assume we have the following generic scenario: An RDBMS as a data source,

  • 0

Let’s assume we have the following generic scenario:

  1. An RDBMS as a data source, which is a live database (fills up with data all the time).
  2. An SQL Server 2008 as a data destination, in a remote location.

We need to write a software solution that will:

  1. After an initial run, it will
    frequently (let’s say few times a
    day) extract some specific data from
    the source. The “specificness” of
    the data lies in the fact that once
    the mappings/transformations are
    designed, they will remain that way.
  2. The extracted data will be placed into the destination, awaiting to be consumed by another process (outside our scope). Awaiting to be consumed means that they will stay temporarily there.

With the following characteristics:

  1. The extraction can be a bit complex
    (meaning that it’s not a
    straightforward extraction from a
    specific table, but a combination of
    joins).
  2. Lots of data involved in the sources. Normally about tens of millions of rows but not expected to exceed a couple hundred.

With the following desired restrictions:

  1. Being as much database-agnostic from
    the source side as it is possible.
  2. Maintain minimum intervention in the source RDBMS, because it doesn’t “belong to us” and any changes/addition/requests follow an “unflexible” process.
  3. We cannot take for granted that the tables involved in extraction from the source will have some kind of timestamp, auto-increment key or something else that will eventually help us do a “range query” and retrieve records from “this value and afterwards”.

The question(s): Because we’ll be frequently extracting data from the live source, how can we efficiently retrieve the newly added records bearing in mind the above characteristics/restrictions? And if you had to break one of the restrictions, which one would it be? Is there a term that describes this problem (something like data differential or…)? My main concern lies on how to retrieve that “difference” in an efficient manner.

NOTE: I support the idea of breaking the database-agnosticism, and putting into play useful mechanisms provided from the various RDBMS (metadata?) to get the most recently added rows from the tables we’re interested into. I apologize for being generic, but I’m expecting a generic answer as well.

  • 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-22T15:54:56+00:00Added an answer on May 22, 2026 at 3:54 pm

    My main concern lies on how to
    retrieve that “difference” in an
    efficient manner.

    How will you identify the difference in a useful way? Given that

    • you can’t base the difference on
      timestamps.
    • you can’t base the difference on
      sequential numbers.

    You might have to rely on the only generally applicable approach: store the extracted keys, and use them to find the difference. (This is fine for new rows, but it doesn’t help with updated rows.)

    Whether you can do that efficiently depends a lot on where you’re allowed to store the extracted keys, and what kinds of connectivity you’re allowed to use between the live data and your stored keys.

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

Sidebar

Related Questions

Let's say you have a class called Customer, which contains the following fields: UserName
Let's say I'm building a data access layer for an application. Typically I have
Let me try to explain what I need. I have a server that is
Let's say we have a simple function defined in a pseudo language. List<Numbers> SortNumbers(List<Numbers>
Let's say I have a drive such as C:\ , and I want to
Let's say that we have an ARGB color: Color argb = Color.FromARGB(127, 69, 12,
Let's say you create a wizard in an HTML form. One button goes back,
Let's say I'm writing a PHP (>= 5.0) class that's meant to be a
Let's aggregate a list of free quality web site design templates. There are a
Let me preface this question by saying I use TextMate on Mac OSX for

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.