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

sql: add sampled execution statistics to node_{statement,transaction}_statistics #61637

Closed
asubiotto opened this issue Mar 8, 2021 · 1 comment · Fixed by #62006
Closed
Assignees
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

Comments

@asubiotto
Copy link
Contributor

We record sampled execution stats in stmtStats and txnStats to be sent to the DB Console. These execution stats should also be accessible via our statement/transaction statistics virtual tables.

@asubiotto asubiotto added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Mar 8, 2021
@asubiotto
Copy link
Contributor Author

If we haven't collected any, the columns should probably show a -1 value or something to make it clear (maybe a NULL value makes more sense) that the values are invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant