Key Concepts
Command
Redis commands consist of a command name followed by arguments (e.g.,
GET mykey).Response Types
Commands return different types: strings, integers, lists, nil, or errors.
Database
Commands execute against the selected database (0-15). Use SELECT to switch.
History
Previous commands are saved in session history for quick recall.
Required Permissions
How to Execute a Command
1
Select Connection
Choose a Redis connection from the dropdown.
2
Select Database
Choose the target database (0-15).
3
Enter Command
Type a Redis command in the input field.
4
Execute
Press Enter or click the Execute button.
5
View Result
The result appears below with execution time and type indicator.
Keyboard Shortcuts
Quick Commands
Pre-configured commands for common operations:Response Types
Common Commands
Key Operations
String Operations
Hash Operations
List Operations
Set Operations
Server Commands
How to Use Command History
1
Execute Commands
Run one or more commands during your session.
2
Navigate History
Press Arrow Up to recall previous commands.
3
Cycle Through
Continue pressing Arrow Up/Down to navigate through history.
4
Modify and Execute
Edit the recalled command if needed, then press Enter.
Command history is stored in your browser session. It clears when you close the browser or click Clear.
How to Copy Results
1
Execute Command
Run a command that returns results.
2
Click Copy
Click the copy icon next to the result.
3
Paste
The formatted result is now in your clipboard.
How to Clear History
1
Click Clear
Click the Clear button in the header.
2
Confirm
All command history in the current session is removed.
Troubleshooting
Command returns error
Command returns error
- Check command syntax
- Verify key exists (for read commands)
- Check argument count and types
- Some commands require specific Redis versions
Cannot execute commands
Cannot execute commands
- You need write permission for CLI access
- Check if connection is active
- Verify network connectivity to Redis
Command taking too long
Command taking too long
- Large dataset operations take time
- KEYS * on large databases is slow
- Use SCAN instead of KEYS for large datasets
- Check slow log for details
Unexpected response format
Unexpected response format
- Different commands return different types
- Arrays show numbered lists
- Nil means the key doesn’t exist
- Check Redis documentation for expected return type
History not persisting
History not persisting
- History is session-only, not persisted to server
- Refreshing the page clears history
- Use a local Redis CLI for persistent history
Cannot see write commands
Cannot see write commands
- You need
iam:project:infrastructure:redis:writepermission - Contact your administrator for access
FAQ
Is this the same as redis-cli?
Is this the same as redis-cli?
This provides similar functionality to the
redis-cli command-line tool but runs in your browser. It supports most commands but may not support interactive features like MONITOR or SUBSCRIBE.Can I run multiple commands at once?
Can I run multiple commands at once?
Commands are executed one at a time. For bulk operations, consider using scripts or the native redis-cli with pipelines.
Are my commands logged?
Are my commands logged?
Commands may be logged for audit purposes. Avoid entering sensitive data like passwords in command arguments.
Why can't I use SUBSCRIBE or MONITOR?
Why can't I use SUBSCRIBE or MONITOR?
These commands require persistent connections and streaming responses, which are not supported in this web interface. Use a native Redis client for these features.
What happens if I run FLUSHDB?
What happens if I run FLUSHDB?
FLUSHDB deletes all keys in the current database immediately and permanently. There is no confirmation prompt. Use with extreme caution.
Can I script multiple commands?
Can I script multiple commands?
Use Lua scripting with
EVAL for atomic multi-command operations. Example: EVAL "return redis.call('GET', KEYS[1])" 1 mykeyHow do I switch databases?
How do I switch databases?
Use the database dropdown in the toolbar, or execute
SELECT <db-number> command.What commands are not supported?
What commands are not supported?
Interactive commands (MONITOR, SUBSCRIBE, PSUBSCRIBE) and blocking commands with infinite timeout may not work properly in the web interface.
Best Practices
Safety
- Test commands on non-production first
- Avoid KEYS * on large databases
- Use SCAN for iterating keys
- Never run FLUSHDB/FLUSHALL without verification
- Be careful with CONFIG SET changes
Performance
- Use specific key patterns instead of wildcards
- Paginate large result sets
- Prefer EXISTS over GET for existence checks
- Use MGET/MSET for multiple keys
Debugging
- Use TYPE to verify key types
- Check TTL to understand expiration
- Use OBJECT ENCODING for internal representation
- Review MEMORY USAGE for key size