传统数据库多采用了日志来保证书数据库的可靠性,类似Oracle的重做日志(redo log)和撤销日志(undo log),Mysql中的bin-log。写数据时频繁的移动磁头进行随机写会带来磁盘性能的下降,进而影响事务处理效率。
基于32个网页-相关网页
... 默认情况下,对应的物理文件位于数据库的data目录下的ib_logfile1 1&ib_logfile2 回滚日志(undo log) 二进制日志(binlog): ...
基于10个网页-相关网页
这一点是必须要知道的,因为这可以很好地解释再大的事务提交(commit)的时间也是很短暂的。 回滚日志(undo log) 作用 保存了事务发生之前的数据的一个版本,可以用于回滚,同时可以提供多版本并发控制下的读(MVCC),也即非锁定读。
基于1个网页-相关网页
As may be clear later, the database doesn't actually have to write the do, Undo, and state records to its log just yet, although it might.
稍后就会清楚,实际上数据库也不需要马上把do、Undo、和状态记录写入它的日志,尽管可以这么做。
Database-2 writes Undo and do records and state to its recovery log, again just as Database-1 did.
Database - 2把Undo和do记录及状态写入它的恢复日志,再次像Database - 1做的一样。
In the event of a system failure, transaction log recovery can apply or undo only those transactions not written to disk at the time of the failure.
在系统失败时,事务日志可以应用或取消失败时没有写入磁盘的那些事务。
应用推荐