Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Transaction time

From Wikipedia, the free encyclopedia
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Transaction time" – news ·newspapers ·books ·scholar ·JSTOR
(May 2008) (Learn how and when to remove this message)

Intemporal databases,transaction time is the time when some data has beenloaded into adatabase. The time when a transaction is valid can be called thetransaction time-period. It is a technical timeline controlled by aintegration layer (for example adata warehouse).[1] More formally, it is thepoint-in-time during which a fact stored in the database is considered to be true.

The period is an interval based onload times (calledload datetime indata vault[1][2]), also calledinscription timestamp.[1] Other names of the interval isassertion timeline[3]), state timeline[3]) ortechnical timeline.[3]SQL:2011 has support for transaction time through so-calledsystem-versioned tables.[4][5][6][7]

For many reasons, transaction time (when data arrives from asource system) is almost always different fromvalid time (when the event happened in the real world). For a data warehouse to unambiguously report what actually happened in the past it must be able to combine these two timelines.[1] Inbitemporal data models, valid-time and transaction time can be represented two-dimensionally in aCartesian coordinate system. When data is delivered from the integration layer and is to be presented in a presentation layer (often in adimensional model orwide table) it is often desirable to have the data on only one timeline.

In a database table, the transaction time is often represented as an interval allowing the system to "remove" entries by using two table-columnsstart_tt andend_tt. The time interval isclosed[ at itslower bound andopen) at itsupper bound.[8] When the ending transaction time is unknown, it may be considered asuntil_changed. Academic researchers and somerelational database management systems (RDBMS) have representeduntil_changed with the largest timestamp supported or the keywordforever. This convention is a technicalworkaround, and not technically precise.

History

[edit]

The term transaction time was coined byRichard T. Snodgrass and his doctoral student Ilsoo Ahn (1986).[9]

As of December 2011, ISO/IEC 9075, Database LanguageSQL:2011 Part 2: SQL/Foundation included clauses in table definitions to define "system-versioned tables" (that is, transaction-time tables).

See also

[edit]

References

[edit]
  1. ^abcd"A gentle introduction to bitemporal data challenges - Roelant Vos".Roelant Vos. 20 February 2023.
  2. ^"Transactional Links - AutomateDV".automate-dv.readthedocs.io. Retrieved2024-02-10.
  3. ^abc"A not-so-gentle follow-up on bitemporal data challenges - Roelant Vos".Roelant Vos. 23 March 2023.
  4. ^rwestMSFT (2023-10-16)."Temporal Tables - SQL Server".learn.microsoft.com. Retrieved2024-06-18.
  5. ^"System-Versioned Tables".MariaDB KnowledgeBase. Retrieved2024-06-18.
  6. ^"SAP Help Portal".help.sap.com. Retrieved2024-06-18.
  7. ^"System-period temporal tables".www.ibm.com. Retrieved2024-06-18.
  8. ^Kedar, S. V. (2013). Database management systems. Pune, India: Technical Publications.
  9. ^Snodgrass; Ilsoo Ahn (1986)."Temporal Databases"(PDF).Computer.19 (9): 35.doi:10.1109/MC.1986.1663327.
Common models
Other models
Implementations
Stub icon

Thiscomputer-programming-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Transaction_time&oldid=1262556514"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp