Skip to content

Conversation

olirice
Copy link
Contributor

@olirice olirice commented Sep 18, 2024

Updates pg_stat_monitor from 1.1.1 to 2.1.0

This is necessary for pg16 support

The vast majority of the massive diff is whitespace due to much of the data being in table and the column size grew. I'll figure out how to address this properly in a later PR.

The diff is large (massive) because tables were adjusted for whitespace. Including a diff -w shows the difference as being the introduction of new columns

- bucket | bucket_start_time | userid | datname | client_ip | queryid | toplevel | top_queryid | query | comments | planid | query_plan | top_query | application_name | relations | cmd_type | cmd_type_text | elevel | sqlcode | message | calls | total_exec_time | min_exec_time | max_exec_time | mean_exec_time | stddev_exec_time | rows_retrieved | plans_calls | total_plan_time | min_plan_time | max_plan_time | mean_plan_time | stddev_plan_time | shared_blks_hit | shared_blks_read | shared_blks_dirtied | shared_blks_written | local_blks_hit | local_blks_read | local_blks_dirtied | local_blks_written | temp_blks_read | temp_blks_written | blk_read_time | blk_write_time | resp_calls | cpu_user_time | cpu_sys_time | wal_records | wal_fpi | wal_bytes | state_code | state 
---------+-------------------+--------+---------+-----------+---------+----------+-------------+-------+----------+--------+------------+-----------+------------------+-----------+----------+---------------+--------+---------+---------+-------+-----------------+---------------+---------------+----------------+------------------+----------------+-------------+-----------------+---------------+---------------+----------------+------------------+-----------------+------------------+---------------------+---------------------+----------------+-----------------+--------------------+--------------------+----------------+-------------------+---------------+----------------+------------+---------------+--------------+-------------+---------+-----------+------------+-------
+ bucket | bucket_start_time | userid | username | dbid | datname | client_ip | pgsm_query_id | queryid | toplevel | top_queryid | query | comments | planid | query_plan | top_query | application_name | relations | cmd_type | cmd_type_text | elevel | sqlcode | message | calls | total_exec_time | min_exec_time | max_exec_time | mean_exec_time | stddev_exec_time | rows | shared_blks_hit | shared_blks_read | shared_blks_dirtied | shared_blks_written | local_blks_hit | local_blks_read | local_blks_dirtied | local_blks_written | temp_blks_read | temp_blks_written | blk_read_time | blk_write_time | temp_blk_read_time | temp_blk_write_time | resp_calls | cpu_user_time | cpu_sys_time | wal_records | wal_fpi | wal_bytes | bucket_done | plans | total_plan_time | min_plan_time | max_plan_time | mean_plan_time | stddev_plan_time | jit_functions | jit_generation_time | jit_inlining_count | jit_inlining_time | jit_optimization_count | jit_optimization_time | jit_emission_count | jit_emission_time 
+--------+-------------------

@olirice olirice requested a review from a team as a code owner September 18, 2024 19:29
@olirice olirice merged commit c00fd90 into develop Sep 19, 2024
8 checks passed
@olirice olirice deleted the or/ext-pg_stat_monitor-pg16-compat branch September 19, 2024 16:59
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
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