当前位置:网站首页>Introduction to gbase 8s checkpoint
Introduction to gbase 8s checkpoint
2022-04-23 01:19:00 【Eight delicacies tofu】
Gbase 8s To improve transaction performance , Use buffer pool Cache data accessed by transactions , Modified the record in transaction logic , Data is not really in a transaction commit Update to disk when . In order to ensure the data integrity of the database under abnormal conditions 、 accuracy , The database uses Logical log and physical log mechanism . In normal operation mode , In order that the database can recover from exceptions in time , The database needs to be updated regularly buffer pool Synchronize your data to disk , Ensure the physical validity of the data .
The database periodically updates buffer pool The dirty data ( Modified data ) Refresh to disk , Reach disk 、 The point in time of memory data consistency is called checkpoint . When the database recovers from an abnormal failure, it can recover from the latest checkpoint Start recovery at .Checkpoint occurs , You only need to synchronize the modified data in memory to disk , Instead of writing all the information back to disk . meanwhile , The data written back to disk is still in memory , from LRU Of M The queue moves to LRU Of F In line .
When the system triggers Non blocking checkpoints In operation , First, block the processing of transactions , Record system recovery information , Clearing the contents of the logical log buffer , Record checkpoint information ; after , Transaction operations in the system are no longer blocked , Resume operation , The system clears all modified data in memory to disk ; Last , Record the checkpoint information in the system reservation page , This completes a non blocking checkpoint operation .
版权声明
本文为[Eight delicacies tofu]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230117222317.html
边栏推荐
- Here's the point. Have you mastered the most complete Web3 jargon guide?
- What is the legal basis and procedure for Tami dog sharing | state owned equity transfer?
- engine.POST()处理POST请求
- What is October 24th? Why are there no senior programmers in China in their fifties and sixties, while foreigners,,, Yu Nianyu Hui take you to celebrate the 1024 programmer Festival
- Fault analysis | federated storage engine table causes the monitoring thread to be in the opening table state
- Optical cat super account password, reset optical cat to obtain super account password
- Is it difficult for girls to learn software testing?
- DCB "first brother" xianruida, what does it rely on to raise the value curve?
- GPT general timer analysis and configuration process of imx6ull bare metal development
- Innovative practice of short video content understanding and generation technology in meituan
猜你喜欢

Acrel-2000型电力监控系统在兴庆坊新兴广场配电所配电回路用电的实时监控和管理

200. Number of islands

世界读书日:18本豆瓣评分9.0以上的IT书值得收藏

Cloud native Virtualization: building edge computing instances based on kubevirt

gin--hello

engine.POST()处理POST请求

Yyds dry goods counting flag variable rule

Acrel-5000型建筑能耗监测系统在西咸空港花园项目的研究与应用

What is October 24th? Why are there no senior programmers in China in their fifties and sixties, while foreigners,,, Yu Nianyu Hui take you to celebrate the 1024 programmer Festival

【以太网交换安全】--- 交换机流量控制/DHCP Snooping/IP Source Guard
随机推荐
What kind of project is suitable for automated testing?
Acrel-3200远程预付费电能管理系统 在福州万宝产业园的应用
Alibaba cloud container & Service Grid product technology trends (202203)
Gbase 8s 并发控制之粒度锁介绍
Get rid of the "small workshop" of AI production: how to build a cloud native AI platform based on kubernetes
Android development art exploration notes (23), summary of Android advanced interview questions in 2022
In the second half of the smart watch, opportunities and challenges coexist
Innovative practice of short video content understanding and generation technology in meituan
Originally, this is the correct posture for developers to open world book day!
gin -get请求的小示例1-Handle处理GET请求
Good test data management, in the end how to do?
Let's talk about ruby
Earth day collection: Microsoft and Intel invite you to get the green Ambassador badge and give you negative carbon emission!
Software maintenance exercises
C language guessing game and trickery game
From construction to governance, the industry's first white paper on microservice governance technology was officially released (including a free download link)
[interview skills] how to face an interview without a leading group
京東一面:子線程如何獲取父線程 ThreadLocal 的值?我蒙了。。。
Get in the car, the era of intelligent database autonomy has come, and Tencent cloud database x AI has made a new breakthrough
Is 2022 software testing easy to learn? How long will it take? (learning roadmap attached)