You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
The documentation page for DBSIZE has no description. I've been trying to find a way to count all keys in a database. I want to make sure I don't count expired keys. The issue is that I'm not sure if DBSIZE counts expired keys that haven't been garbage collected yet.
This answer on StackOverflow mentions that DBSIZE might count expired keys. It says "it may still count", which is pretty vague. Other answers that recommend DBSIZE don't mention anything about expired keys.