MongoDB db.serverstatus () output content Chinese annotation _mongodb

Source: Internet
Author: User
Tags assert commit exception handling flushes local time mongodb

Version One:

Field Example Value Explanation
Host te.rzw.com:27018 The port that the running instance listens to
Version 1.8.3 Version used by the current instance
Process Mongod Is the current instance Mongod or MONGOs
Uptime 231905 Instance continuous normal running time, unit seconds
Uptimeestimate 223083 Continuous normal running time based on mongodb internal coarse-grained timer
LocalTime Isodate ("2011-10-13t01:47:38.773z") The local time, in UTC time is the calculation standard.
Globallock.totaltime 231905155987 The number of milliseconds since the instance started the global lock creation to now.
Globallock.locktime 9053050 Lock total time since global lock creation, in microseconds
Globallock.ratio 0.0000390377262 Percentage of time locked (locktime/totaltime)
GlobalLock.currentQueue.total 0 Number of currently waiting for global locks
GlobalLock.currentQueue.readers 0 Number of currently waiting read locks
GlobalLock.currentQueue.writers 0 Number of currently pending write locks
GlobalLock.activeClients.total 1 The number of clients connected to the active state of the current instance.
GlobalLock.activeClients.readers 1 How many of the active clients are performing a read operation
GlobalLock.activeClients.writers 0 How many of the active clients are performing a write operation
Mem.resident 6 The total amount of physical memory to be used now, in megabytes
Mem.virtual 17307 The current MongoDB instance uses the virtual memory size, in megabytes, in general, than the Mem.map value, if a large number of very likely memory leaks, if the use of journal, about twice times the map value
mem.maped 8556 MongoDB all the data into memory, so this value can look like the value of the entire data volume.
Mem.bits 64 Number of machine bits, 32-bit or 64-bit
mem.supported True Whether this machine supports memory expansion
Connections.current 2 The number of connections currently active to the local computer
Connections. Available 19998 How much is left to connect
Extra_info. Heap_usage_bytes 521152 Current instance heap size, Unit bytes
Extra_info. Page_faults 569 Number of page faults occurred while loading disk contents
Indexcounters. Btree.accesses 1 Access Index Count
Indexcounters. Btree.hits 1 The number of times the index was hit in memory when the index was accessed
Indexcounters. Btree.misses 0 Index is not the number of hits in memory when accessing the index
Indexcounters. Btree.resets 0 Number of times the index counter was reset
Indexcounters. Btree.missratio 0 Index non-hit ratio
Backgroundflushing.flushes 3864 Instance refreshes data to disk several times
Backgroundflushing.total_ms 15473 Total time spent in flushing to disk, in milliseconds
Backgroundflushing.average_ms 4.004399585921325 Average execution time per refresh
Backgroundflushing.last_ms 3 Last Refresh Execution time
Backgroundflushing.last_finished Isodate ("2011-10-13t01:46:51.184z") Point in time when the last refresh was completed
Cursors.totalopen 1 Current number of cursors
Cursors.timeout 2 The total number of cursor timeouts since the instance was started to now
Network.bytesin 4680778 Byte size sent to the instance
Network.bytesout 4759827 Size of bytes sent out
Repl.setname MySet Name of Replset structure definition
Repl.ismaster True Whether the current instance is a master node in the REPLSET structure
Repl.secondary False Whether the current instance is a secondary node in the Replset structure
Repl.hosts ["te.rzw.com:27018", "te.rzw.com:27019"] Replset of each node in the structure
Opcounters.insert 4 Number of inserts performed since instance started
Opcounters.query 181 Number of query executions since instance started
Opcounters.update 92084 Number of update executions since instance started
Opcounters.delete 0 Number of deletes performed since instance started
Opcounters.getmore 92816 Number of Getmore performed on cursors since instance started
Opcounters.command 316 Number of other actions performed since the instance started
Asserts.regular 0 The number of times the assertion has been normal since the instance started
Asserts.warn 0 The number of assertion warnings since the instance started
Asserts.msg 0 The number of assertion internal errors since the instance started
Asserts.user 134 Number of assertions made since the instance was started by a user using the error caused
Asserts.rollovers 0 The number of times the assertion was flipped
writebacksqueued False In MONGOs, the number of times the operation was redo
Dur.commits 1 Number of submissions to journal files at the most recent interval
Dur.journaledmb 0.008192 At the most recent interval, the Journalr file writes the amount of data, in megabytes
Dur. Writetodatafilesmb 0 The amount of data written to the data file from the journal file at the most recent interval, in MB
Dur. Commitsinwritelock 0 The number of times a write lock was submitted to the journal in the most recent interval. This submission is not recommended
Dur.earlycommits 0 Number of requests submitted before the scheduled time
Dur.timeMs.dt 3045 Journal The frequency of State collection, per millisecond
Dur.timems. Preplogbuffer 0 Time to prepare before writing data to journal, in milliseconds
Dur.timems. writetojournal 2 Time spent writing data to Journal, in milliseconds
Dur.timems. Writetodatafiles 0 Writes data to a data file after writing the journal file takes time, in milliseconds
Dur.timems. Remapprivateview 0 Time spent mapping data back in memory
Ok 1 Whether the serverstatus operation was successfully executed

Version two:

Copy Code code as follows:

MongoDB Shell version:2.0.5
Connecting To:test
{
"Host": "Tencent64.site",--server's hostname
"Version": "2.0.5",--mongo version
"Process": "Mongod",--process name
"Uptime": 1238418,--Start time (unit: S)
"Uptimeestimate": 1230730,--based on mongodb internal coarse granularity timer's Running time
"LocalTime": Isodate ("2012-09-14t09:09:52.657z"),--server local time
"GlobalLock": {
"TotalTime": 1238418105923,--time of global lock creation (in MS microseconds)
"Locktime": 75055831911,--The time of global lock retention (in MS microseconds)
"Ratio": 0.06060621332329477,--locktime and totaltime ratio
"Currentqueue": {
"Total": 0--number of operations in queues waiting for global locks
"Readers": 0--number of operations in queues waiting to read locks
"Writers": 0-Number of operations in queues waiting for write locks
},
"Activeclients": {
"Total": 1--Number of current active client connected to server
"Readers": 1, the number of current active client performing read operations
"Writers": 0--Number of current active client performing write operations
}
},
"Mem": {
"Bits": 64,--64-bit machine
"Resident": 18363--Takes up the amount of physical memory.
"Virtual": 478810,--the amount of fictitious memory consumed
' Supported ': TRUE,--extended memory is supported
"Mapped": 233311, the size of the data file mapped to memory, very close to the size of all your databases.
"Mappedwithjournal": 466622,
' Note ': ' virtual minus mapped is large. Could indicate a memory leak "
},
"Connections": {
"Current": 737,--the currently active connection amount. Current number of active connections to the server
"Available": 82--The remaining idle connection amount. Number of available connections remaining
},
"Extra_info": {
"Note": "Fields vary by platform",
"Heap_usage_bytes": 3838448--The number of heap bytes in this procedure. Only available for Linux
"Page_faults": 31058356-The total number of failed accesses to an in-memory page in this procedure. Only available for Linux
},
"Indexcounters": {
"Btree": {
"Accesses": 68229146, number of accesses to--btree index (index is accessed)
"Hits": 68229146, the number of btree pages in memory. (Index hit amount)
"Misses": 0--the number of btree that do not exist in memory. (Index deviation amount) (Number of index memory access failures)
"Resets": 0--number of times the index counter is reset to 0
"Missratio": 0-Index deviation rate (not hit)
}
},
"Backgroundflushing": {
"Flushes": 20640--the number of times the database has been flushed to disk
"Total_ms": 2453287,--the number of microseconds spent by the database to refresh data to disk
"Average_ms": 118.8608042635659--average number of microseconds spent performing a single refresh
"Last_ms": 1--the number of microseconds spent on the last finish refresh data to disk
"Last_finished": Isodate ("2012-09-14t09:09:35.656z")--timestamp when last refresh data is complete
},
"Cursors": {
"Totalopen": 0,--server for client-maintained cursors (cursor) total
"Clientcursors_size": 0,--
"TimedOut": Total number of cursors (cursor) timeouts since--server started
},
"Network": {
"Bytesin": Numberlong ("1929833164782")--total amount of data sent to the database (bytes)
"Bytesout": 553137147925--total data emitted by the database (bytes)
"Numrequests": 2475184328--Number of requests sent to the database
},
"Opcounters": {
Insert: 687531883, the total amount of insert data since--server started
"Query": 711010343, the total number of query data since--server started
"Update": 0, Total update data amount since--server started
"Delete": 0,--server total Delete data since startup
"Getmore": 6484, total number of Getmore calls to any cursor since--server started
Command: 1287537--server The total number of other commands performed since startup
},
"asserts": {
"Regular": 0,--server throws a formal assertion (assert similar to exception handling form) totals since startup
"Warning": 1, total number of alarms thrown since--server started
"MSG": 0--Number of message assertions. Good string error defined within the server
' User ': 4--Number of user assertions. User-generated errors, such as: Disk space full, duplicate key.
"rollovers": 0--server since the start, assert counters have rolled over the number of times
},
' writebacksqueued ': false,--whether there are retry actions performed from MONGOs
"Dur": {
"Commits": 30--the number of times a commit was journal log in the previous interval
"JOURNALEDMB": 0--The amount of data written to the journal log in the previous interval (in MB)
"WRITETODATAFILESMB": 0,--the amount of data written to the data file in the previous interval journal log (in MB)
"Compression": 0,--
"Commitsinwritelock": 0,--number of commits occurred during write lock
"Earlycommits": 0,--schedule the number of times before the request for a commit
"Timems": {
"DT": 3064,
"Preplogbuffer": 0--the time spent preparing to write the journal log
"Writetojournal": 0,--The actual time spent writing the journal Log
"Writetodatafiles": 0,--journal time spent writing data files after logging
"Remapprivateview": 0--the amount of time spent remapping copy-on-write memory mapped views
}
},
"OK": 1--serverstatus is returned correctly
}

Related Article

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.