This is an automated email from the ASF dual-hosted git repository.

chenjinbao1989 pushed a change to branch cbdb-postgres-merge
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


    from 2a8a401aed0 PG16: add more CI workflows from main (#1613)
     new 32c515ed94a feat: add pg_stat_resqueues view for resource queue 
statistics
     new 9c52e158039 feat: collect QE relation stats on QD to enable 
auto-ANALYZE for distributed tables
     new ec26821b683 fix: ensure dropped database pgstat entry is cleaned up 
and use gp_stat_force_next_flush in test

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/backend/catalog/system_views.sql               |  19 +
 src/backend/cdb/dispatcher/cdbdisp_query.c         |   6 +
 src/backend/commands/dbcommands.c                  |   5 +
 src/backend/executor/execUtils.c                   |  12 +
 src/backend/postmaster/autovacuum.c                |   7 +-
 src/backend/tcop/postgres.c                        |   9 +
 src/backend/utils/activity/Makefile                |   4 +
 src/backend/utils/activity/pgstat.c                | 153 ++++++++
 src/backend/utils/activity/pgstat_relation.c       | 117 +++++++
 src/backend/utils/activity/pgstat_resqueue.c       | 388 +++++++++++++++++++++
 src/backend/utils/activity/pgstat_xact.c           |  10 +
 src/backend/utils/adt/pgstatfuncs.c                |  78 +++++
 src/backend/utils/resscheduler/resqueue.c          |   9 +-
 src/backend/utils/resscheduler/resscheduler.c      |  64 +++-
 src/include/catalog/pg_proc.dat                    |   8 +
 src/include/pgstat.h                               |  95 ++++-
 src/include/utils/pgstat_internal.h                |  32 ++
 src/test/isolation2/expected/qe_qd_pgstat.out      | 278 +++++++++++++++
 .../expected/resource_queue_deadlock.out           |   8 +-
 .../expected/resource_queue_multi_portal.out       |   6 +-
 src/test/isolation2/expected/resqueue_stats.out    |  92 +++++
 src/test/isolation2/init_file_isolation2           |   4 +
 .../isolation2/input/autovacuum-analyze.source     |  14 +-
 .../isolation2/output/autovacuum-analyze.source    |  29 +-
 src/test/isolation2/sql/qe_qd_pgstat.sql           | 136 ++++++++
 .../isolation2/sql/resource_queue_deadlock.sql     |   2 +
 src/test/isolation2/sql/resqueue_stats.sql         |  72 ++++
 27 files changed, 1614 insertions(+), 43 deletions(-)
 create mode 100644 src/backend/utils/activity/pgstat_resqueue.c
 create mode 100644 src/test/isolation2/expected/qe_qd_pgstat.out
 create mode 100644 src/test/isolation2/expected/resqueue_stats.out
 create mode 100644 src/test/isolation2/sql/qe_qd_pgstat.sql
 create mode 100644 src/test/isolation2/sql/resqueue_stats.sql


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to