当前位置:网站首页>Gbase 8C backup control function (III)
Gbase 8C backup control function (III)
2022-07-28 01:55:00 【Dazhuang twelve】
pg_xlogfile_name(location text)
describe : Convert the location string of the transaction log to a file name .
return type :text
remarks :pg_xlogfile_name Extract transaction log file names only . If the given transaction log location happens to be at the junction of the transaction log file , Both functions return the name of the previous transaction log file . This is very beneficial for managing transaction log archiving , Because the previous file is the last file that needs to be archived .
pg_xlogfile_name_offset(location text)
describe : Converts the location string of the transaction log to the file name and returns the byte offset in the file .
return type :text,integer
remarks : have access to pg_xlogfile_name_offset Extract the corresponding transaction log file name and byte offset from the return result of the above function . for example :
gbase=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
NOTICE: WAL archiving is not enabled; you must ensure that all required WAL segments are copied through other means to complete the backup
file_name | file_offset
--------------------------+-------------
000000010000000000000020 | 3616
(1 row)
pg_xlog_location_diff(location text, location text)
describe : Calculate the difference in bytes between the two transaction log locations .
return type :numeric
pg_cbm_tracked_location()
describe : Used for query cbm Resolved to lsn Location .
return type :text
pg_cbm_get_merged_file(startLSNArg text, endLSNArg text)
describe : Used to specify lsn Within the scope of cbm Merge the files into one cbm file , And return the merged cbm file name .
return type :text
remarks : You must be a system administrator or operation and maintenance administrator to obtain cbm Merge files .
边栏推荐
猜你喜欢
随机推荐
Custom type: structure, enumeration, union
抓包精灵NetCapture APP抓包教程《齐全》
Gbase 8C transaction ID and snapshot
GBase 8c 数据库对象尺寸函数(一)
26.抽象化和模板思想
【面试:并发篇28:volatile】有序性
喜欢听的歌曲
Zhi Huijun, Huawei's "genius youth", has made a new work, building a "customized" smart keyboard from scratch
Redis 5 种基本数据结构
GBase 8c 备份控制函数(二)
leetcode: 515. 在每个树行中找最大值
If you are still using WiFi, you will be out: li-fi is better!!!
Niuke net question brushing training (III)
Recursion related exercises
Fiddler 手机抓包代理设置(针对华为荣耀60S)
Content bypass sharing
LeetCode高频题128. 最长连续序列,经常被互联网大厂面试考到
写给去不图床用户的一封信
[style set 1] tab
Flink's real-time data analysis practice in iFLYTEK AI marketing business









