-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 request unit to tracing sampled query event #107703
Conversation
Fixes: #95194 Release note (sql change): Add the request unit estimate to the sampled query event.
I don't think we can do this yet, since the network contribution to RU consumption is only measured for EXPLAIN ANALYZE right now, not all sampled queries. Also worth mentioning that the estimate is currently only shown for tenants, and only for vectorized execution. |
Hi @DrewKimball, do you know how we get network information (bytes) today for SQL stats? Is this a different network metric used for RUs today? Just want to understand relationship so we have consistent/correlated metrics |
Do you mean During normal execution we track the bytes sent to the client during normal execution as the results are encoded. During a command like |
Thank you @DrewKimball for the explanation. I've filed a related issue here tracking better observability into RUs: #108436. |
Closing this based on the feedback on ru accuracy. |
Fixes: #95194
Release note (sql change): Add the request unit estimate to the sampled query event.