{ "DBSIZE": { "summary": "Returns the number of keys in the database.", "complexity": "O(1)", "group": "server", "since": "1.0.0", "arity": 1, "function": "dbsizeCommand", "command_flags": [ "READONLY", "FAST" ], "acl_categories": [ "KEYSPACE" ], "command_tips": [ "REQUEST_POLICY:ALL_SHARDS", "RESPONSE_POLICY:AGG_SUM" ], "reply_schema": { "type": "integer", "description": "The number of keys in the currently-selected database." } } }