This commit is contained in:
Alexey Milovidov 2020-05-21 13:46:36 +03:00
parent 38f36f6b58
commit c816916fba

View File

@ -9,7 +9,7 @@ CREATE MATERIALIZED VIEW trace_log_01281_mv TO trace_log_01281 AS SELECT * FROM
CREATE VIEW trace_log_01281_assert AS SELECT
*,
throwIf(cnt < 0, 'no memory profile captured'),
throwIf(queries != 1, 'too much queries'),
throwIf(queries != 1, 'too many queries'),
throwIf(alloc < 100e6, 'minimal allocation had not been done'),
throwIf((alloc+free)/alloc > 0.05, 'memory accounting leaked more than 5%')
FROM (