根据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博客 ” ,链接:https://blog.itpub.net/28728816/viewspace-756882/ ,如需转载,请注明出处,否则将追究法律责任。