Keeping a history of data changes in database

前端 未结 7 978
醉梦人生
醉梦人生 2020-12-28 21:48

Every change of data in some row in database should save the previous row data in some kind of history so user can rollback to previous row data state. Is there any good pra

7条回答
  •  抹茶落季
    2020-12-28 22:25

    One way is to use a DB which supports this natively, like HBase. I wouldn't normally suggest "Change your DB server to get this one feature," but since you don't specify a DB server in your question I'm presuming you mean this as open-ended, and native support in the server is one of the best implementations of this feature.

提交回复
热议问题