为什么Redis“Zset"的意思是“排序集"? [英] Why Redis 'Zset' means 'Sorted Set'?

查看:39
本文介绍了为什么Redis“Zset"的意思是“排序集"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我为我的数据库研究 Redis 时,我了解到Zset"的意思是排序集".Zset"实际上代表什么?我不明白为什么它也意味着排序集".

When I was studying Redis for my database, I learned that 'Zset' means 'Sorted Set'. What does 'Zset' actually stand for? I couldn't figure out why it also means 'Sorted Set'.

问题可能很简单也可能太宽泛,但我想确切地了解我学到了什么.

It could be simple or too broad question, but I want to understand exactly what I learned.

推荐答案

之前在Redis的github页面和Redis的创建者回答了

A similar question is asked before on Redis's github page and the creator of Redis answered it

你好.Z 就像在 XYZ 中一样,所以这个想法是,设置另一个维度:命令.这是一个遥远的协会......我知道:)

Hello. Z is as in XYZ, so the idea is, sets with another dimension: the order. It's a far association... I know :)

  • 设置命令以s
  • 开头
  • 哈希命令以 h
  • 开头
  • 列表命令以 l
  • 开头
  • 有序集合命令以 z
  • 开头
  • 流命令以 x
  • 开头
  • Hyperloglog 命令以 pf
  • 开头

    这篇关于为什么Redis“Zset"的意思是“排序集"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆