In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.