Best implementation for fully auditable data model?

前端 未结 6 1951
情深已故
情深已故 2021-02-06 14:36

My requirement is for a data model where a full audit trail is retained for changes to every attribute of every object. Object definitions are also fluid: new attributes can ap

6条回答
  •  逝去的感伤
    2021-02-06 15:09

    Performance would be a concern for such audit trails. I would go for a cache (which is quite fault tolerant) and persist the cache content when the count reaches certain threshold (say 1000 records). This would ideally be a batch update.

    I feel in-memory databases with persistence options (like H2 ) should also do the same. But I haven't used it myself.

提交回复
热议问题