From 9f86d7f3a8a3af83cb8416930af39bc56d20b73a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Fri, 17 Apr 2026 15:10:07 +0200 Subject: [PATCH 1/2] Apply stricter constraints on oonimeasurements user queries --- ansible/group_vars/clickhouse/vars.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/group_vars/clickhouse/vars.yml b/ansible/group_vars/clickhouse/vars.yml index 7b48ebe1..efcf2bc6 100644 --- a/ansible/group_vars/clickhouse/vars.yml +++ b/ansible/group_vars/clickhouse/vars.yml @@ -239,6 +239,14 @@ clickhouse_custom_users: - "max_memory_usage = 501001000" # 60 seconds - "max_execution_time = 30" + # 500 GB + - "max_bytes_to_read = 501001001000" + # 5 B + - "max_rows_to_read = 5001001000" + # 5s + - "timeout_before_checking_execution_speed = 5" + # 10 M + - "max_result_rows = 11001000" profile: - readonly quota: "oonimeasurements" From d9addcad900f21731fff1f801c9970fc74b75186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Fri, 17 Apr 2026 17:16:20 +0200 Subject: [PATCH 2/2] Reduce max rows to 50k --- ansible/group_vars/clickhouse/vars.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/group_vars/clickhouse/vars.yml b/ansible/group_vars/clickhouse/vars.yml index efcf2bc6..96c1ce2f 100644 --- a/ansible/group_vars/clickhouse/vars.yml +++ b/ansible/group_vars/clickhouse/vars.yml @@ -245,8 +245,8 @@ clickhouse_custom_users: - "max_rows_to_read = 5001001000" # 5s - "timeout_before_checking_execution_speed = 5" - # 10 M - - "max_result_rows = 11001000" + # 50k + - "max_result_rows = 51000" profile: - readonly quota: "oonimeasurements"