The term valid time was coined by Richard T. Snodgrass and his doctoral student (1986).11
As of December 2011, ISO/IEC 9075, Database Language SQL:2011 Part 2: SQL/Foundation included clauses in table definitions to define "application-time period tables" (that is, valid-time tables).
[Needs an additional row: "John's death registered".]
Valid time is the time for which a fact is true in the real world. In the example above, the Person table gets two extra fields, valid_from and valid_to, specifying when a person's address was valid in the real world. On 1975-04-04, John's father proudly registered his son's birth. An official will then insert a new entry to the database stating that John lives in Smallville from April, 3rd. Notice that although the data was inserted on the 4th, the database states that the information is valid since the 3rd. The official does not yet know if or when John will ever move to another place so in the database the valid_to is filled with infinity (∞) or a very late date (like for example 2300-01-01). Resulting in this entry in the database:
On 1994-12-27 John reports his new address in Bigtown where he has been living since 1994-08-26. The Bigtown official does not change the address of the current entry of John Doe in the database. He adds a new one:
The original entry Person (John Doe, Smallville, 1975-04-03, ∞) is then updated (not removed!). Since it is now known that John stopped living in Smallville on 1994-08-26, the valid_to entry can be filled in. The database now contains two entries for John Doe
When John dies the database is once more updated. The current entry will be updated stating the date of death as the last valid_to for Bigtown, as John does not live in Bigtown any longer. No new entry is being added. The database now looks like this:
"A not-so-gentle follow-up on bitemporal data challenges - Roelant Vos". https://roelantvos.com/blog/a-not-so-gentle-follow-up-on-bitemporal-data-challenges/ ↩
"The Events API basics | Akeneo APIs". api.akeneo.com. Retrieved 2024-02-10. https://api.akeneo.com/events-documentation/subscription.html ↩
"Illuminated Computing | Survey of SQL:2011 Temporal Features". illuminatedcomputing.com. Retrieved 2024-06-18. https://illuminatedcomputing.com/posts/2019/08/sql2011-survey/ ↩
"Application-period temporal tables". www.ibm.com. Retrieved 2024-06-18. https://www.ibm.com/docs/en/ias?topic=tables-application-period-temporal ↩
"Application-Time Periods". MariaDB KnowledgeBase. Retrieved 2024-06-18. https://mariadb.com/kb/en/application-time-periods/ ↩
"SAP Help Portal". help.sap.com. Retrieved 2024-06-18. https://help.sap.com/docs/SAP_HANA_PLATFORM/3823b0f33420468ba5f1cf7f59bd6bd9/73c7b80318ba4405a8769e6ceb41ec64.html?version=2.0.05 ↩
"A gentle introduction to bitemporal data challenges - Roelant Vos". https://roelantvos.com/blog/a-gentle-introduction-to-bitemporal-data-challenges/ ↩
Richard T. Snodgrass and Ilsoo Ahn, "Temporal Databases," IEEE Computer 19(9), September, 1986, pp. 35-42. ↩