Skip to content

Observability: pxf_stat_activity and pxf_cancel_backend - #61

Merged
ostinru merged 7 commits into
MDB_STABLEfrom
pxf_stat_activity_legacy
Aug 31, 2026
Merged

ostinru merged 7 commits into
MDB_STABLEfrom
pxf_stat_activity_legacy

Conversation

@ostinru

@ostinru ostinru commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Add pxf_stat_activity

Add pxf_stat_activity to help DBAs find out what happening inside PXF server.

postgres=# select * from pxf_stat_activity ;
-[ RECORD 1 ]-+---------------------------------------------------------
segment_id    | 1
session_id    | 57997
command_count | 8
xid           | 57997-0000000008
operation     | READ_BRIDGE
usename       | gpadmin
server        | ostinru-test
profile       | s3:parquet
schema_name   | public
table_name    | test_blob_read
data_source   | ostinru-test/topics/cuscom.email.created.v1/2026-05-29/*
query_start   | 2026-06-23 16:16:48.318+03
pxf_host      | example.com

Add pxf_cancel_backend and pxf_interrupt_backend

Add pxf_cancel_backend and pxf_interrupt_backend to allow killing running queries.

Update tests

  1. Update pxfExtension tests - use testconatiners.
  2. Explicitly define extension version. So, there is no need in sql file manipulations.

@ostinru
ostinru force-pushed the pxf_stat_activity_legacy branch from fee7fa1 to 96fb9e1 Compare July 11, 2026 18:35
@ostinru
ostinru force-pushed the pxf_stat_activity_legacy branch from c72e9d5 to e7eed22 Compare August 25, 2026 10:32
@ostinru
ostinru marked this pull request as ready for review August 29, 2026 17:16
@ostinru
ostinru merged commit f72a20a into MDB_STABLE Aug 31, 2026
18 of 25 checks passed
@ostinru
ostinru deleted the pxf_stat_activity_legacy branch August 31, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants