Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

[architecture] understanding of LGWR process trigger mechanism

2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

LGWR trigger condition: logs are always written to disk before data is written

The LGWR process is triggered to write logs from the log buffer to the log file under the following conditions:

(1) user submission (commit)

(2) there are 1 ram 3 log buffers that are not written to disk

(3) every 3 seconds

(4) there are redo log buffers larger than 1m that are not written to disk

The SCN of the data that DBWR needs to write is greater than the SCN recorded by LGWR. DBWR triggers LGWR write, and the log is always written to disk before the data is written to disk. Ensure the SCN number of LGWR, the SCN number of ≥ DBWR.

-end-

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report