Skip to content

Recommend key size #12842

Answered by sundb
WeihanLi asked this question in Q&A
Discussion options

You must be logged in to vote

there is no standard answer.
this depends on the real scenaro (commands used, memory, etc.)
a good way is to refer to the time complexity in https://redis.io/commands.
.e.g for a hash of 1 million entries, HGET (O(1)) and HGETALL (O(N)) have completely different performance.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by WeihanLi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants