当前位置:网站首页>GBase 8c 备份控制函数(一)
GBase 8c 备份控制函数(一)
2022-07-27 23:56:00 【大壮十二】
备份控制函数可帮助进行在线备份。
pg_create_restore_point(name text)
描述:为执行恢复创建一个命名点。(需要管理员角色)
返回值类型:text
备注:pg_create_restore_point创建了一个可以用作恢复目的、有命名的事务日志记录,并返回相应的事务日志位置。在恢复过程中,recovery_target_name可以通过这个名称定位对应的日志恢复点,并从此处开始执行恢复操作。避免使用相同的名称创建多个恢复点,因为恢复操作将在第一个匹配(恢复目标)的名称上停止。
pg_current_xlog_location()
描述:获取当前事务日志的写入位置。
返回值类型:text
备注:pg_current_xlog_location使用与前面那些函数相同的格式显示当前事务日志的写入位置。如果是只读操作,不需要系统管理员权限。
pg_current_xlog_insert_location()
描述:获取当前事务日志的插入位置。
返回值类型:text
备注:pg_current_xlog_insert_location显示当前事务日志的插入位置。插入点是事务日志在某个瞬间的“逻辑终点”,而实际的写入位置则是从服务器内部缓冲区写出时的终点。写入位置是可以从服务器外部检测到的终点,如果要归档部分完成事务日志文件,则该操作即可实现。插入点主要用于服务器调试目的。如果是只读操作,不需要系统管理员权限。
gs_current_xlog_insert_end_location()
描述:获取当前事务日志的插入位置。
返回值类型:text
备注:gs_current_xlog_insert_end_location显示当前事务日志的实际插入位置。
边栏推荐
猜你喜欢

Codeforces summer training weekly (7.14~7.20)

Summary: Prometheus storage

PHP利用某些函数bypass waf探讨

Leetcode: 515. Find the maximum value in each tree row

If you are still using WiFi, you will be out: li-fi is better!!!

【向 Dice Roller 应用添加图片】

Leetcode 2341. How many pairs can an array form

牛客网刷题训练(三)

Flink 在 讯飞 AI 营销业务的实时数据分析实践

同心向前,Google Play 十周年啦!
随机推荐
【分布式开发】之 CAP 原则
Transplant QT system for i.mx6ull development board - cross compile QT code
C language · pointer
Qlib教程——基于源码(二)本地数据保存与加载
Niuke multi School Game 3 A, c+ weight segment tree
面试题 01.09. 字符串轮转
"Wei Lai Cup" 2022 Niuke summer multi school training camp 3 supplementary problem solution (a, C, J)
js 哪些情况不能用 JSON.parse 、JSON.stringify深拷贝及一个更好的深拷贝方法
现货白银如何计算盈亏
8000 word explanation of OBSA principle and application practice
My rich second generation friend
腾讯云HiFlow场景连接器
Software test interview question: what are the performance test indicators?
[style set 1] tab
Software testing interview question: where do your performance testing requirements come from?
HRD 1. 一个简单而靠谱的HRD的检测方法
Summary: Prometheus storage
Dart 代码注释和文档编写规范
写给去不图床用户的一封信
Oracle Rac 集群文件目录迁移