Redis FLUSHALL

1 개요[ | ]

Redis FLUSHALL
redis-cli flushall

2 예시 1[ | ]

135.79.246.80:6379> info keyspace
# Keyspace
db0:keys=10001,expires=0,avg_ttl=0
135.79.246.80:6379> flushall
OK
135.79.246.80:6379> info keyspace
# Keyspace
135.79.246.80:6379>

3 예시 2[ | ]

135.79.246.80:6379> info keyspace
# Keyspace
db0:keys=3,expires=3,avg_ttl=85728438
135.79.246.80:6379> keys *
 1) "sess:NlzuPo403hCQUoSMMoZFGhG0MTGF8FrM"
 2) "sess:aS2Xp48_RuVaPdcvqnZjJw8LenTOKAGJ"
 3) "sess:lp79ir-PTFtt3ah1xuWj6m27nC_x39aJ"
135.79.246.80:6379> flushall
OK
135.79.246.80:6379> keys *
(empty list or set)
135.79.246.80:6379> info keyspace
# Keyspace
db0:keys=3,expires=3,avg_ttl=85728438

4 같이 보기[ | ]

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}