Determining the largest keys in etcd/clarity around versions #16244
Unanswered
ns-rlewkowicz
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Hey @ns-rlewkowicz - Thanks for your question. I would start with the "what occupies the most space" section of this blog post from earlier this year: https://etcd.io/blog/2023/how_to_debug_large_db_size_issue/#what-data-occupies-most-of-the-storage-space |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to figure out what is taking the most size in our k8 etcd databases.
I calculate by grabbing a key, calculating the length of the value portion of key and multiplying it by the version.
/registry/services/endpoints/foo/bar
in our cluster has
1041754
versions not revisions. There's no way they all exist.How can I get the real space of a key?
Beta Was this translation helpful? Give feedback.
All reactions