根据oracle database concept 里面的原话:
The server process modifies data in the system global area. The DBWnprocess writes modified blocks permanently to diskwhen doing so is efficient. Because the transaction is committed, the LGWR process immediately records the transaction in the redo log file.
可以知道,应该是DBWn首先把数据写到数据文件里,然后LGWR再把记录写入到日记文件当中。
oracle database instance 包括 内存架构(SGA、PGA)和对应的进程(写进程DBWn、日记进程LGWR、检查点进程CKPI),
一个数据库可以包含多个数据库实例,也可以在不同节点上(如应用容灾RAC),数据库与数据库实例是一对多的关系。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/28728816/viewspace-756882/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/28728816/viewspace-756882/
本文介绍了Oracle数据库实例的组成,包括其内存架构(SGA、PGA)及关键进程(DBWn、LGWR、CKPT)。解析了数据修改过程中DBWn如何将数据持久化到磁盘,以及LGWR如何记录事务到重做日志文件。

1077

被折叠的 条评论
为什么被折叠?



