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

Detailed explanation of mongodb running state parameters

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

Share

Shulou(Shulou.com)06/01 Report--

Today, the editor will bring you an article on the introduction of parameters in the running state of mongodb. The editor thinks it's pretty good, so I'll share it for you as a reference. Let's follow the editor and have a look.

Inserts/s inserts per second

Number of queries per second by query/s

Update/s updates per second

Number of delete/s deletions per second

Getmore/s executes getmore per second

Command/s has more commands per second than the above inserts, searches, updates and deletions, and counts other commands.

The number of times per second that flushs/s executes fsync to write data to the hard disk.

The amount of data that is mmap in mapped/s, in MB.

Vsize virtual memory usage (in MB)

Res physical memory usage (in MB)

The number of faults/s access failures per second (only Linux has), and the data is swapped out of physical memory and put into swap. Do not exceed 100. otherwise, the machine memory is too small, resulting in frequent swap writes. At this point, you need to upgrade memory or expand

The percentage of time locked% is locked up, try to keep it below 50%.

Percentage of idx miss% index misses. If it is too high, consider whether there is a lack of indexes.

Q t | r | w when Mongodb receives too many commands and the database is locked and cannot be executed, it will queue the commands. This column shows the total length of three queues, read and write, and a value of 0 indicates that the mongo is under no pressure. When there is high concurrency, the general queue value will rise.

Current number of connections to conn

Time timestamp

These are the details of the running status parameters of mongodb. Have you gained anything after reading them? If you want to know more about it, you are welcome to follow the industry information!

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