-
Notifications
You must be signed in to change notification settings - Fork 23
loaded db and live db stats do not match #351
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
Comments
branch with failing tests for this (they're in |
I'm not sure which measure is more useful. |
Or maybe they're both useful and we just need to come up with good names for the two different keys in |
@bplatz do you have a preference here? I think all we need is a decision of one or the other or both, and I think you have more customer context to be able to make that call. |
@dpetran I've always considered the total size of the DB to be important - both 't' values and size, as that would give someone a sense of how many commits and how large they are. Also if the size was a proxy for someone using it for billing, total size would be more important here as well. |
Alright, then we will just do the |
fluree.db.json-ld.reify/merge-flakes
calculates the size of all the flakes, whereasfluree.db.json-ld.transact/final-db
calculates the size of the asserts and subtracts the size of the retracts.The
(-> db :stats :size)
should be the same on a live db and on that same db after load.The text was updated successfully, but these errors were encountered: