Kai Wagner
1566ad2073
PG-416: added missing PostgreSQL 14 package workflow
...
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-19 11:26:05 +02:00
Anastasia Alexandrova
9da7c8f583
PG-411 Updated the list of primary keys ( #225 )
...
modified: docs/USER_GUIDE.md
2022-05-10 23:07:23 +05:00
Kai Wagner
1557ff3a9e
PG-385: remove old coverage_test.yml file ( #224 )
...
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-10 23:07:10 +05:00
Kai Wagner
a2075d9268
PG-413: added missing repository for PG v14 ( #223 )
...
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-10 23:06:48 +05:00
Ibrar Ahmed
7c54289c54
Merge pull request #215 from capri1989/main
...
PG-365: change version in META.json file to dev
2022-05-07 01:09:24 +05:00
Kai Wagner
b3a2b8daf0
Merge pull request #220 from Naeem-Akhter/PG-383
...
PG-383: Fix coverall.io badge on main branch in PGSM repo.
2022-05-05 15:33:38 +02:00
Kai Wagner
cbfcc34563
Merge pull request #218 from capri1989/readme
...
PG-269: Updated install from source chapter
2022-05-05 08:38:31 +02:00
Naeem Akhter
63d8d29e33
PG-383: Fix coverall.io badge on main branch in PGSM repo.
...
This will make sure that coverall.io stats are reflected as main branch.
2022-05-04 18:51:06 +05:00
Kai Wagner
379525df1c
Merge pull request #217 from nastena1606/PG-407-Doc-Add-404-main
...
PG-407 Added a 404 page to docs
2022-05-04 08:25:25 +02:00
Kai Wagner
652dd3406b
PG-269: Updated install from source chapter
...
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-03 17:18:57 +02:00
Anastasia Alexadrova
513b52df7f
PG-407 Added a 404 page to docs
...
new file: docs/overrides/404.html
modified: mkdocs.yml
2022-05-03 17:07:55 +02:00
Kai Wagner
1e4031a293
PG-365: change version in META.json file to dev
...
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-03 12:08:12 +02:00
Kai Wagner
9178be3542
Merge pull request #213 from capri1989/main
...
PG-405: Replace beta release warning in main branch
2022-05-03 10:53:30 +02:00
Kai Wagner
c5f84053a7
PG-405: Replace beta release warning in main branch
...
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
2022-05-03 09:47:37 +02:00
Kai Wagner
79a46bace3
Merge pull request #209 from Naeem-Akhter/PG-377-PPG-Jobs
...
PG-377: Enable PPG Jobs for PGSM in GH.
2022-04-28 15:29:38 +02:00
Naeem Akhter
80f842fb49
PG-377: Enable PPG Jobs for PGSM in GH.
...
This commit contains following,
1) Regression jobs are enabled against Percona PG distribution for version postgresql 11~14.
2) Regression job is enabled against PGDG PG distribution for version postgresql 14.
3) GH actions names for some of the jobs are changed to clear the clutter in GH repo's action page.
2022-04-27 15:26:38 +05:00
Ibrar Ahmed
fc4d935652
Bump Version 'Dev'.
2022-04-21 19:00:16 +00:00
Lenz Grimmer
9fd4cdaae0
Merge pull request #205 from nastena1606/PG-368-Doc-1.0.0-version
...
Pg 368 doc 1.0.0 version
2022-04-14 08:10:14 +00:00
Lenz Grimmer
593ed88faa
Merge pull request #203 from nastena1606/PG-371-Doc-Release-notes-RC2-update
2022-04-14 08:09:45 +00:00
Anastasia Alexadrova
acc411146d
PG-368 Amended GH action for 1.0.x version
2022-04-14 09:02:03 +03:00
Anastasia Alexadrova
e8586bd096
Added requirements.txt for doc build
2022-04-13 11:47:36 +03:00
Anastasia Alexadrova
f6058c9629
Added requirements.txt for doc build
2022-04-13 11:46:59 +03:00
Anastasia Alexadrova
181840cc19
PG-371 Updated RC release notes with new issues
...
modified: docs/RELEASE_NOTES.md
2022-04-13 11:38:06 +03:00
Ibrar Ahmed
afd2e1dac7
Merge pull request #201 from darkfronza/PG-369_fix_wal_bytes
...
PG-369: Fix wal_bytes values on PG <= 12.
2022-04-12 17:05:43 +05:00
Ibrar Ahmed
75acfbb8d5
Merge pull request #199 from nastena1606/PG-344-Doc-extension-order-for-PG14-RC2
...
PG-344 Described the extensions behavior for collecting data depending on order
2022-04-12 16:40:40 +05:00
Ibrar Ahmed
9b05dac3e6
Merge pull request #198 from nastena1606/PG-359-Doc-pgsm_track-RC2
...
PG-359 Doc - Update pg_stat_monitor_settings view with new options (RC2)
2022-04-12 16:40:05 +05:00
Ibrar Ahmed
7e829cb254
Merge pull request #197 from nastena1606/PG-353-Release-notes-RC2
...
PG-353 Release notes RC2
2022-04-12 16:39:48 +05:00
Diego Fronza
409f384ce8
PG-369: Fix wal_bytes values on PG <= 12.
...
Similar to pg_stat_statements, pg_stat_monitor tracks wal data metrics
since PostgreSQL 13, the problem was that for PostgreSQL versions 11 and
12 we left the WalUsage variable declared in the stack unitialized,
thus leading to garbage values.
Fixed the problem by ignoring the WalUsage variable value for PG <= 12.
2022-04-11 14:20:43 -03:00
Ibrar Ahmed
1ed35c648a
Merge pull request #200 from nastena1606/PG-364-Align-doc-structure-with-main
...
PG-364 Aligned docs structure with main
2022-04-08 11:11:12 -07:00
Anastasia Alexadrova
c5dd547619
PG-364 Aligned docs structure with main
...
Changed the GH action to buid a separate doc version, 1.0.x stable, from REL1_0_0 branch
2022-04-06 15:05:20 +03:00
Anastasia Alexadrova
09010f069f
PG-353 Relelase notes RC2
...
modified: docs/RELEASE_NOTES.md
2022-04-01 17:48:46 +03:00
Anastasia Alexadrova
5e2dac0608
PG-359 Doc - Update pg_stat_monitor_settings view with new options
...
modified: docs/USER_GUIDE.md
2022-03-31 09:30:39 +03:00
Anastasia Alexadrova
65aaca6313
PG-344 Described the extensions behavior for collecting data depending on order
...
modified: README.md
2022-03-30 21:45:15 +03:00
Ibrar Ahmed
713f6f13f4
Merge pull request #193 from Naeem-Akhter/REL1_0_STABLE_Latest
...
PG-361: Change sequence of regressions.; PG-343: Enable TAP testing.; PG-292: Automate the QA.; PG-338: Calls count.; PG-331: Default values in PMM.
2022-03-22 22:56:55 +05:00
Naeem Akhter
4bdb11aadc
Change the sequence regressions, moved installcheck-world to last to make sure that we already have ran the pg_stat_monitor regression and server regression don't imapct it.
2022-03-22 18:42:43 +05:00
Naeem Akhter
3979a205c5
Fixed expected output file for histogram testcase.
2022-03-22 01:55:58 +05:00
Naeem Akhter
96eed05890
PG-343: Enable TAP testing; PG-292: Automate the QA; PG-338: Calls count.; PG-331: Default values in PMM.
...
This commit brings following changes to this branch:
1) Port changes/additions TAP testing from main branch to this branch, under PG-292.
2) Changes to test cases due to GUCs change, under PG-331.
3) Call counts verfications, under PG-338.
4) Changes to github workflows to accomodate automation for TAP testing, under PG-343.
2022-03-22 01:36:47 +05:00
Ibrar Ahmed
34e14104d7
PG-338: Calls count is not correct in PG-13.; PG-331: Default values for better presentation in PMM ( #191 )
...
* PG-338: Calls count is not correct in PG-13.
* PG-331: Defaults values for better presentation in PMM.
* Update pg_stat_monitor.c
Co-authored-by: Lenz Grimmer <lenz.grimmer@percona.com>
Co-authored-by: Hamid Akhtar <hamid.akhtar@gmail.com>
Co-authored-by: Ibrar Ahmad <ibrar.ahmad@gmail.com>
2022-03-21 17:53:59 +05:00
Hamid Akhtar
9abef85ede
Merge pull request #190 from ibrarahmad/REL1_0_STABLE
...
PG-338: Calls count is not correct in PG-13.
2022-03-15 18:20:17 +05:00
Ibrar Ahmed
153f8d2e87
PG-338: Calls count is not correct in PG-13.
...
cherry-pick patch (b6838049b6
) by Diego
and I did some refatoring.
2022-03-14 18:14:11 +00:00
Hamid Akhtar
961ddd9e11
PG-356: Bump version to 1.0.0-rc.2.
2022-03-09 19:30:09 +05:00
Hamid Akhtar
23f2ef13b8
Merge pull request #189 from ibrarahmad/REL1_0_STABLE
...
PG-355: Collect accumulative value of sys_time and user_time.
2022-03-09 18:55:18 +05:00
Ibrar Ahmed
7debd7a962
PG-355: Collect accumulative value of sys_time and user_time.
...
Collect accumulative value of sys_time and user_time, because
separate value for each same query will override the previous value.
2022-03-03 17:25:07 +00:00
Ibrar Ahmed
34a4676015
Merge pull request #188 from EngineeredVirus/REL1_0_STABLE
...
Cherry picking missing features/commits and resolving compilation issues
2022-03-02 16:33:00 +05:00
Hamid Akhtar
c52208e0c9
Updating expected output for histogram to accomodate bigger bar column
2022-03-02 16:05:51 +05:00
Diego Fronza
bba6494eff
Updating expected output for counters.
2022-03-02 16:04:30 +05:00
Diego Fronza
5db7056840
Resolving compilation failures after cherry-picking of require commits
...
from the main branch.
2022-03-01 19:25:29 +05:00
Diego Fronza
d839cc4255
PG-350: Fix bucket time overflow.
...
To check if a bucket has expired, a comparison of the time elapsed
since last bucket change was being done in get_next_wbucket() function
using the following line:
while ((current_usec - current_bucket_usec) > (PGSM_BUCKET_TIME
* 1000 * 1000))
The problem is that the expression compares a uint64 (current_usec)
with a int32 (PGSM_BUCKET_TIME), if a given user configures a value for
pgsm_bucket_time GUC (let's call it T) that could overflow int32 range
in the expression T*1000*1000 > 2**31-1, then the result would be a
negative integer cast to (uint64), resulting in a large uint64 value that
would evaluate the expression as false, thus never updating bucket
number.
When querying pg_stat_monitor view, for every entry it's verified if
the entry has not yet expired by calling IsBucketValid(bucket_number).
Using the entry's bucket number the function calculates if the time
since the bucket started, using shared global variable
pgss->bucket_start_time[bucket_id], is still valid.
Since pgss->bucket_start_time is not properly initialized in
get_next_wbucket(), the function IsBucketValid() will always
return false, thus not listing any entries in the view.
2022-03-01 19:23:25 +05:00
Diego Fronza
5528bef82d
PG-326: Validate histogram_min and histogram_max ranges.
...
Added hook for checking histogram min and max values, in order to ensure
that histogram_min is always less than histogram_max.
2022-03-01 13:13:41 +05:00
Diego Fronza
a716273f19
PG-338: Fix counters regression test.
...
After fixing the problem with utility statements, this whole block:
do $$
declare
n integer:= 1;
begin
loop
PERFORM a,b,c,d FROM t1, t2, t3, t4
WHERE t1.a = t2.b AND t3.c = t4.d ORDER BY a;
exit when n = 1000;
n := n + 1;
end loop;
end $$;
Is only processed once, as those are nested statements, in order to
match the 1000 statements the GUC pg_stat_monitor.track must be set to
'all' and then back to the default of 'top' when done testing it.
2022-03-01 13:13:34 +05:00