What is the difference between a database and a data warehouse?
Aren\'t they the same thing, or at least written in the same thing (ie. Oracle RDBMS)?
Example: A house is worth $100,000
, and it is appreciating at $1000
per year.
To keep track of the current house value, you would use a database as the value would change every year.
Three years later, you would be able to see the value of the house which is $103,000.
To keep track of the historical house value, you would use a data warehouse as the value of the house should be
$100,000 on year 0,
$101,000 on year 1,
$102,000 on year 2,
$103,000 on year 3.