COPY
Copy a key to another key
DEL
Delete one or more keys
DUMP
Serialize a key’s value
EXISTS
Check if keys exist
EXPIRE
Set a key’s TTL in seconds
EXPIREAT
Set expiry as Unix timestamp
EXPIRETIME
Get expiry as Unix timestamp
KEYS
Find keys matching a pattern
MEMORY USAGE
Estimate memory used by a key
PERSIST
Remove the expiration from a key
PEXPIRE
Set a key’s TTL in milliseconds
PEXPIREAT
Set expiry as Unix ms timestamp
PEXPIRETIME
Get expiry as Unix ms timestamp
PTTL
Get TTL in milliseconds
RANDOMKEY
Return a random key
RENAME
Rename a key
RENAMENX
Rename a key if new key doesn’t exist
RESTORE
Deserialize and restore a key
SCAN
Incrementally iterate keys
TOUCH
Update last access time of keys
TTL
Get TTL in seconds
TYPE
Get the type of a key
UNLINK
Delete keys asynchronously
WAIT
Wait for replica acknowledgements
WAITAOF
Wait for local and replica persistence