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

feat: Dynamically set disable_auto_compaction #2257

Merged

Conversation

chenbt-hz
Copy link
Collaborator

@chenbt-hz chenbt-hz commented Dec 29, 2023

  1. disable_auto_compations controls whether to automatically start compat.
  2. Dynamic control via config get disable_auto_compations/config set disable_auto_compations true(false).

1.配置文件pika.conf disable_auto_compations控制实例启动时是否默认开启自动compaction
2.config get/set命令 支持动态控制开启或关闭自动compaction

测下来导数或者数据迁移的时候有用,可以提高数据导入性能。3w/s hset 单实例稳定写入1小时以上。

不建议长期关闭自动compaction,单实例数据量超过100G时有性能问题。

1. disable_auto_compations  controls whether to automatically start compat.
2. Dynamic control via config get disable_auto_compations/config set disable_auto_compations true(false).
@github-actions github-actions bot added the ✏️ Feature New feature or request label Dec 29, 2023
@chenbt-hz
Copy link
Collaborator Author

image

@chenbt-hz
Copy link
Collaborator Author

image

@AlexStocks AlexStocks changed the title feat: Dynamically set disable_auto_compaction feature: Dynamically set disable_auto_compaction Dec 29, 2023
@AlexStocks
Copy link
Contributor

@MalikHou

@AlexStocks AlexStocks changed the title feature: Dynamically set disable_auto_compaction feat: Dynamically set disable_auto_compaction Jan 2, 2024
@wanghenshui wanghenshui merged commit b63fb13 into OpenAtomFoundation:unstable Jan 2, 2024
11 of 13 checks passed
@MalikHou
Copy link
Contributor

MalikHou commented Jan 2, 2024

LGTM

KKorpse pushed a commit to KKorpse/pika that referenced this pull request Jan 11, 2024
* feat: Dynamically set disable_auto_compaction
1. disable_auto_compations  controls whether to automatically start compat.
2. Dynamic control via config get disable_auto_compations/config set disable_auto_compations true(false).
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
* feat: Dynamically set disable_auto_compaction
1. disable_auto_compations  controls whether to automatically start compat.
2. Dynamic control via config get disable_auto_compations/config set disable_auto_compations true(false).
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
* feat: Dynamically set disable_auto_compaction
1. disable_auto_compations  controls whether to automatically start compat.
2. Dynamic control via config get disable_auto_compations/config set disable_auto_compations true(false).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants