MongoDB Performance Monitoring

Source: Internet
Author: User

use /var/soft/mongodb2.2/bin/mongostat--port Port number

can be monitored in real time

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/75/7C/wKiom1Y6CfPBRECHAAJPMpDayMg247.jpg "title=" 1.png " alt= "Wkiom1y6cfpbrechaajpmpdaymg247.jpg"/>

· inserts/s number of insertions per second

· query/s number of queries per second

· update/s Number of updates per second

· delete/s number of deletions per second

· getmore/s executes per second Getmore number of

· command/s the number of commands per second, more than the integration of INSERT, find, UPDATE, delete, also counted the other commands

· flushs/s executes per second Fsync the number of times the data was written to the hard disk.

· mapped/s All are mmap MB ,

· vsize amount of virtual memory used, Unit MB

· Res amount of physical memory used, Unit MB

·faults/snumber of Access failures per second (onlyLinuxdata is swapped out for physical memory and placed inSwap. Do not exceed -, otherwise the machine memory is too small, causing frequentSwapwrite. To upgrade the memory or expand it at this time

· Locked% the percentage of time that is locked, try to control the 50% below it

· idx Miss% the percentage of index misses. If it's too high, consider whether the index is less.

·Q t|r|wwhenMongodbtoo many commands are received and the database is locked and cannot be completed, it will join the command queue. This column shows the total, read, write3the length of each queue is0words indicateMONGOno pressure. When high concurrency occurs, the general queue value is raised.

· Conn Current number of connections

· Time time Stamp

these states we can basically not look at Conn, generally do not change, because the connection pool is connected to the number of connections are fixed. Basically look at the QR|QW,Ar|aw if always 0 indicates very healthy, if dozens of then that means MONGO processing is very slow, there may be slow query, lock table queue and other phenomena.

This article is from the "Zhangdh Open Space" blog, so be sure to keep this source http://linuxblind.blog.51cto.com/7616603/1709793

MongoDB Performance Monitoring

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.