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

How EXchange stores data and transaction logs

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Yes, the data is written to the transaction log first and then to the database.

Data is retained in RAM for a period of time (perhaps only 5 seconds or even 60 seconds or more) before the memory is flushed to the database file. The actual time that data is kept in memory will depend on the available cache memory, the type of operation that occurs in the data, and how busy the server is.

However, the important thing is to make sure that the data is sent to the Exchange server as soon as possible, and it is immediately flushed to the transaction log file.

If the server crashes before writing data to the database file, the database engine (storage process) automatically reads the transaction log file after the server recovers and compares it with the data stored in the appropriate mailbox database. If you restore lost data from the transaction log to the database, assuming that the entire transaction exists, any inconsistencies are resolved; if not, no write operations are performed, which helps ensure the integrity of the mailbox database and prevents damage to the normal database.

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

Servers

Wechat

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

12
Report