Professional Documents
Culture Documents
DD 8 3
DD 8 3
8-3
Modeling Change: Price
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 3
Modeling Change: Price
Purpose
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 4
Modeling Change: Price
The Importance of Price Changes
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 5
Modeling Change: Price
What’s the Price Today?
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 6
Modeling Change: Price
Model Historical Price
PRODUCT
# id
• It is often useful to have information * name
on past prices.
• The model shown here tracks the have
historical price of a product.
of
PRICE
# start date
o end date
* price
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 7
Modeling Change: Price
Historical Price Changes
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 8
Modeling Change: Price
Tracking Price Changes
PRODUCT PURCHASE
• Businesses often need to # id # id
keep a record of price * name on * purchase date
changes. of * quantity
purchased
• In this model, we assume have
that each PURCHASE is of
only one product. between
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 9
Modeling Change: Price
Other Data Changing Over Time
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 10
Modeling Change: Price
Journaling
made by
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 11
Modeling Change: Price
Journal Content
EMPLOYEE
• A journal usually consists of both the # id
modified value and the information about * first name
SALARY CHANGE
# date modified
* old salary amount
* modified by
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 12
Modeling Change: Price
Terminology
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 13
Modeling Change: Price
Summary
DDS8L3 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. 14
Modeling Change: Price