Bitemporal Modeling

Bitemporal Modeling is a specific case of Temporal database information modeling technique designed to handle historical data along two different timelines.[1] This makes it possible to rewind the information to "as it actually was" in combination with "as it was recorded" at some point in time. In order to be able to do so, information cannot be discarded even if it is erroneous. Within, for example, financial reporting it is often desirable to be able to recreate an old report both as it actually looked at the time of creation and as it should have looked given corrections made to the data after its creation.

Implementations of Bitemporal Modeling are mostly done using relational databases. As such, Bitemporal Modeling is considered different from Dimensional Modeling and complementary to database normalization. The SQL:2011 standard provides language constructs for working with bitemporal data. However, many of current solutions are still vendor-specific.

Philosophy

Bitemporal modeling uses bitemporal structures as the basic components. This results in the databases which have a consistent type of temporality for all data.

Benefits of Bitemporal Modeling

By focusing on completeness and accuracy of data, Bitemporal Modeling facilitates the creation of complete audit trails of data. All data becomes immutable. Specifically this allows for queries which provide:

  1. The most accurate data possible as we know it now
  2. Data as we knew it at any point in time
  3. When and why the most accurate data we had changed

Implementations in notable products

  • MarkLogic introduced bitemporal data support in version 8.0. Time stamps for Valid and System time are stored in JSON or XML documents.[2]
  • Crux[3] is a fully bitemporal open source database with an "unbundled" architecture. Crux indexes documents using an EAV data model and provides point-in-time bitemporal Datalog queries.
gollark: It has some nice-for-users features like that you can, say, make your disk's contents unreadable if you take it out and stick it in another computer (without also having the TPM to do things to).
gollark: It's basically a bit of hardware built into the CPU for storing secret keys the user isn't meant to be able to access.
gollark: And similar accursed DRM schemes.
gollark: The older ones were low-powered in-order cores for phones and such, but now Atom-branded things go into networking appliances and are actually moderately fast.
gollark: There are lots of Atoms. They aren't actually very consistent in anything.

See also

References

  1. "Temporal Patterns". martinfowler.com. Retrieved 2017-04-04.
  2. Bridgwater, Adrian (24 November 2014). "Data Is Good, 'Bidirectionalized Bitemporal' Data Is Better".
  3. "Crux — Open Time Store". 19 April 2019.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.