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

cmd/metadata: do not show size for node count #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxmouchet
Copy link
Contributor

@maxmouchet maxmouchet commented Nov 25, 2024

It's a node count, not bytes :-)

The actual tree size (node count * node size) is already shown in the next line.

mmdbctl metadata proxy_residential.mmdb
...
- Node Count    920825782 (878.17 MB) # <--- Remove this size
- Tree Size     7366606256 (6.86 GB)
- Data Section Size 1774958 (1.69 MB)
...

It's a node count, doesn't make sense to convert in MBs :-) The actual tree size is shown in the next line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant