Hacker News new | ask | show | jobs
by taeric 898 days ago
For data warehousing, you usually have a ledger of events? Such that you would just record that a record with a given identifier was created/modified/deleted/etc. Right?
1 comments

Yes. In essence what most businesses do is create a record for any given state, so it enables analysts to see when something was created/modified/deleted indeed.

Most business applications contain only the actual state of data, so by loading the data warehouse these changes can be saved and analyzed.

The simplest implementation is that each record gets a start_datetime and end_datetime so you can see the changes over time or figure out when something was deleted. Other techniques like data vault enable businesses to get a complete historic view of any given point in time.