티스토리 뷰

Programming/Redis

Redis Commands

Mr. Curious 2018. 1. 2. 17:05

모든 key 가져오기 

127.0.0.1:6379> keys *619*
127.0.0.1:6379> keys *619*




127.0.0.1:6379> keys *619*

https://chartio.com/resources/tutorials/how-to-get-all-keys-in-redis/



Database 목록 가져오기 


127.0.0.1:6379> keys *619*
127.0.0.1:6379> keys *619*




$ redis-cli INFO | grep ^db
db0:keys=1500,expires=2
db1:keys=200000,expires=1
db2:keys=350003,expires=1

https://stackoverflow.com/questions/12802726/list-all-redis-databases


댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함