pg_stat_partition_operations
The pg_stat_partition_operations view shows details about the last operation performed on a partitioned table.
| Column | Type | Description |
|---|---|---|
classname |
text |
The name of the system table in the |
objname |
name |
The name of the object |
objid |
oid |
The OID of the object |
schemaname |
name |
The name of the schema where the object resides |
usestatus |
text |
The status of the role that performed the last operation on the object:
|
usename |
name |
The name of the role that performed the operation on this object |
actionname |
name |
The action that was taken on the object |
subtype |
text |
The type of object operated on or the subclass of operation performed |
statime |
timestamptz |
The timestamp of the operation. This is the same timestamp that is written to the Greengage DB server log files in case you need to look up more detailed information about the operation in the logs |
partitionlevel |
smallint |
The level of this partition in the hierarchy |
parenttablename |
name |
The relation name of the parent table one level up from this partition |
parentschemaname |
name |
The name of the schema where the parent table resides |
parent_relid |
oid |
The OID of the parent table one level up from this partition |