Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand the parameters of redis info memory command

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly explains "how to understand the parameters of the redis info memory command". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to understand the parameters of the redis info memory command".

Used_memory: the total amount of memory allocated by the Redis allocator, including the internal overhead of the redis process and the memory occupied by the data, in byte

Used_memory_human: displays the amount of memory returned in a more intuitive, readable format.

Used_memory_rss:rss is an abbreviation for Resident Set Size, indicating the amount of physical memory occupied by the process, which is the amount of memory allocated by the operating system to the Redis instance.

Used_memory_rss_human: displays the amount of physical memory occupied by the process in a more intuitive, readable format.

Peak memory consumption of used_memory_peak:redis (in bytes)

Used_memory_peak_human: displays the peak memory consumption of the returned redis in a more intuitive readable format

Used_memory_peak_perc: percentage of memory used to reach peak memory, i.e. (used_memory/ used_memory_peak) * 100%

The memory overhead required by used_memory_overhead:Redis to maintain the internal mechanism of the dataset, including all client output buffers, query buffers, AOF rewrite buffers, and master-slave replicated backlog.

Memory consumed when the used_memory_startup:Redis server starts

Used_memory_dataset: the amount of memory occupied by data, that is, used_memory-used_memory_overhead

Used_memory_dataset_perc: percentage of memory occupied by data, 100% * (used_memory_dataset/ (used_memory-used_memory_startup))

Total_system_memory: entire system memory

Total_system_memory_human: display the entire system memory in a more intuitive and readable format

Memory consumed by used_memory_lua:Lua script storage

Used_memory_lua_human: displays the memory consumed by Lua script storage in a more intuitive and readable format

Maximum memory configuration of maxmemory:Redis instance

Maxmemory_human: displays the maximum memory configuration of a Redis instance in a more intuitive and readable format

Maxmemory_policy: elimination strategy when maxmemory is reached

Mem_fragmentation_ratio: the fragmentation rate of memory. After used_memory_rss/used_memory-4.0, you can use memory purge to manually reclaim memory.

Mem_allocator: memory allocator

Active_defrag_running: indicates that no active defrag task is running, and 1 indicates that there is an active defrag task running (defrag: indicates memory defragmentation)

Lazyfree_pending_objects: indicates the number of keys that the redis performs the lazyfree operation and is waiting for the content to be actually recycled

Thank you for your reading, the above is the content of "how to understand the parameters of the redis info memory command". After the study of this article, I believe you have a deeper understanding of how to understand the parameters of the redis info memory command, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report