mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Slightly better diagnostics in tests
This commit is contained in:
parent
182d8b8f08
commit
8a4f939e1a
@ -22,6 +22,6 @@ OPTIMIZE TABLE 02725_memory_for_merges FINAL;
|
||||
SYSTEM FLUSH LOGS;
|
||||
|
||||
WITH (SELECT uuid FROM system.tables WHERE table='02725_memory_for_merges' and database=currentDatabase()) as uuid
|
||||
SELECT sum(peak_memory_usage) < 1024 * 1024 * 200 from system.part_log where table_uuid=uuid and event_type='MergeParts';
|
||||
SELECT (sum(peak_memory_usage) < 1024 * 1024 * 200 AS x) ? x : sum(peak_memory_usage) from system.part_log where table_uuid=uuid and event_type='MergeParts';
|
||||
|
||||
DROP TABLE IF EXISTS 02725_memory_for_merges SYNC;
|
||||
|
Loading…
Reference in New Issue
Block a user