-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#22147] YSQL, QueryDiagnostics: Pgss support for query diagnostics
Summary: - This diff builds over 47f40bb and adds the pg_stat_statements.csv file within the bundle output. - All of the pgss data except the normalised query string is extracted from the QueryDesc. - For the normalised query, query_offset and query_len is stored within the query_diagnostics shared hash_table, which are later utilized to extract normalised query from pgss_query_texts.stat - PGSS data accumulates during the bundle lifetime, flushing to the filesystem only at bundle completion. - note that the `query latency histogram` is part of [[ #22324 | #22324 ]] Jira: DB-11075 Test Plan: ./yb_build.sh --java-test TestYsqlUpgrade#checkPgssData Reviewers: asaha, hbhanawat, amartsinchyk, telgersma Reviewed By: telgersma Subscribers: ybase, yql Differential Revision: https://phorge.dev.yugabyte.com/D35234
- Loading branch information
1 parent
9be5c91
commit 9d54710
Showing
4 changed files
with
284 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.