pg_stat_monitor/t/expected
Hamid Akhtar de66ef0fce PG-588: Some queries are not being normalised.
This bug uncovered serious issues with how the data was being stored by PSGM.
So it require a complete redesign.

pg_stat_monitor now stores the data locally within the backend process's local
memory. The data is only stored when the query completes. This reduces the
number of lock acquisitions that were previously needed during various stages
of the execution. Also, this avoids data loss in case the current bucket
changes during execution. Also, the unavailability of jumble state during later
stages of executions was causing pg_stat_monitor to save non-normalized query.
This was a major problem as well.

pg_stat_monitor specific memory context is implemented. It is used for saving
data locally. The context memory callback helps us clear the locally saved data
so that we do not store it multiple times in the shared hash.

As part of this major rewrite, pgss reference in function and variable names
is changed to pgsm. Memory footprint for the entries is reduced, data types
are corrected where needed, and we've removed unused variables, functions and
macros.

This patch was mutually created by:
Co-authored-by: Hamid Akhtar <hamid.akhtar@percona.com>
Co-authored-by: Muhammad Usama <muhammad.usama@percona.com>
2023-02-22 19:31:52 +05:00
..
001_settings_default.out PG-588: Some queries are not being normalised. 2023-02-22 19:31:52 +05:00
001_settings_default.out.12 PG-588: Some queries are not being normalised. 2023-02-22 19:31:52 +05:00
003_settings_pgms_extract_comments.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
004_settings_pgsm_track.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
005_settings_pgsm_enable_query_plan.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
006_settings_pgsm_overflow_target.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
007_settings_pgsm_query_shared_buffer.out PG-584: Verify and 007_settings_pgsm_query_shared_buffer.pl TAP test (#355) 2023-01-18 17:01:47 +05:00
007_settings_pgsm_query_shared_buffer.out.15 PG-584: Verify and 007_settings_pgsm_query_shared_buffer.pl TAP test (#355) 2023-01-18 17:01:47 +05:00
008_settings_pgsm_histogram_buckets.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
009_settings_pgsm_histogram_max.out PG-562: Histogram Ranges/Buckets are not correct. 2023-01-23 12:37:51 +05:00
010_settings_pgsm_histogram_min.out PG-562: Histogram Ranges/Buckets are not correct. 2023-01-23 12:37:51 +05:00
011_settings_pgsm_bucket_time.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
012_settings_pgsm_max_buckets.out PG-588: Some queries are not being normalised. 2023-02-22 19:31:52 +05:00
013_settings_pgsm_normalized_query.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
014_settings_pgsm_track_utility.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
015_settings_pgsm_query_max_len.out PG-563: Update TAP testcases and output due to changes by DEV. 2022-12-27 18:14:32 +05:00
016_settings_pgsm_max.out PG-588: Some queries are not being normalised. 2023-02-22 19:31:52 +05:00