These terms refer to the internal dictionary that Redis manages, in which all keys are stored. The keyspace of a Redis database is managed by a single server in the case of a single instance deployment, and is divided to exclusive slot ranges managed by different nodes when using cluster mode.

Answer from Itamar Haber on Stack Overflow
🌐
Redis
redis.io › docs › latest › develop › using-commands › keyspace
Keys and values | Docs
1 day ago - Managing keys in Redis: Key expiration, scanning, altering and querying the key space
🌐
Redis
redis.io › docs › latest › commands › info
INFO | Docs
10 hours ago - Available in RediSearch 8.0. The keyspace section provides statistics on the main dictionary of each database.
🌐
Redis
redis.io › docs › latest › develop › pubsub › keyspace-notifications
Redis keyspace notifications | Docs
1 day ago - At this point use redis-cli in another terminal to send commands to the Redis server and watch the events generated: "pmessage","__key*__:*","__keyspace@0__:foo","set" "pmessage","__key*__:*","__keyevent@0__:set","foo" ...
🌐
Spring
docs.spring.io › spring-data › redis › reference › redis › redis-repositories › keyspaces.html
Keyspaces :: Spring Data Redis
Keyspaces define prefixes used to create the actual key for the Redis Hash. By default, the prefix is set to getClass().getName(). You can alter this default by setting @RedisHash on the aggregate root level or by setting up a programmatic configuration.
🌐
GitHub
gist.github.com › JonCole › 4a249477142be839b904f7426ccccf82
Debugging Redis Keyspace Misses
Simply put, a keyspace "MISS" means some piece of data you tried to retrieve from Redis was not there. This usually means that one of the following things happened: ... The data was lost due to a crash, failover, etc.
🌐
Ei Innovations
eginnovations.com › documentation › Redis › Redis-Keyspace-Test.htm
Redis Keyspace Test
Keyspace refers to the internal dictionary that Redis manages, in which all keys are stored.
🌐
Amazon Web Services
aws.amazon.com › premiumsupport › knowledge-center › elasticache-redis-keyspace-notifications
Implement Redis keyspace notifications in ElastiCache | AWS re:Post
April 29, 2024 - When a Redis keyspace notification is invoked, a keyspace notification and key-event notification occur. The keyspace channel receives the name of the event, and the key-event channel receives the name of the key as a message. Note: The following resolution applies to ElastiCache clusters with cluster mode turned off. For more information, see Redis keyspace notifications on the Redis website.
Find elsewhere
🌐
Elastic
elastic.co › elastic docs › reference › ingestion tools › beats › metricbeat › modules › redis module › redis keyspace metricset
Redis keyspace metricset | Beats
The keyspace information is fetched from the INFO command. This is a default metricset. If the host module is unconfigured, this metricset is enabled by default. For a description of each field in the metricset, see the exported fields section.
🌐
Bqdong
bqdong.github.io › redis-docs › manual › keyspace
Keyspace - Redis Documentation
Managing keys in Redis: Key expiration, scanning, altering and querying the key space
🌐
Redis
redis.io › docs › latest › operate › oss_and_stack › stack-with-enterprise › deprecated-features › triggers-and-functions › concepts › triggers › keyspace_triggers
Keyspace triggers | Docs
February 26, 2026 - We can display trigger information using TFUNCTION LIST command: 127.0.0.1:6379> TFUNCTION list vvv 1) 1) "engine" 2) "js" 3) "api_version" 4) "1.0" 5) "name" 6) "foo" 7) "pending_jobs" 8) (integer) 0 9) "user" 10) "default" 11) "functions" 12) (empty array) 13) "keyspace_triggers" 14) (empty ...
🌐
Redis
redis.io › docs › latest › develop › pubsub › keyspace-notifications › index.html.md
Redis
For instance a [`DEL`]() operation targeting the key named `mykey` in database `0` will trigger the delivering of two messages, exactly equivalent to the following two [`PUBLISH`]() commands: PUBLISH __keyspace@0__:mykey del PUBLISH __keyevent@0__:del mykey The first channel listens to all the events targeting the key `mykey` and the other channel listens only to `del` operation events on the key `mykey` The first kind of event, with `keyspace` prefix in the channel is called a **Key-space notification**, while the second, with the `keyevent` prefix, is called a **Key-event notification**. In the previous example a `del` event was generated for the key `mykey` resulting in two messages: * The Key-space channel receives as message the name of the event.
🌐
DEV Community
dev.to › sayganov › redis-keyspace-notifications-with-a-c-example-2ahp
Redis keyspace notifications with a C# example - DEV Community
April 25, 2023 - The switch statement then handles each type of keyspace event that may occur and writes a message to the console indicating the type of event and the key that was affected by the event. In our example, we are catching only 3 types: set, expire, and expired. But there are many more, you can find the complete list on the Redis docs website.
🌐
TutorialsPoint
tutorialspoint.com › redis › server_info.htm
Redis - Server Info Command
replication − Master/slave replication information · cpu − CPU consumption statistics · commandstats − Redis command statistics · cluster − Redis Cluster section · keyspace − Database-related statistics · all − Return all sections · default − Return only the default set of sections ·
🌐
GitHub
github.com › redis › redis-doc › blob › master › docs › manual › keyspace-notifications.md
redis-doc/docs/manual/keyspace-notifications.md at master · redis/redis-doc
At this point use redis-cli in another terminal to send commands to the Redis server and watch the events generated: "pmessage","__key*__:*","__keyspace@0__:foo","set" "pmessage","__key*__:*","__keyevent@0__:set","foo" ...
Author   redis
🌐
GitHub
github.com › redis-developer › keyspace-notifications-node-redis
GitHub - redis-developer/keyspace-notifications-node-redis: Keyspace Notifications demo with Node Redis 4 · GitHub
The tokens are named "a", "b", "c" etc and each player has to collect all of them. We'll store these sets in the Redis keyspace using key names of the form: tokens:username where username is the player's user name in our game.
Starred by 7 users
Forked by 2 users
Languages   Python 70.2% | JavaScript 29.8%
🌐
StackExchange.Redis
stackexchange.github.io › StackExchange.Redis › KeyspaceNotifications.html
Redis Keyspace Notifications | StackExchange.Redis
As an example, we’ll subscribe to all keys with a specific prefix, and print out the key and event type for each notification. First, we need to create a RedisChannel: // this will subscribe to __keyspace@0__:user:*, including supporting Redis Cluster var channel = RedisChannel.KeySpacePrefix(prefix: "user:"u8, database: 0);
🌐
Last9
last9.io › blog › retrieving-all-keys-in-redis
Retrieving All Keys in Redis: Commands & Best Practices | Last9
March 10, 2025 - 127.0.0.1:6379> INFO keyspace # Keyspace db0:keys=1234,expires=632,avg_ttl=57983 ... If you're dealing with memory issues in Redis, understanding OOM (Out of Memory) errors can be crucial.
🌐
Webinterpret Tech
tech.webinterpret.com › redis-notifications-python
Redis keyspace notifications in python
May 13, 2020 - The second event is a key-space notification. In the keyspace channel we received the name of the event set as a message. The third event is a key-event notification. In the keyevent channel we received the name of the key key1 as a message. Events are delivered using Redis's Pub/Sub layer.