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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T09:51:17+00:00 2026-05-23T09:51:17+00:00

if i have table1, table2, table3..table50 that stores different information about a product what

  • 0

if i have table1, table2, table3..table50 that stores different information about a product

what would be the efficient way to keeping track of incremental changes in a way that if i want to go back and pull how that particular product looked in a give date, it would be very fast and accurate.
i would want to track changes in a way that it can be retrieved very fast and also reduce too many redundancy.

  • 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-23T09:51:17+00:00Added an answer on May 23, 2026 at 9:51 am

    1.If you are on Oracle 11g, Oracle Flashback technology is the feature that lets you do this.
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28424/adfns_flashback.htm#BJFGJHCJ.

    2.In older versions, you can use the DBMS_WM package and enable versioning for the tables that you need. However, there are certain restrictions on the kinds of tables you can enable versioning for.
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96628/long_ref.htm#80312

    3.The other implementations I have seen so far have their own version of some procedures of DBMS_WM. Basically, have a structure like..

    SQL> desc scott_emp;
     Name                                      Null?    Type
     ----------------------------------------- -------- -------------
     EMPNO                                     NOT NULL NUMBER(4)
     ENAME                                     NOT NULL VARCHAR2(10)
     JOB                                       NOT NULL VARCHAR2(9)
     MGR                                                NUMBER(4)
     HIREDATE                                  NOT NULL DATE
     SAL                                       NOT NULL NUMBER(7,2)
     COMM                                               NUMBER(7,2)
     DEPTNO                                    NOT NULL NUMBER(2)
     EFF_DATE                                           DATE
     END_DATE                                           DATE
    

    Where the final two columns are used to see for what time period a record was “logically active” in the Database. The implementation is done using triggers where

    • Each Insert/Update is Converted to
      “Expire the Current Row(update)+
      Insert a New Row”
    • Each Delete is
      Converted to “Expire the Current
      row”

    The last approach might solve your purpose if you only want to track changes to some columns (eg. Let’s say only dept and salary changes are all you care about).

    Please do not choose a model like this. (Do not Store each column change as a separate row)
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:1769392200346820632

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

Sidebar

Related Questions

If I have Table3 that has a FK pointing to Table2 which has a
I have two tables (TABLE1, TABLE2 - unique i know) that has a 1-to-many
I have a following table structre Table1 Table2 Table3 -------------------------------- sId sId sId name
I have 3 tables: table1:table1_col1, table1_col2,table1_col3 table2 : table1_col1, table2_col2,table2_col3 table3 : table1_col1, table3_col2,table3_col3
I have 3 tables - Table1 Table2 and Table3 I want to change this
I have 3 tables Tablle1, Table2, Table3. Table1 & Table2 are related by Id1.
I have Table1 and Table2 related on Table1.ID. There can be zero or more
I have 2 classes with a LINQ association between them i.e.: Table1: Table2: ID
I have a database with two tables ( Table1 and Table2 ). They both
I have a join in a oracle query which looks like: FROM eiv.table1 eiv.table2

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.