diff --git a/tests/performance/hashed_dictionary.xml b/tests/performance/hashed_dictionary.xml
index e9038e694c6..b9de02a70e0 100644
--- a/tests/performance/hashed_dictionary.xml
+++ b/tests/performance/hashed_dictionary.xml
@@ -82,7 +82,6 @@
elements_count
5000000
- 7500000
@@ -90,16 +89,14 @@
WITH rand64() % toUInt64({elements_count}) as key
SELECT dictGet('default.simple_key_hashed_dictionary', {column_name}, key)
- FROM system.numbers
- LIMIT {elements_count}
+ FROM numbers_mt({elements_count})
FORMAT Null;
WITH rand64() % toUInt64({elements_count}) as key
SELECT dictHas('default.simple_key_hashed_dictionary', key)
- FROM system.numbers
- LIMIT {elements_count}
+ FROM numbers_mt({elements_count})
FORMAT Null;
@@ -111,16 +108,14 @@
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
SELECT dictGet('default.complex_key_hashed_dictionary', {column_name}, key)
- FROM system.numbers
- LIMIT {elements_count}
+ FROM numbers_mt({elements_count})
FORMAT Null;
WITH (rand64() % toUInt64({elements_count}), toString(rand64() % toUInt64({elements_count}))) as key
SELECT dictHas('default.complex_key_hashed_dictionary', key)
- FROM system.numbers
- LIMIT {elements_count}
+ FROM numbers_mt({elements_count})
FORMAT Null;