Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(settings): enable spill #16888

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/query/settings/src/settings_default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=1)),
}),
("join_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(0),
value: UserSettingValue::UInt64(60),
desc: "Sets the maximum memory ratio in bytes that hash join can use before spilling data to storage during query execution, 0 is unlimited",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand Down Expand Up @@ -463,7 +463,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=u64::MAX)),
}),
("aggregate_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(0),
value: UserSettingValue::UInt64(60),
desc: "Sets the maximum memory ratio in bytes that an aggregator can use before spilling data to storage during query execution.",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand All @@ -475,7 +475,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=u64::MAX)),
}),
("window_partition_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(0),
value: UserSettingValue::UInt64(60),
desc: "Sets the maximum memory ratio in bytes that a window partitioner can use before spilling data to storage during query execution.",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand Down Expand Up @@ -511,7 +511,7 @@ impl DefaultSettings {
range: Some(SettingRange::Numeric(0..=u64::MAX)),
}),
("sort_spilling_memory_ratio", DefaultSettingValue {
value: UserSettingValue::UInt64(0),
value: UserSettingValue::UInt64(60),
desc: "Sets the maximum memory ratio in bytes that a sorter can use before spilling data to storage during query execution.",
mode: SettingMode::Both,
range: Some(SettingRange::Numeric(0..=100)),
Expand Down
Loading