当前位置:网站首页>GBase 8c 备份控制函数(四)
GBase 8c 备份控制函数(四)
2022-07-27 23:55:00 【大壮十二】
pg_cbm_get_changed_block(startLSNArg text, endLSNArg text)
描述:用于将指定lsn范围之内的cbm文件合并成一个表,并返回表的各行记录。
返回值类型:records
备注:pg_cbm_get_changed_block返回的表字段包含:合并起始的lsn、合并截止的lsn、表空间oid、库oid、表的relfilenode、表的fork number、表是否被删除、表是否被创建、表是否被截断、表被截断后的页面数、有多少页被修改以及被修改的页号的列表。
pg_cbm_recycle_file(targetLSNArg text)
描述:删除不再使用的cbm文件,并返回删除后的第一条lsn。
返回值类型:text
pg_cbm_force_track(targetLSNArg text,timeOut int)
描述:强制执行一次cbm追踪到指定的xlog位置,并返回实际追踪结束点的xlog位置。
返回值类型:text
pg_enable_delay_ddl_recycle()
描述:开启延迟DDL功能,并返回开启点的xlog位置。需要管理员角色或运维管理员角色打开operate_mode。
返回值类型:text
pg_disable_delay_ddl_recycle(barrierLSNArg text, isForce bool)
描述:关闭延迟DDL功能,并返回本次延迟DDL生效的xlog范围。需要管理员角色或运维管理员角色打开operate_mode。
返回值类型:records
pg_enable_delay_xlog_recycle()
描述:开启延迟xlog回收功能,数据库主节点修复使用。
返回值类型:void
pg_disable_delay_xlog_recycle()
描述:关闭延迟xlog回收功能,数据库主节点修复使用。
返回值类型:void
边栏推荐
- LeetCode 2347. 最好的扑克手牌
- VPP之DPDK插件
- My rich second generation friend
- 画刷和画笔
- Storage practices for high-performance computing scenarios, see here
- LeetCode 2351. 第一个出现两次的字母
- 白质脑功能网络图论分析:抑郁症分类和预测的神经标记
- Cap principle of [distributed development]
- Can ordinary equipment access TSN time sensitive network?
- 梳理 SQL 性能优化,收藏经典!
猜你喜欢

了解Shader

Understand shader

Niuke net question brushing training (III)

Lambda表达式和Stream流

What is the opening time of London Silver

26. Abstraction and template ideas

小散量化炒股记|量化系统中数据是源头,教你搭建一款普适的数据源框架
![[add pictures to dice roller app]](/img/36/c5c01946bd8c4ea16ebd3f8f9b92b6.png)
[add pictures to dice roller app]

"Do you" want to be a test / development programmer? We strive to sprout

Lecture 16 of project practice: using the open close principle to realize the commodity price rule engine
随机推荐
LeetCode 2351. 第一个出现两次的字母
马克的故事
2.2 comprehensive application questions - sequence table
Icml2022 | online decision transformer
面试官:你确定Redis是单线程的进程吗?
Learn how Baidu PaddlePaddle easydl realizes automatic animal recognition in aquarium
Briefly understand namenode and datanode
腾讯云HiFlow场景连接器
Storage practices for high-performance computing scenarios, see here
Leetcode 2351. the first letter that appears twice
Dart 代码注释和文档编写规范
Lecture 16 of project practice: using the open close principle to realize the commodity price rule engine
QT setting Icon
内容bypass分享
面试题 01.05. 一次编辑
Redis 5 种基本数据结构
负载均衡SLB
了解Shader
Discussion on PHP using some functions bypass WAF
Zhi Huijun, Huawei's "genius youth", has made a new work, building a "customized" smart keyboard from scratch