查看制定键值 keys *模糊键名* 清空redis所有键值 flushall 删除制定的键 del 键名 1.列表 查看列表长度 llen 键名 2.哈希 查看哈希表长度 hlen 键名 3.集合 查看集合长度 scard 键名 4.字符串 查看字符串的长度 strlen 键名