In Oracle 12c Valid Time Temporal functionality to define a start and stop time where the data is valid. This article covers the basic of Valid Time Temporal rules for implementation
Temporal Validity
- Valid time dimension is placed on a table for each row.
- Two hidden columns are added to table definition.
- When querying the table, rows will be displayed regardless of temporal validity, unless you filter based on these two columns.
- Temporal Validity has no effect on storage or performance.
- It provides a new filter capability only.
- Provides a range of time for each row when the data is valid.
- Date range of validity can be set by user or application.
- Concepts of Temporal Validity”
- VALID TIME – This is a user-defined representation of time. Examples of a valid time include project start and finish dates, and employee hire and termination dates.
- Tables with valid-time semantics — These tables have one or more dimensions of user-defined time, each of which has a start and an end.
- Valid-time flashback queries — This is the ability to do as-of and versions queries using a valid-time dimension.
- Valid-time periods require pairs of date-time: start and end.
Larry Catt
OCP