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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:02:22+00:00 2026-05-26T16:02:22+00:00

Study case: If I have for example The library object. In the library are

  • 0

Study case:

If I have for example The library object.
In the library are books.
Every book have common information like Name, Date, …. And some other dependencies like Autor, Reseller, ….

I have Person object.
If Person read the book, then I want make new record into history.

And now the problem, what is better:

1) Create static record in history with all data from Book entity and his dependencies (In this case If the Book will be changed, then history will not be actual)

or

2) Strore dependecy on Book object (In this case history will be actual, but in every request I must look at all dependencies)

I suppose that Books will be changed offen

And the History will be displayed in Person profile. (This assumption response will Answer 1) )

But should be history based on actual Book datas ? Or history should have the information form date where history was created ?

Book and Person are only examples

  • 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-26T16:02:23+00:00Added an answer on May 26, 2026 at 4:02 pm

    And now the problem, what is better:

    1) Create static record in history with all data from Book entity and
    his dependencies (In this case If the Book will be changed, then
    history will not be actual)

    or

    2) Store dependency on Book object (In this case history will be
    actual, but in every request I must look at all dependencies)

    Not sure what you actually mean by “actual” here, but the better choice is the one that suits your needs.

    With option 1, when you later show the history record in your Person Profile, it will contain the information about the book which was current at the time the history record was created. With option 2, the profile will show the information about the book that is current at the time the profile is viewed.

    Which do you want to see in the profile?

    If in fact you want to always show information that was current at the time of the history record creation, this is one of the reasons for building a data warehouse with a time dimension. If this is what you need, and if it’s something you need to do with alot of history data, you might want to look into building a data warehouse separate from your transactional database.

    For some information on data warehouses, this IBM Redbook article might be useful.

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

Sidebar

Related Questions

I have to write an architecture case study but there are some things that
Hi I am studying Software Engineering, and I have to do a case study
I have a question. My case study is that I have two big SQLite
I'm studying e-Commerce like web application. In one case study, I’m in trouble of
I like to study languages outside my comfort zone, but I've had a hard
In my independent study of various compiler books and web sites, I am learning
This is a study project. I have three database classes A,B,C. There is a
I have just started to study computer sciences at my university where they teach
I have been working on some of the projects of my own and dont
(GridWorld as in Collegeboard's AP exam case study thing) So, I've been working on

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.