当前位置:网站首页>Gbase 8C backup control function (II)
Gbase 8C backup control function (II)
2022-07-28 01:55:00 【Dazhuang twelve】
pg_start_backup(label text [, fast boolean ])
describe : Start online backup .( Administrator role or replicated role is required )
return type :text
remarks :pg_start_backup Accept a user-defined backup label ( Usually, this is the name of the location where the backup dump file is stored ). This function is directed to GBase 8c Write a backup label file to the data directory of , Then return the starting position of the backed up transaction log in the form of text .
gbase=# SELECT pg_start_backup('label_goes_here');
pg_start_backup
-----------------
0/20000028
(1 row)
pg_stop_backup()
describe : Complete the online backup .( Administrator role or replicated role is required )
return type :text
remarks :pg_stop_backup Delete pg_start_backup Created label file , And create a backup history file in the transaction log archive . This historical file contains giving pg_start_backup The label of 、 The starting and ending positions of the backup transaction log 、 Start and end time of backup . The return value is the end position of the backup transaction log . After calculating the stop position , The insertion point of the current transaction log will automatically advance to the next transaction log file , such , The finished transaction log file can be archived immediately to complete the backup .
pg_switch_xlog()
describe : Switch to a new transaction log file .( Administrator role is required )
return type :text
remarks :pg_switch_xlog Move to the next transaction log file , To allow the current log file to be archived ( Assume continuous archiving ). The return value is the end position of the transaction log of the just completed transaction log file +1. If there is no active transaction log since the last transaction log switch , be pg_switch_xlog Do nothing , Directly return to the starting position of the current transaction log file .
边栏推荐
- IIC读写EEFPROM
- 在生产型企业中,MES系统有哪些重要应用
- leetcode: 515. 在每个树行中找最大值
- FreeRTOS内核小结
- If you are still using WiFi, you will be out: li-fi is better!!!
- What is method and methodology: understand the underlying logic of self-improvement
- Enterprise operation and maintenance practice - using aliyun container image service to pull and build images of overseas GCR and quay warehouses
- 白质脑功能网络图论分析:抑郁症分类和预测的神经标记
- Mark's story
- Brushes and brushes
猜你喜欢

If you are still using WiFi, you will be out: li-fi is better!!!
![[add pictures to dice roller app]](/img/36/c5c01946bd8c4ea16ebd3f8f9b92b6.png)
[add pictures to dice roller app]

N32L43x Flash读\写\擦除操作总结

白质脑功能网络图论分析:抑郁症分类和预测的神经标记

Graph theory analysis of white matter brain function network: neural markers for classification and prediction of depression

物企大变局时代,SRM供应商采购系统助力企业打造物业采购数字化标杆

Process data and change the name of data

Understand shader

Load balancing SLB

"Do you" want to be a test / development programmer? We strive to sprout
随机推荐
LeetCode第 83 场双周赛
GBase 8c 注释信息函数
Game 302 of leetcode
GBase 8c 事务ID和快照
Gbase 8C transaction ID and snapshot (III)
在生产型企业中,MES系统有哪些重要应用
leetcode: 515. 在每个树行中找最大值
机器学习如何做到疫情可视化——疫情数据分析与预测实战
数据安全与隐私计算峰会-可证明安全:学习
##ELK日志分析系统搭建##
简单为美-编程思路
Blizzard Diablo 4 ps5 / PS4 beta added to Playstation database
LeetCode 第 302 场周赛
Interview question 01.09. string rotation
一些事情的思考
Flink 在 讯飞 AI 营销业务的实时数据分析实践
[add pictures to dice roller app]
VPP之DPDK插件
ue4 unreal NDisplay插件 简易使用 三折幕 详细...
A happy old age