pg_stat_last_operation

pg_stat_last_operation表包含关于数据库对象(表、视图等)的元数据跟踪信息。

表 1. pg_catalog.pg_stat_last_operation

名称 类型 引用 描述
classid oid pg_class.oid 包含对象的系统目录的OID。
objid oid any OID column 对象在其系统目录内的对象OID。
staactionname name 在一个对象上采取的动作。
stasysid oid pg_authid.oid pg_authid.oid的外键。
stausename name 在该对象上执行操作的角色的名称。
stasubtype text 被执行操作的对象的类型或者被执行操作的子类。
statime timestamp with timezone 操作的时间戳。这和写到Greenplum数据库服务器日志文件的时间戳是相同的,以便在日志中查询更多关于操作细节的信息。

上级主题: 系统目录定义

当前内容版权归GreenPlum和翻译组所有,若有侵权请联系删除下架 修订时间: 2024-09-15 21:48:05

results matching ""

    No results matching ""