什么是提交日志?
在谷歌的bigtable上下文中,提交日志意味着什么?提交日志有什么用?
in google's bigtable context, what does a commit log mean? and what is the use of a commit log?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在任何数据库上下文中,“提交”是将单个事务应用到数据库。提交日志是事务的记录。它用于跟踪发生的情况,并帮助进行灾难恢复等操作 - 通常,所有提交都会在应用之前写入日志,因此可以通过检查服务器故障时恢复并重新应用正在运行的事务。日志。
In any database context, a "commit" is the application of a single transaction to the DB. A commit log is a record of transactions. It's used to keep track of what's happening, and help with e.g. disaster recovery - generally, all commits are written to the log before being applied, so transactions that were in flight when the server went down can be recovered and re-applied by checking the log.