当前位置:网站首页>GBASE 8s 数据库的逻辑日志备份
GBASE 8s 数据库的逻辑日志备份
2022-07-29 21:18:00 【八珍豆腐】
逻辑日志备份是将一个或多个逻辑日志文件复制到第二存储媒介的过程。在逻辑日志 文件中记录了检查点、DDL 语句和数据库插入更新等操作。每个服务器的逻辑日志文件的 数目是有限的,服务器以循环的方式利用逻辑日志,并将日志记录连续地写入日志文件中。
当第一个日志文件写满后,服务器开始写入第二个日志文件,以此类推。当所有的日志文件都被用完后,服务器将重新写入第一个日志文件。因此,在服务器重新利用一个日志文件之前,该文件必须被备份。
如图所示:

逻辑日志有两种备份方式,分别是请求式备份和使用连续日志备份。
请求式备份:这种备份方式需要显式启动,它会备份除当前正在使用的逻辑日志文件外所的有日志文件。这种逻辑日志备份方式需要进行频繁的备份。
连续日志备份:这种方式会在一个逻辑日志写满后对其进行自动备份,因此尤其适用于使用不同的磁盘备份数据和日志的情况。
边栏推荐
- 微信小程序 30 自定义模板和获取用户登录凭证
- JS教程之 ElectronJS 自定义标题栏
- 获取七牛云地址文件保存到本地
- C语言操作符详解(1)
- 1. Promise usage in JS, 2. The concept and usage of closures, 3. The difference between the four methods and areas of object creation, 4. How to declare a class
- PointPillars 工程复现
- [HDLBits brush questions] Verilog Language (4) Procedures and More Verilog Features section
- LeetCode 593 Valid Squares [Math] HERODING's Road to LeetCode
- 02-SDRAM:自动刷新
- Fully automated machine learning modeling!The effect hangs the primary alchemist!
猜你喜欢

【Verilog 设计】Verilog 实现偶数、奇数分频和任意小数分频

爽朗的一天

程序员「小镇做题」出身,月薪是父母半年收入 ……

品牌广告投放平台的中台化应用与实践

防火墙——SNAT和DNAT策略的原理及应用、防火墙规则的备份和还原

1. Promise usage in JS, 2. The concept and usage of closures, 3. The difference between the four methods and areas of object creation, 4. How to declare a class

378. The Kth Smallest Element in an Ordered Matrix

Writing Elegant Kotlin Code: Talk About What I Think "Kotlinic"

数字孪生万物可视 | 联接现实世界与数字空间

小程序预览pdf
随机推荐
【CVPR2022】A Unified Query-based Paradigm for Point Cloud Understanding
leetcode-593:有效的正方形
Break the rules!MongoDB introduces SQL?
网络通信编程基础,BIO,NIO
GBASE 8s 通过light scan优化查询性能
无文件落地免杀的初尝试思考(上)
The sword refers to Offer II 097. Number of subsequences
SwiftUI Apple App Store 发布App的初学者完整指南
网安学习-内网渗透2
LeetCode 593 有效的正方形[数学] HERODING的LeetCode之路
"Introduction to nlp + actual combat: Chapter 7: Dataset loading in pytorch and the use of its own datasets"
网站ping端口的操作方法和命令介绍
Verilog 加法器设计
Xshell 7 prompts "To continue using this program, you must apply the latest update or use a new version"
mdnice-test
GBASE 8s 自动删除正在被使用的数据库
三品牌下半年将带来多款新品,东风日产将迎来“产品大潮”
笔记:fgets函数详解
解释器模式
容器网络硬核技术内幕 (小结-中)