MONGO Status View method

Source: Internet
Author: User

List some commonly used MongoDB state viewing methods.

1.mongostat

Is the MONGDB's own condition detection tool,

    • INSERTS/S number of insertions per second
    • QUERY/S number of queries per second
    • UPDATE/S Update times per second
    • DELETE/S number of deletions per second
    • GETMORE/S number of Getmore executed per second
    • command/s command number per second, more than the above insert, find, UPDATE, delete more comprehensive, also counted other commands
    • FLUSHS/S the number of times per second that Fsync data is written to the hard disk.
    • MAPPED/S The amount of data that is mmap, in megabytes,
    • Vsize Virtual memory usage, Unit MB
    • Res Physical memory usage, Unit MB
    • FAULTS/S page faults
    • Locked% Locked time percentage
    • IDX Miss% Index Miss percentage, reminder check Index
    • Q t|r|w When MongoDB receives too many commands and the database is locked and cannot be completed, it joins the command to the queue. This column shows the length of the total, read, and write 3 queues, all of which are 0 words MONGO no pressure. When high concurrency occurs, the general queue value is raised.
    • Conn Current number of connections
    • Time timestamp

2.db.stats ()

Get information about the current database, such as total obj, total database size, average obj size, and more

Db. Collection name. Stats ()

View statistics for the current collection

3.db.serverstatus ()

Get the status of the server

4.db.currentop ()

Displays the tasks currently performed by MONGO

5.mongo Web Monitor

6.mongotop

To view the read and write time of a collection

7.mongoperf

Performance testing tools for testing disk IO

MONGO Status View method

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.