pg_control_checkpoint()

一个公开与当前检查点状态相关的 pg_control 数据子集的函数

pg_control_checkpoint() 是一个系统函数,它公开与当前检查点状态相关的pg_control数据的子集。

pg_control_checkpoint()PostgreSQL 9.6中添加。

用法

pg_control_checkpoint () → record

更改历史记录

示例

postgres=# SELECT * FROM pg_control_checkpoint();
-[ RECORD 1 ]--------+-------------------------
checkpoint_lsn       | 0/3475BE8
redo_lsn             | 0/2BF1DE8
redo_wal_file        | 000000010000000000000002
timeline_id          | 1
prev_timeline_id     | 1
full_page_writes     | t
next_xid             | 0:515
next_oid             | 24576
next_multixact_id    | 1
next_multi_offset    | 0
oldest_xid           | 485
oldest_xid_dbid      | 1
oldest_active_xid    | 515
oldest_multi_xid     | 1
oldest_multi_dbid    | 1
oldest_commit_ts_xid | 0
newest_commit_ts_xid | 0
checkpoint_time      | 2019-07-17 15:22:20+01

分类

检查点PostgreSQL 内部系统函数

另请参阅

pg_controldatapg_control_system()pg_control_init()pg_control_recovery()

反馈

提交任何关于"pg_control_checkpoint()"的评论、建议或更正 这里