Commit Graph

25 Commits (8600594faccc5263c15ec212cf55234780045010)

Author SHA1 Message Date
Ibrar Ahmed bc47a0074b Issue - (#53): Fix a bug where the query response time histogram does show proper counters.
PG-143 : PostgreSQL-13 has a different issue so, special handling for PostgreSQL-13 done.
2020-10-12 22:53:37 +00:00
Ibrar Ahmed ec1ff594b4 Issue - (#54): Planning counters require renaming.
PG-144 : Changing planing counter name to sync with pg_stat_statment.
2020-10-12 22:39:44 +00:00
Ibrar Ahmed f48a64cc0a Issue - (#53): Fix a bug where the query response time histogram does show proper counters.
PG-143 : Total sum of all the response histograms should be equal to total_calls.
2020-10-12 21:49:35 +00:00
Ibrar Ahmed 166ee0a25b Issue - (#51): Postgres process is taking too much CPU.
Jira: PG-141

There is lock conflict, so used LW_EXCLUSIVE instead of LW_SHARED. This
need to be investigated again and check the possibility to use a shared lock.
2020-10-12 19:41:48 +00:00
Ibrar Ahmed b23df84af9 Issue - (#52): Create a function to return the build version.
Jira: PG-142
2020-10-12 17:54:44 +00:00
Ibrar Ahmed 6170d1f77c Issue - (#51): postgres process is taking too much CPU.
Jira: PG-141
2020-10-12 17:45:37 +00:00
Ibrar Ahmed 0e67d5d68d Issue - (#50): Assertion Failure when pg_stat_statment and pg_stat_monitor used together.
Jira: PG-140
2020-10-12 17:44:57 +00:00
Ibrar Ahmed dea16f1878 Issue (#49): Duplicates in pg_stat_monitor.
Jira: PG-139
2020-10-10 22:46:53 +00:00
Ibrar Ahmed d66a079b1b Issue (#47): Default values of setting are not set properly. 2020-09-30 12:49:05 +00:00
Ibrar Ahmed 935d063f13 Issue(30): Code refactoring. 2020-09-14 22:26:19 +00:00
Ibrar Ahmed 8e7256f500 Issue (#42): pgbench still logs data in case of false value of pgsm_enable.
One place left to disable the logging in case of pgsm_enable is false.

PG-124.
2020-08-26 03:03:17 +05:00
Ibrar Ahmed 6700c9686e Issue (#42): Enable/Disable pg_stat_monitor should not require PostgreSQL restart.
PG-124
2020-08-17 15:01:32 +00:00
Ibrar Ahmed a2c87d8398 Issue - (#40): Cannot set pgsm_track value with psql client with alter system.
Removed the track option and added a new option pgsm_enable, which require a restart.

PG-122
2020-08-06 10:43:27 +00:00
Ibrar Ahmed a5ae569e61 Issue - (#35): Fix a compilation error on Centos. 2020-07-22 09:44:30 +00:00
Ibrar Ahmed 355436c4dc Issue - (#34): PostgreSQL Version 13 support added. 2020-06-23 17:24:21 +00:00
Ibrar Ahmed 5536041539 Issue - (#33): Display all the custom configuration parameters used for pg_stat_monitor.
A new view named (pg_stat_monitor_settings) is added to see all the custom
configuration parameters and its default, min, max, and type.
2020-05-25 11:58:22 +00:00
Ibrar Ahmed 30a8e92aa8 Issue - (#31): PostgreSQL Version 13 Support added. 2020-04-24 16:27:30 +00:00
Ibrar Ahmed beca034067 Issue (#30) - Code refactoring. 2020-04-15 09:49:02 +00:00
Ibrar Ahmed fca8cd431a Issue - (#27): PG-106: Support for WaitEvents, similar to pg_stat_activity added. 2020-03-20 05:17:10 +00:00
Ibrar Ahmed 179e99d692 Major refactoring to support multiple new features.
Issue - (#16): PG-112: Change the column name "ip" to "client_ip" for readability purpose.
Issue - (#17): PG-111: Show all the queries from complete and incomplete buckets.
Issue - (#18): PG-108: Log the bucket start time.
Issue - (#19): PG-99: Response time histogram.
Issue - (#20): PG-97: Log CPU time for a query.
Issue - (#21): PG-96: Show objects(tables) involved in the query.
Issue - (#22): PG-93: Retain the bucket, and don't delete the bucket automatically.
Issue - (#23): PG-91: Log queries of all the databases.
Issue - (#24): PG-116: Restrict the query size.
Issue - (#3) : README file update.
2020-02-27 19:27:05 +00:00
Ibrar Ahmed 9f1cf3629d Issue - (#10): The hist_* is not working in CentOS.
Remove some old code, missed previously.
2019-12-03 10:46:32 +00:00
Ibrar Ahmed 344b12a3a6 Issue - (#10): The hist_* is not working in CentOS. 2019-12-03 10:30:59 +00:00
Ibrar Ahmed 40e1df799e Issue - (#6): Build failed for PostgreSQL Version 12. 2019-12-02 19:29:20 +00:00
Ibrar Ahmed 8286fc44b0 Issue - (#4): Missed to update the "total_calls" when executing the same query multiple times.
Forgot to update the "total_calls" column when a query executes
multipletimes, during refactoring.
2019-11-20 12:00:00 +00:00
Ibrar Ahmed 56d8375c38 Issue - (#2): Extended pg_stat_statement to provide new features.
Support for database/user/client based aggregates added to access
these statistics with three new views added. Some new counters added
including min/max/mean's time histograms. We are saving the parameters
of the slow queries, which can be tested later. Did some refactoring
of the code, by renaming the whole extension from pg_stat_statement to
pg_stat_monitor.
2019-11-20 10:30:57 +00:00