开发者

Redis - How to completely flush/clear memory after a flushdb?

开发者 https://www.devze.com 2023-03-16 21:05 出处:网络
After doing several flushdb on a Redis datab开发者_如何转开发ase, I wonder how to completely flush/clear the memory use ?

After doing several flushdb on a Redis datab开发者_如何转开发ase, I wonder how to completely flush/clear the memory use ?

Indeed, I made some tests :

  • watching memory with a htop -> 800 Mo used
  • fill in a Redis database -> goes to 1500 Mo used
  • flushing the database => memory use stay at about 1500 Mo...

Any ideas ? Thanks


Try using flushall

0

精彩评论

暂无评论...
验证码 换一张
取 消