Gorman calls this a benefit log.
Gorman称这是受益日志。
The biggest benefit of writing to the log first, then writing to the database is that all writes to log files are sequential in nature.
首先写入日志,然后再写入数据库,这样做的最大好处在于,所有日志文件写入操作本质上都是按顺序进行的。
Depending on your requirements, you have to balance the benefit of faster audit log queries with a potential penalty in overall system performance.
根据您的需求条件,可能需要平衡使用整个系统性能的损失与更快的审核日志查询。
应用推荐