Key commands compatibility
Generic key commands compatible with Redis Enterprise.
The following table shows which Redis Community Edition key (generic) commands are compatible with standard and Active-Active databases in Redis Enterprise Software and Redis Cloud.
Command | Redis Enterprise |
Redis Cloud |
Notes |
---|---|---|---|
COPY | ✅ Standard |
✅ Standard |
For Active-Active or clustered databases, the source and destination keys must be in the same hash slot. *Not supported for stream consumer group info. |
DEL | ✅ Standard |
✅ Standard |
|
DUMP | ✅ Standard |
✅ Standard |
|
EXISTS | ✅ Standard |
✅ Standard |
|
EXPIRE | ✅ Standard |
✅ Standard |
|
EXPIREAT | ✅ Standard |
✅ Standard |
|
EXPIRETIME | ✅ Standard |
✅ Standard |
|
KEYS | ✅ Standard |
✅ Standard |
|
MIGRATE | ❌ Standard |
❌ Standard |
|
MOVE | ❌ Standard |
❌ Standard |
Redis Enterprise does not support shared databases due to potential negative performance impacts and blocks any related commands. |
OBJECT ENCODING | ✅ Standard |
✅ Standard |
|
OBJECT FREQ | ✅ Standard |
✅ Standard |
|
OBJECT IDLETIME | ✅ Standard |
✅ Standard |
|
OBJECT REFCOUNT | ✅ Standard |
✅ Standard |
|
PERSIST | ✅ Standard |
✅ Standard |
|
PEXPIRE | ✅ Standard |
✅ Standard |
|
PEXPIREAT | ✅ Standard |
✅ Standard |
|
PEXPIRETIME | ✅ Standard |
✅ Standard |
|
PTTL | ✅ Standard |
✅ Standard |
|
RANDOMKEY | ✅ Standard |
✅ Standard |
|
RENAME | ✅ Standard |
✅ Standard |
For Active-Active or clustered databases, the original key and new key must be in the same hash slot. *Not supported for stream consumer group info. |
RENAMENX | ✅ Standard |
✅ Standard |
For Active-Active or clustered databases, the original key and new key must be in the same hash slot. |
RESTORE | ✅ Standard ❌ Active-Active* |
✅ Standard ❌ Active-Active* |
*Only supported for module keys. |
SCAN | ✅ Standard |
✅ Standard |
|
SORT | ✅ Standard |
✅ Standard |
|
SORT_RO | ✅ Standard |
✅ Standard |
|
TOUCH | ✅ Standard |
✅ Standard |
|
TTL | ✅ Standard |
✅ Standard |
|
TYPE | ✅ Standard |
✅ Standard |
|
UNLINK | ✅ Standard |
✅ Standard |
|
WAIT | ✅ Standard |
❌ Standard** |
*For Active-Active databases, WAIT commands are supported for primary and replica shard replication. You can contact support to enable WAIT for local replicas only. WAIT is not supported for cross-instance replication.** WAIT commands are supported on Redis Cloud Flexible subscriptions. |
WAITAOF | ✅ Standard |
✅ Standard |