-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PG-592 Treat queries with different parent queries as separate entries #403
Merged
Commits on Jun 29, 2023
-
PG-592: Treat queries with different parent queries as separate entries
1. Previously pg_stat_monitor had a `topquery` and `topqueryid` field, but it was only a sample: it showed one of the top queries executing the specific query. With this change, the same entry executed by two different functions will result in two entries in the statistics table. 2. This also fixes a bug where the content of these field disappeared for every second query executed: previously the update function changed topqueryid to `0` if it was non zero, and changed it to the proper id when it was 0. This resulted in an alternating behavior, where for every second executed query the top query disappeared. After these changes, the top query is always shown. 3. The previous implementation also leaked dsa memory used to store the parent queries. This is now also fixed.
Configuration menu - View commit details
-
Copy full SHA for 981f707 - Browse repository at this point
Copy the full SHA 981f707View commit details
Commits on Jul 4, 2023
-
PG-502: Fixing review comments
* dsa_free changed to assert as it can never happen * restructured the ifs to be cleaner Note: kept the two-level ifs, as that makes more sense with the assert Note: didn't convert nested_level checks to macro, as it is used differently at different parts of the code
Configuration menu - View commit details
-
Copy full SHA for 8caa3ea - Browse repository at this point
Copy the full SHA 8caa3eaView commit details
Commits on Jul 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3c8549e - Browse repository at this point
Copy the full SHA 3c8549eView commit details
Commits on Jul 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6fdb761 - Browse repository at this point
Copy the full SHA 6fdb761View commit details
Commits on Jul 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6217019 - Browse repository at this point
Copy the full SHA 6217019View commit details -
Configuration menu - View commit details
-
Copy full SHA for 381137b - Browse repository at this point
Copy the full SHA 381137bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ada6352 - Browse repository at this point
Copy the full SHA ada6352View commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 605a808 - Browse repository at this point
Copy the full SHA 605a808View commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for bf208ea - Browse repository at this point
Copy the full SHA bf208eaView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.