当前位置:网站首页>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
边栏推荐
- C # learning notes ----- C # connect to MySQL database
- Software test interview question: how to prepare test data? How to prevent data pollution?
- Interview question 01.09. string rotation
- String
- 企业运维实践-使用Aliyun容器镜像服务对海外gcr、quay仓库镜像进行镜像拉取构建
- Interview question 01.06. string compression
- 面试题 01.09. 字符串轮转
- 一些事情的思考
- Modify the request path using the streaming API of gateway
- Summary of common shortcut keys in idea
猜你喜欢

JUC concurrent programming learning

Docker builds MySQL master-slave locally

likeshop外卖点餐系统【100%开源无加密】

Transplant QT system for i.mx6ull development board - cross compile QT code

Unity shader introduction Essentials - basic texture

My rich second generation friend

Sort out SQL performance optimization and collect classics!

小散量化炒股记|量化系统中数据是源头,教你搭建一款普适的数据源框架

Load balancing SLB

Qlib tutorial - based on source code (II) local data saving and loading
随机推荐
LeetCode 2341. 数组能形成多少数对
How tormenting are weekly and monthly reports? Universal report template recommended collection! (template attached)
C language · pointer
还在用WIFI你就OUT了:LI-FI更牛!!!
How to calculate the profit and loss of spot Silver
Leetcode 2351. the first letter that appears twice
股票问题5连
Unity shader introduction Essentials - basic texture
MPLS 隧道实验
面试题 01.08. 零矩阵
Data warehouse construction - DWS floor
Oracle RAC cluster file directory migration
暴雪《暗黑破坏神 4》PS5 / PS4 测试版添加到 PlayStation 数据库
我的富二代朋友
自定义事件
C语言·指针
面试官:你确定Redis是单线程的进程吗?
Modify the request path using the streaming API of gateway
Qlib tutorial - based on source code (II) local data saving and loading
docker 本地搭建mysql主从