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

*: Add dbSizeInUse to StatusResposne #9256

Merged
merged 1 commit into from
Feb 1, 2018
Merged

Commits on Feb 1, 2018

  1. *: Add dbSizeInUse to StatusResposne

    Existing dbSize shows physically allocated DB size and the backend
    (boltdb) won't shrink it after a compaction until a user runs the defrag command.
    The new dbSizeInUse shows the DB size that excludes free pages created
    by compactions so that users can see the actual DB usage. dbSize >=
    dbSizeInUse is always true.
    Note that dbSizeInUse shows a page-based size and not byte level usage.
    Iwasaki Yudai committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    6b775cd View commit details
    Browse the repository at this point in the history