Skip to content
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

Triage Aurora utility statement I/O stats issue #136

Merged
merged 4 commits into from
Jan 4, 2021

Conversation

msakrejda
Copy link
Contributor

@msakrejda msakrejda commented Dec 30, 2020

These are bogus right now due to Aurora bugs, so zero them out to avoid distorting our graphs.

Strictly speaking, I think we've only seen blk_read_time and blk_write_time being off, but it's probably prudent to ignore all of them (we've reviewed the other stats and feel it's better to only ignore timing, since that may be handled as an Aurora extension whereas other stats are likely straight from Postgres). Also, since these are not nullable, I'm instead zeroing them out. I think this is better than the impossibly huge values we're seeing now, but let me know if you think we should approach this differently.

This also fixes a bug where un-EXPLAIN-able query samples were dropped
entirely when using log-based EXPLAIN.
These are bogus right now due to Aurora bugs, so zero them out to
avoid distorting our graphs.
@msakrejda msakrejda requested a review from lfittl December 30, 2020 00:21
@msakrejda msakrejda merged commit 2e935fa into master Jan 4, 2021
@msakrejda msakrejda deleted the triage-aurora-utility-statement-i/o-stats-issue branch January 4, 2021 18:22
lfittl added a commit that referenced this pull request Jun 28, 2022
Relevant changes that apply to the collector:

- Fixes memory leak in pg_query_fingerprint error handling [#141](pganalyze/libpg_query#141)
- Add support for parsing more operators that include a `?` character (special cased to support old pg_stat_statements query texts)
  - ltree extension [#136](pganalyze/libpg_query#136)
  - promscale extension [#133](pganalyze/libpg_query#133)
lfittl added a commit that referenced this pull request Jun 29, 2022
Relevant changes that apply to the collector:

- Fixes memory leak in pg_query_fingerprint error handling [#141](pganalyze/libpg_query#141)
- Add support for parsing more operators that include a `?` character (special cased to support old pg_stat_statements query texts)
  - ltree extension [#136](pganalyze/libpg_query#136)
  - promscale extension [#133](pganalyze/libpg_query#133)
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