mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update compare.sh
This commit is contained in:
parent
065faf1318
commit
f2ac17cfba
@ -758,7 +758,7 @@ create view test_times_view as
|
|||||||
total_client_time,
|
total_client_time,
|
||||||
queries,
|
queries,
|
||||||
query_max,
|
query_max,
|
||||||
real / queries avg_real_per_query,
|
real / if(queries > 0, queries, 1) avg_real_per_query,
|
||||||
query_min,
|
query_min,
|
||||||
runs
|
runs
|
||||||
from test_time
|
from test_time
|
||||||
@ -779,7 +779,7 @@ create view test_times_view_total as
|
|||||||
sum(total_client_time),
|
sum(total_client_time),
|
||||||
sum(queries),
|
sum(queries),
|
||||||
max(query_max),
|
max(query_max),
|
||||||
sum(real) / if(sum(queries), sum(queries), 1) avg_real_per_query,
|
sum(real) / if(sum(queries) > 0, sum(queries), 1) avg_real_per_query,
|
||||||
min(query_min),
|
min(query_min),
|
||||||
-- Totaling the number of runs doesn't make sense, but use the max so
|
-- Totaling the number of runs doesn't make sense, but use the max so
|
||||||
-- that the reporting script doesn't complain about queries being too
|
-- that the reporting script doesn't complain about queries being too
|
||||||
|
Loading…
Reference in New Issue
Block a user