DBSIZE returns the number of keys in the default database, a quick health signal for the Redis instance. A sudden drop suggests Redis restarted and statistics were lost. Sudden growth can mean a runaway counter or queue.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.