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

db_bench: -statistics_string is not displaying statistics as does -statistics #248

Closed
udi-speedb opened this issue Nov 16, 2022 · 0 comments · Fixed by #249
Closed

db_bench: -statistics_string is not displaying statistics as does -statistics #248

udi-speedb opened this issue Nov 16, 2022 · 0 comments · Fixed by #249
Assignees
Labels
bug Something isn't working Upstreamable can be upstreamed to RocksDB

Comments

@udi-speedb
Copy link
Contributor

udi-speedb commented Nov 16, 2022

The user of db_bench has 2 options to run with statistics:

  1. Enabling the -statistics flag
  2. Setting the -statistics_string flag

However, when using the -statistics flag db_bench displays the statistics whereas when using the -statistics_string flag db_bench doesn't.

For example, try to run both of the following commands, one using the -statistics flag and the other -statistics_string:
./db_bench -statistics -benchmarks fillseq -num 10000
./db_bench -statistics_string BasicStatistics -benchmarks fillseq -num 10000

@udi-speedb udi-speedb added the bug Something isn't working label Nov 16, 2022
@udi-speedb udi-speedb self-assigned this Nov 16, 2022
@udi-speedb udi-speedb added the Upstreamable can be upstreamed to RocksDB label Nov 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Upstreamable can be upstreamed to RocksDB
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant