mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Enable query_plan_remove_redundant_sorting optimization by default
This commit is contained in:
parent
683b1b7dbb
commit
41b94b4954
@ -585,7 +585,7 @@ class IColumn;
|
||||
M(Bool, query_plan_optimize_primary_key, true, "Analyze primary key using query plan (instead of AST)", 0) \
|
||||
M(Bool, query_plan_read_in_order, true, "Use query plan for read-in-order optimisation", 0) \
|
||||
M(Bool, query_plan_aggregation_in_order, true, "Use query plan for aggregation-in-order optimisation", 0) \
|
||||
M(Bool, query_plan_remove_redundant_sorting, false, "Remove redundant sorting in query plan. For example, sorting steps related to ORDER BY clauses in subqueries", 0) \
|
||||
M(Bool, query_plan_remove_redundant_sorting, true, "Remove redundant sorting in query plan. For example, sorting steps related to ORDER BY clauses in subqueries", 0) \
|
||||
M(UInt64, regexp_max_matches_per_row, 1000, "Max matches of any single regexp per row, used to safeguard 'extractAllGroupsHorizontal' against consuming too much memory with greedy RE.", 0) \
|
||||
\
|
||||
M(UInt64, limit, 0, "Limit on read rows from the most 'end' result for select query, default 0 means no limit length", 0) \
|
||||
|
@ -1,4 +1,8 @@
|
||||
<test>
|
||||
<settings>
|
||||
<query_plan_remove_redundant_sorting>0</query_plan_remove_redundant_sorting>
|
||||
</settings>
|
||||
|
||||
<create_query>CREATE TABLE rand_unlimited_10m_8 (key UInt8) Engine = Memory</create_query>
|
||||
|
||||
<create_query>CREATE TABLE rand_1k_10m_16 (key UInt16) Engine = Memory</create_query>
|
||||
|
Loading…
Reference in New Issue
Block a user