You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kv, sql: Accumulate CPU time from KV BatchResponses
This commit implements a solution to recording kv cpu time on
every query execution - similar to other fields recorded in topLevelQueryStats.
This is done by including a new CPUTime field in the BatchResponse Header
from KV. The CPUTime field tracks the time reported in Replica.Send which
is representative of the "synchronous" work done by KV for the request, i.e.
it does not include other async replication related work.
GetKVCPUTime is added to the KVBatchFetcher interface.
GetKVResponseCPUTime is added to the KVReader interface.
kvCPUTime is added to the mutationPlanNode interface.
Epic: https://cockroachlabs.atlassian.net/browse/CRDB-55080
Part of: https://cockroachlabs.atlassian.net/browse/CRDB-55922
Release note: None
0 commit comments