Redis API的理解和使用

文章目錄 一、通用命令 二、單線程 三、數據結構和內部編碼 1.字符串 一、通用命令 keys 用於查找所有符合給定模式 pattern 的 key keys在生產環境中一般不使用,因爲keys會阻塞其他命令。 dbsize 返回當前數據庫的 key 的數量 exists key 用於檢查給定 key 是否存在,存在返回1,不存在返回0 del 刪除一個/多個key expire key seco
相關文章
相關標籤/搜索