Redis可视化工具RedisInsight:下载RedisInsight,新建连接Redis数据库,使用RedisInsight,添加String类型,添加Hash类型,添加JSON类型
RedisInsight是Redis官方推出的跨平台可视化工具,提供图形界面管理Redis数据库。支持多种数据类型操作(String/Hash/JSON)、命令行界面(CLI)和性能分析器(Profiler)。安装简单,可自定义隐私设置,通过直观界面实现键值管理、属性编辑和过期时间设置。特别提供命令帮助功能,适合开发运维人员高效使用Redis,具备实时监控和日志记录能力。
Redis可视化工具RedisInsight:下载RedisInsight,新建连接Redis数据库,使用RedisInsight,添加String类型,添加Hash类型,添加JSON类型,CLI,Profiler
Redis可视化工具RedisInsight
RedisInsight 是 Redis Labs 官方出品的一款跨平台客户端工具,提供了直观、强大的图形界面,帮助用户查看、操作和分析 Redis 实例。无论你是开发人员、测试工程师还是运维 DBA,它都能大幅提升你的 Redis 使用体验。
下载RedisInsight
官方地址:https://redis.io/insight/
百度云盘链接:可以自行选择版本下载
点击Login,下载需要先进行登录
根据需要选择 WIndows、MAC、linux不通系统的软件进行下载
安装完成之后,首次运行软件会弹出下图的弹窗
对应设置选项翻译如下:
- Use recommended settings:Select to activate all listed options.
- 使用推荐设置:选择以激活所有列出的选项。
- Privacy Settings:To optimize your experience, Redis Insight uses third-party tools.
- 隐私设置:为了优化您的体验,Redis Insight 使用第三方工具。
- Usage Data:Select the usage data option to help us improve Redis Insight. We use such usage data to understand how Redis Insight features are used, prioritize new features, and enhance the user experience.
- 使用数据:选择使用数据选项可帮助我们改进 Redis Insight。我们会使用此类使用数据来了解 Redis Insight 功能的使用情况,确定新功能的优先级,并提升用户体验。
- Encrypt sensitive information:Select to encrypt sensitive information using system keychain. Otherwise, this information is stored locally in plain text, which may incur security risk.
- 加密敏感信息:选择使用系统钥匙串加密敏感信息。否则,这些信息将以纯文本形式存储在本地,可能会带来安全风险。
- Usage Data:Select the usage data option to help us improve Redis Insight. We use such usage data to understand how Redis Insight features are used, prioritize new features, and enhance the user experience.
- 隐私设置:为了优化您的体验,Redis Insight 使用第三方工具。
- Notifications:通知
- Show notification:Select to display notification. Otherwise, notifications are shown in the Notification Center.
- 显示通知:选择显示通知。否则,通知将显示在通知中心。
- Show notification:Select to display notification. Otherwise, notifications are shown in the Notification Center.
可以自己选择,选择完之后同意协议,并提交
界面如下
新建连接Redis数据库
可以设置密码等选项
创建成功
点击即可进入对应的数据库
新数据库,没有数据,如下
使用RedisInsight
添加String类型
TTL可以设置过期时间,默认是秒为单位
添加Hash类型
编辑的时候可以单个属性编辑
过期时间也是可以单独设置的
添加JSON类型
对原生JSON类型,不仅支持高亮预览,还能支持新增、编辑和删除单个属性
CLI
如果RedisInsight的图形化界面功能满足不了你的话,还可以试试它的CLI功能,点击左下角CLI标签即可打开;
如果记不住命令,还添加了Command Helper这个查找命令文档的功能,可以搜索命令的用法。
Profiler
需要开启。通过Profiler功能,我们可以查看Redis的命令执行日志,比如我们使用RedisInsight添加一个叫testKey的键值对,Profiler将显示如下日志。
更多推荐
所有评论(0)