Skip to content

feat: stat disk usage in bg thread - #2554

Merged
AlexStocks merged 3 commits into
OpenAtomFoundation:unstablefrom
wangshao1:feature/stats_mem_disk_background
Mar 28, 2024
Merged

feat: stat disk usage in bg thread#2554
AlexStocks merged 3 commits into
OpenAtomFoundation:unstablefrom
wangshao1:feature/stats_mem_disk_background

Conversation

@wangshao1

Copy link
Copy Markdown
Collaborator

info all统计磁盘占比的命令,在db中文件较多时,耗时会达到十几ms。
将这一部分统计操作交由后台线程执行,1min执行一次。

@github-actions github-actions Bot added the ✏️ Feature New feature or request label Mar 27, 2024
Comment thread src/pika_server.cc
@AlexStocks
AlexStocks merged commit 187e0e1 into OpenAtomFoundation:unstable Mar 28, 2024
chejinge pushed a commit that referenced this pull request Apr 7, 2024
* stat disk usage in bg thread

---------

Co-authored-by: wangshaoyi <wangshaoyi@360.cn>
bigdaronlee163 pushed a commit to bigdaronlee163/pika that referenced this pull request Jun 8, 2024
* stat disk usage in bg thread

---------

Co-authored-by: wangshaoyi <wangshaoyi@360.cn>
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
* stat disk usage in bg thread

---------

Co-authored-by: wangshaoyi <wangshaoyi@360.cn>
cheniujh pushed a commit to cheniujh/pika that referenced this pull request Sep 24, 2024
* stat disk usage in bg thread

---------

Co-authored-by: wangshaoyi <wangshaoyi@360.cn>
byseea11 pushed a commit to byseea11/pikiwidb that referenced this pull request Sep 29, 2025
* stat disk usage in bg thread

---------

Co-authored-by: wangshaoyi <wangshaoyi@360.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.5.4 4.0.0 ✏️ Feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants