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: enable mem table spill #15240

Merged
merged 5 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
2 changes: 1 addition & 1 deletion src/common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@ pub mod default {
3
}
pub fn mem_table_spill_threshold() -> usize {
0 // disable
4 << 20
}

pub fn compactor_fast_max_compact_delete_ratio() -> u32 {
Expand Down
2 changes: 1 addition & 1 deletion src/config/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ This page is automatically generated by `./risedev generate-example-config`
| max_preload_wait_time_mill | | 0 |
| max_sub_compaction | Max sub compaction task numbers | 4 |
| max_version_pinning_duration_sec | | 10800 |
| mem_table_spill_threshold | The spill threshold for mem table. | 0 |
| mem_table_spill_threshold | The spill threshold for mem table. | 4194304 |
wcy-fdu marked this conversation as resolved.
Show resolved Hide resolved
| meta_cache_capacity_mb | Capacity of sstable meta cache. | |
| meta_file_cache | | |
| min_sst_size_for_streaming_upload | Whether to enable streaming upload for sstable. | 33554432 |
Expand Down
2 changes: 1 addition & 1 deletion src/config/example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ check_compaction_result = false
max_preload_io_retry_times = 3
compactor_fast_max_compact_delete_ratio = 40
compactor_fast_max_compact_task_size = 2147483648
mem_table_spill_threshold = 0
mem_table_spill_threshold = 4194304

[storage.data_file_cache]
dir = ""
Expand Down
Loading