Best implementation for fully auditable data model?

前端 未结 6 1960
情深已故
情深已故 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:28

    I see no reason why a trigger can't reference a different database. However, all changes would fail if that database was unavailable which can be a problem if the audit database is on another server and the conectin is down. But our auditing is through triggers and we have a separate audit database.

提交回复
热议问题