RuntimeStats for cluster_slow_query #56707
Labels
component/executor
sig/execution
SIG execution
type/feature-request
Categorizes issue or PR as related to a new feature.
In #20200 stats were added for the
information_schema.slow_query
table. However there is nothing for the similarinformation_schema.cluster_slow_query
table.Example:
Note the
initialize: 25.8µs, read_file: 912µs, parse_log: {time:1.78ms, concurrency:15}, total_file: 1, read_file: 1, read_size: 4.05 MB
This is generated here:
tidb/pkg/executor/slow_query.go
Line 1115 in 2e51209
For the
cluster_slow_query
table you can see that there are no stats:tidb/pkg/executor/memtable_reader.go
Lines 592 to 594 in 2e51209
What the stats could show:
Most of these could be per-node, in total or both.
The text was updated successfully, but these errors were encountered: