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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:35:54+00:00 2026-05-14T06:35:54+00:00

I need ideas for structuring and processing data with revisions. For example, I have

  • 0

I need ideas for structuring and processing data with revisions.
For example, I have a database of objects (e.g. cars). Each object has a number of properties, which can be arbitrary, so there’s no a set schema to describe these objects. These objects are probably saved as key-value pairs.

Now I need to change property of an object. I don’t want to completely rewrite it – I want to be able to go back and see history of changes to these properties, that’s why I want to add new property and keep the old one (so I guess a timestamp would do the job of telling which property is the latest).

At the same time I want to be able to get info about any object in a snap, with only latest versions of each of the properties.

Any ideas what would be the best approach? At least please point me in the right direction. Thanks!

  • 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-14T06:35:54+00:00Added an answer on May 14, 2026 at 6:35 am

    One possibility is to have a object and property table (which you may have already).
    The create the association table containing
    ID ObjectId PropertyId Value Date_Added/version_number (as per your choice if you want to use timestamp or sequence column)

    As per your problem you would always add to association table and never update it.

    When you want to get a snapshot of latest object properties, you need to do a DISTINCT query for properties ordered by date_added/version number.
    For a given property checking history is straightforward as well.

    I hope this helps

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

Sidebar

Related Questions

I need some ideas how to create a activation algorithm. For example i have
I have no ideas how to do this, so I need your advice. I
I have repaired .net 4.0 but (still) cannot find: Ilasm.exe Any ideas? I need
I need to archive data from a CRM system. Does anyone have any idea
I need ideas... I have a classic scenario with a twist, containing the following
I have a problem and i need some ideas to solve it: I have
I need ideas with the best performance to remove/filter strings I have: string Input
I need some ideas for a design problem, i have the need for a
I need some ideas how to handle the database structure for a site i'm
today i have direct a problem :P i just need some ideas... how do

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.