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

[QUESTION] 33% of storage efficiency. #2573

Open
Rustbread opened this issue Dec 2, 2024 · 0 comments
Open

[QUESTION] 33% of storage efficiency. #2573

Rustbread opened this issue Dec 2, 2024 · 0 comments
Labels

Comments

@Rustbread
Copy link

Storing [1024 *1024] integer values as BsonArray takes 12 MB while it should take 4MB, and at worst case of 64 bit interpretation 8 MB.
So what is the deal here? There was no warning about the 33% storage efficiency.

There is nothing that suggest that smaller arrays are stored in more efficient way so it is flawed.

So is there a way to store it normally without the massive overhead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant