samedi 16 novembre 2019

Insert-only data pattern

I'm writing a specification for a system that requires a full data audit history.

I've worked with a few nice auditing patterns before, but I'm leaning towards an insert-only pattern for this solution. The idea is that records will never be updated, only inserted and time-stamped.

That way, I will always be able to retrieve the latest version of a record according to my pre-defined grouping and I will also have a perfect history of previous "versions" of that data.

So my question is only: Is there a pattern for this approach? What is it called?

Aucun commentaire:

Enregistrer un commentaire