Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: model inherited object

Re: model inherited object

From: <deja_at_2bytes.co.uk>
Date: 21 Jun 2006 13:47:51 -0700
Message-ID: <1150922871.682793.171900@y41g2000cwy.googlegroups.com>


actually the other databases are irrelevant - in a single database I want to be able to select the "view" of an object at a certain date. I am suggesting to record the "history" of an object as it changes with one row per change BUT ideally I want that history record to only show the change in the relevant attributes and indicate that the other attributes are "inherited" from whatever the previous record value was AND to somehow make the view of an object at any given date not too complex (this model would seem to require quite a complex select)

I could have a history table for each attribute but that gets rather busy and complicated when it could be many tables x many attributes. Or I might just have the limitation that once you override a record for a year i.e increase the size of the room in 2007, any further changes to previous years will need to be manually duplicated in 2007 (and any other overrides) - though this is not ideal.

The current system basically has an entire set of data for each period independent of each other.
1) that means recreating the location data every time a new period is created
2)any change to the location data in one year is not automatically reflected in later years

Aloha Kakuikanu wrote:
> deja_at_2bytes.co.uk wrote:
> > "database have access to the data"? This doesn't make any sence.
> >
> > well, apart from pinting out that neither does "sence" - I think you
> > get the idea. If I select locations in any one of my "period databases"
> > I want it to show the relevant details of the location for that
> > specific period bearing in mind that any of its properties could change
> > over time but don't very often.
>
> So, your data model is temporal?
Received on Wed Jun 21 2006 - 15:47:51 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US